October 24, 2011

FFmpeg, Cut to frame, same audio

MP4 is sometimes needed to fix mp3 headers
ffmpeg -i in.avi -c copy in.mp4

Encode to FFVhuff
ffmpeg -ss 1:31:0 -t 0:4:0 -i in.mp4 -c:v ffvhuff -c:a copy FFVhuff.mkv

Get cut values with Avidemux
ffmpeg -ss 26.818 -t 5.682 -i FFVhuff.mkv -c:a copy -threads 6 out.mkv

Links

stackoverflow.com/questions/4839303/convert-image-sequence-to-lossless-movie

No comments:

Post a Comment