[FFmpeg-user] Using ffmpeg with youtube-dl: Non-monotonous DTS in output stream

Tefl Zuren sjx2170 at hotmail.com
Sun Dec 16 01:04:13 EET 2018

youtube-dl still uses ffmpeg with the options you suggested: WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
so it yields the same result
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Moritz Barsnick <barsnick at gmx.net>
Sent: Saturday, December 15, 2018 8:49 AM
To: FFmpeg user discussions
Subject: Re: [FFmpeg-user] Using ffmpeg with youtube-dl: Non-monotonous DTS in output stream

On Sat, Dec 15, 2018 at 01:45:44 +0000, Tefl Zuren wrote:
> youtube-dl https://www.tntdrama.com/movies/a-christmas-story

Unfortunately, probably for geographical reasons, I can't access that

> [TBS] 4b2d9001ea25d41c9ff0d15c6c9f899af96d333f: Downloading m3u8 information
> [download] Destination: A Christmas Story.mp4

This this is an MPEG-TS m3u8, can you try downloading the raw file?

$ youtube-dl --hls-prefer-native --hls-use-mpegts --no-part --fixup never https://www.tntdrama.com/movies/a-christmas-story

This *should* grab the original MPEG-TS segments and only reassemble
them by concatenation, without remuxing.

(youtube-dl will give the file the suffix .mp4, but it's actually an

Then see if you can play that file successfully beyond the 20:26 point.

OTOH, remuxing that file with ffmpeg should show the same issues as you
reported. Gyan's suggestion may help.

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list