[FFmpeg-user] Copied Video and Audio Way Out of Sync

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Aug 8 23:14:36 EEST 2021


Am So., 8. Aug. 2021 um 22:13 Uhr schrieb Wayne <wwaag76 at olypen.com>:
>
> Here's the simple command line I'm using to copy part of an mp4 file to
> a new file.
>
> ffmpeg -ss 6.6401 -i inFile.mp4 -to 17.6679 -c copy outFile.mp4

Complete, uncut console output missing.

> Since the seek position does not fall on a keyframe, the video stream of
> the copied file starts on the preceding keyframe which is OK.  However,
> the audio stream begins at the actual seek time in the command line.

> The result is a file which is way out of sync.

Forever? Or only (with some playback applications) when playback starts?

Carl Eugen


More information about the ffmpeg-user mailing list