[FFmpeg-user] concat a/v desync (only in MPC-HC)

basinilya at gmail.com basinilya at gmail.com
Thu Feb 4 09:26:08 EET 2021


I tried both `cat` and `-i "concat..."`, but they produce the same artifact in MPC-HC.

I guess the audio PTS from the second chunk is adjusted relative to the video duration of the first chunk.

On 03.02.2021 1:05, Carl Eugen Hoyos wrote:
> Am Di., 2. Feb. 2021 um 22:18 Uhr schrieb Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>>> Am 02.02.2021 um 20:09 schrieb basinilya at gmail.com:
>>>
>>> I'm concatenating .ts chunks intended for an HLS player into a single .mp4 video.
>> You should instead concatenate all ts chunks into a single transport stream:
>> $ cat 1.ts 2.ts 3.ts > out.ts
> Or use the concat protocol instead of the concat demuxer.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list