How can i solve the error in VideoWriter in R2015a?

2 次查看(过去 30 天)
I am getting error that "The specified profile is not valid line 168 of VideoWriter" then how can I write a video in Matlab 2015a version.

回答(1 个)

Dinesh Iyer
Dinesh Iyer 2015-10-30
The profile name is the second argument that you provide to VideoWriter. It basically tells VideoWriter what kind of file you are trying to write.
The error indicates that you are attempting to write a profile that is not supported. The only case that can happen is if you are attempting to write an MPEG-4 file on Linux. The other reason could be that you have specified the profile incorrectly, possibly a typo.
As you have not provided any code or any other information about which platform you are working on, I don't have any other suggestions.
Hope this helps.
Dinesh

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by