Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing several seconds of many videos #5941

Closed
l0b0 opened this issue Jun 9, 2015 · 1 comment
Closed

Missing several seconds of many videos #5941

l0b0 opened this issue Jun 9, 2015 · 1 comment

Comments

@l0b0
Copy link

@l0b0 l0b0 commented Jun 9, 2015

It looks like there's some issue with timestamp handling:

$ youtube-dl --version
2015.06.04.1
$ youtube-dl --verbose  'http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 3.4.3 - Linux-4.0.5-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3, rtmpdump 2.4
[debug] Proxy map: {}
[ted] ken_robinson_says_schools_kill_creativity: Downloading webpage
[ted] ken_robinson_says_schools_kill_creativity: Extracting information
[ted] ken_robinson_says_schools_kill_creativity: Downloading m3u8 information
[debug] Invoking downloader on 'http://hls.ted.com/talks/66/video/1500k.m3u8'
[download] Destination: How schools kill creativity-66.fhls-3016.mp4
ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.1.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-shared --enable-version3 --enable-x11grab
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://hls.ted.com/talks/66/video/1500k.m3u8':
  Duration: 00:19:21.23, start: 10.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48 tbc
    Stream #0:1: Data: timed_id3 (ID3  / 0x20334449)
Output #0, mp4, to 'How schools kill creativity-66.fhls-3016.mp4.part':
  Metadata:
    encoder         : Lavf56.25.101
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 24 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x7ffb3f2b3080] Non-monotonous DTS in output stream 0:0; previous: 1076250, current: 0; changing to 1076251. This may result in incorrect timestamps in the output file.
[mp4 @ 0x7ffb3f2b3080] Non-monotonous DTS in output stream 0:0; previous: 1076251, current: 3000; changing to 1076252. This may result in incorrect timestamps in the output file.
[...]

This seems to happen on all TED videos, and results in skipped frames around the 11th second in at least two videos I downloaded.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 10, 2015

Looks like TED.com is serving problematic files. A workaround can be -f best:

youtube-dl --verbose -f best 'http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.