How can i solve the error in VideoWriter in R2015a?

2 ビュー (過去 30 日間)
Charmi Patel
Charmi Patel 2015 年 10 月 29 日
回答済み: Dinesh Iyer 2015 年 10 月 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

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by