Maybe a better question is, does VideoWriter even have the capability to add an audio track to an output MP4 file?
Edit MP4 play speed using videoReader/Writer
2 次查看(过去 30 天)
显示 更早的评论
I have an MP4 file of a narrated Powerpoint presentation and I would like to edit the file so that it plays back at a higher default speed. I am wondering if there were a way to do this using videoReader and videoWriter. One approach that I was considering was to read in all the frames with videoReader and then re-write the frames to a new file with a higher framerate setting. However, I'm not sure what I would need to do to make sure the audio track is correspondingly accelerated.
2 个评论
Walter Roberson
2022-1-2
编辑:Matt J
2022-1-2
https://www.mathworks.com/help/vision/ref/vision.videofilewriter-system-object.html is the only function that can write combined audio and video to a file.
回答(0 个)
另请参阅
类别
在 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!