[FFmpeg-user] What is the correct way to cut the video with ffmpeg?
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 21 12:02:52 CEST 2016
桃源老師 <xanadu6291 <at> dream.jp> writes:
> The resulting video playbacks fine with ffplay and VLC
So there is no problem for which you are searching for a solution?
> except QuickTime Player have approx. 2 seconds black screen on start.
The reason could be different start times for audio and video,
it does not sound related to key frames.
It is generally correct that with "-codec copy" video can only be
cut on key frames. For h264, it may no be so easy to define a
"key frame", valid h264 streams without key frames exist, it should
still be possible to cut them.
Carl Eugen
More information about the ffmpeg-user
mailing list