Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Downloading not working correctly with tve.cdn.turner.com #15564
Comments
|
Seeing this exact same issue on http://www.tntdrama.com/shows/animal-kingdom/season-3/episode-1/the-killing using version 2018.05.30, except the "Non-monotonous DTS" messages start around the 8 minute mark, which I believe may be at or around the first commercial break. It seems to be in part a ffmpeg issue, because if you feed ffmpeg the .m3u8 filename and let it run, at some point it will print "[mpegts @ 0x690ffc0] DTS 126000 < 48204078 out of order4.22 bitrate=3230.8kbits/s speed=6.88x" followed by "[hls,applehttp @ 0x67ecb00] DTS 126000 < 48204078 out of order" and then start the continuous error messages such as "[mp4 @ 0x7a1fb00] Non-monotonous DTS in output stream 0:1; previous: 23559168, current: -354; changing to 23559169. This may result in incorrect timestamps in the output file." And that is with ffmpeg 4.0. As with the report above, I have no problem on other sites. |
|
One more note on this. The m3u8 file that is being downloaded starts out like this: #EXTM3U .... and so on, until it gets to a place that looks like this: #EXTINF:6.0060, ..... and so on for this segment, until it gets to ..... #EXTINF:6.0060, The point is that I suspect that lines such as #EXTINF:2.1021, Are what is causing the problem - if they could be ignored or fixed then maybe this problem would not occur. Unfortunately when ffmpeg is downloading the first segment it prints out lines such as "Opening 'crypto+https://tve.cdn.turner.com/tnt/6161f00c5785fe1a6ebe535a990fffa2/layer7/seg-0_00177.ts' for reading" (that's from the issue report above) and the "crypto+https" makes me suspect that ffmpeg is doing something more than simply downloading .ts files and concatenating them. |
|
After a bit more research into this, I believe the following links are pertinent with regard to ffmpeg: https://trac.ffmpeg.org/ticket/5419 |
|
superseded by #16083. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I'm trying to download a movie from http://www.tntdrama.com/movies specifically http://www.tntdrama.com/movies/maleficent. At time=00:17:50 it starts displaying the error message "Non-monotonous DTS in output stream 0:1;". If I let it continue to download the entire video, and try to play it, any video player I try (e.g. Kaffeine, Dragon Player, etc.) shows the video is only 17 minutes 50 seconds long and stops playing at that point. If I try to skip past that point, the picture freezes and the sound is like fast forwarding through. I tried with ffmpeg version 3.3.4, and also with version 3.4.1. I tried --hls-prefer-native and passing some options to ffmpeg (e.g. -copyts and other options having to do with timestamps) and nothing works.youtube-dl works fine on other sites.