How can i solve the error in VideoWriter in R2015a?

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Dinesh Iyer
Dinesh Iyer il 30 Ott 2015
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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by