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

youtube-dl corrupts .m4a file with ffmpeg invocation after downloading the file. #26029

Closed
calinb7 opened this issue Jul 17, 2020 · 1 comment
Closed

Comments

@calinb7
Copy link

@calinb7 calinb7 commented Jul 17, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

$ youtube-dl -v -f 140 https://www.youtube.com/watch?v=bO6EGn890h0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'140', u'https://www.youtube.com/watch?v=bO6EGn890h0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 2.7.13 (CPython) - Linux-4.19.0-1-amd64-x86_64-with-MX-18.3-Continuum
[debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17
[debug] Proxy map: {}
[youtube] bO6EGn890h0: Downloading webpage
[youtube] bO6EGn890h0: Downloading m3u8 information
[youtube] bO6EGn890h0: Downloading MPD manifest
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/dash/expire/1594996520/ei/yGIRX4XTFtGMkwbjkbCgCA/ip/67.107.227.13/id/bO6EGn890h0.1/source/yt_live_broadcast/requiressl/yes/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/force_finished/1/vprv/1/keepalive/yes/fexp/23883098/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cforce_finished%2Cvprv%2Citag%2Cplaylist_type/sig/AOq0QJ8wRgIhAPVDd0k0CL4am-W80zqztRp8z1k1hB6jhUzYadrCTF6bAiEA1eXO1gErMQRd3fABwPCpJRPwFJHsX9dMIz0Zjfw8jM4%3D'
[dashsegments] Total fragments: 387
[download] Destination: Unleashing The Beast - How Trump Green-Lit CIA Global Secret War-bO6EGn890h0.m4a
[download] 100% of 29.97MiB in 00:02
[ffmpeg] Correcting container in "Unleashing The Beast - How Trump Green-Lit CIA Global Secret War-bO6EGn890h0.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:Unleashing The Beast - How Trump Green-Lit CIA Global Secret War-bO6EGn890h0.m4a' -c copy -f mp4 'file:Unleashing The Beast - How Trump Green-Lit CIA Global Secret War-bO6EGn890h0.temp.m4a'

Description

Audio file downloads and if youtube-dl is terminated with ctl-C before it attempts to invoke ffmpeg to "correct" the m4a container, the audio can be salvaged. Otherwise the file is severely truncated and perhaps corrupted in other ways. See the end of the verbose youtube-dl output above beginning with

"[ffmpeg] Correcting container in ..."

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 17, 2020

outdated FFmpeg version.

@remitamine remitamine closed this Jul 17, 2020
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.