how to compress any video by using H.264 compression standard ....
26 次查看(过去 30 天)
显示 更早的评论
can any one suggest me that how to compress a video by using h.264 compression standard in matlab.... thank u in advance
0 个评论
回答(1 个)
YT
2019-2-5
编辑:YT
2019-2-5
v = VideoWriter('my-video.mp4','MPEG-4'); %uses h264 encoding
v.Quality = 80; %video quality
open(v);
writeVideo(v,myDataMatrix);
close(v);
2 个评论
Guillaume
2019-2-5
Stricly speaking MPEG-4 can use other codecs than H.264. However, the documentation for VIdeoWriter does state that matlab uses H.264 for MPEG-4.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!