Skip to content

Instantly share code, notes, and snippets.

@mk-pmb
Created October 9, 2017 23:33
Show Gist options
  • Save mk-pmb/aad06a34de8a9c06bb5e94de53ca728e to your computer and use it in GitHub Desktop.
Save mk-pmb/aad06a34de8a9c06bb5e94de53ca728e to your computer and use it in GitHub Desktop.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--no-call-home', u'--abort-on-error', u'--no-overwrites', u'--keep-video', u'--restrict-filenames', u'--prefer-ffmpeg', u'--verbose', u'https://egghead.io/lessons/████']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2017.10.07
[debug] Git HEAD: 8f05b37
[debug] Python version 2.7.6 - Linux-3.13.0-133-generic-i686-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.20-6, avprobe 9.20-6, ffmpeg 3.3.3, ffprobe 3.3.3
[debug] Proxy map: {'http': 'http://████/', 'https': 'http://████/'}
[egghead:lesson] ████: Downloading JSON metadata
WARNING: [egghead:lesson] Cannot find an proper ID, will use lesson name URL slug
[egghead:lesson] ████: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on u'https://████.cloudfront.net/████-████/video_480p_████-████.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 33
[download] Destination: ████.fhls-412.m3u8
[download] 0.1% of ~1.45MiB at 26.54KiB/s ETA 20:27
[…]
[download] 100% of 4.44MiB in 00:40
[debug] Invoking downloader on u'https://████.cloudfront.net/████-████/audio_████-████.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 33
[download] Destination: ████.faudio_group-████.m3u8
[download] 0.0% of ~2.02MiB at 16.37KiB/s ETA 34:43
[…]
[download] 100% of 2.00MiB in 00:39
[ffmpeg] Merging formats into "████.mkv"
[debug] ffmpeg command line: ffmpeg -y -i 'file:████.fhls-412.m3u8' -i 'file:████.faudio_group-████.m3u8' -c copy -map '0:v:0' -map '1:a:0' 'file:████.temp.mkv'
ERROR: file:████.fhls-412.m3u8: Invalid data found when processing input
Traceback (most recent call last):
File "/mnt/…/ytdl-rg3/youtube_dl/YoutubeDL.py", line 2026, in post_process
files_to_delete, info = pp.run(info)
File "/mnt/…/ytdl-rg3/youtube_dl/postprocessor/ffmpeg.py", line 479, in run
self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args)
File "/mnt/…/ytdl-rg3/youtube_dl/postprocessor/ffmpeg.py", line 204, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError: file:████.fhls-412.m3u8: Invalid data found when processing input
@mk-pmb
Copy link
Author

mk-pmb commented Oct 9, 2017

Additional info:

$ ffprobe ████.fhls-412.m3u8
[…]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb3637c0] could not find corresponding track id 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb3637c0] could not find corresponding trex
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb3637c0] error reading header
████.fhls-412.m3u8: Invalid data found when processing input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment