Edit MP4 play speed using videoReader/Writer

조회 수: 10 (최근 30일)
Matt J
Matt J 2020년 6월 20일
편집: Matt J 2022년 1월 2일
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
Matt J
Matt J 2020년 6월 25일
Maybe a better question is, does VideoWriter even have the capability to add an audio track to an output MP4 file?
Walter Roberson
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 CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by