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

[Go] Unnecessarily verbose FFmpeg output #13551

Open
nyuszika7h opened this issue Jul 3, 2017 · 7 comments
Open

[Go] Unnecessarily verbose FFmpeg output #13551

nyuszika7h opened this issue Jul 3, 2017 · 7 comments
Labels

Comments

@nyuszika7h
Copy link
Contributor

@nyuszika7h nyuszika7h commented Jul 3, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.07.02

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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 -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

Since adding -v generates additional console output, I will provide both verbose and non-verbose console output:

Verbose log
nyuszika7h@panlyn ~ % youtube-dl -v --ignore-config 'http://watchdisneychannel.go.com/andi-mack/video/vdka3727119/01/01-13'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', 'http://watchdisneychannel.go.com/andi-mack/video/vdka3727119/01/01-13']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.02
[debug] Python version 3.6.1+ - Linux-4.4.0-43-Microsoft-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 3.3.2-1, ffprobe 3.3.2-1, rtmpdump 2.4
[debug] Proxy map: {}
[Go] vdka3727119: Downloading JSON metadata
[debug] Using fake IP 3.210.223.193 (US) as X-Forwarded-For.
[Go] VDKA3727119: Downloading JSON metadata
[Go] VDKA3727119: Downloading m3u8 information
[debug] Invoking downloader on 'http://content-aeuf1.uplynk.com/b4594ce3d0b7447a9e43dbfa2128f450/j.m3u8?exp=1499075032&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10087805&iph=5f72106d5f10622d58c00a02db5f9015572ad88a12d556f4ede6918b51c26703&rays=jihgfedcb&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=c288780569bf6898bf9ad1d8d8246a929571bfde637f92ffdf44cacd49d2673d&pbs=1f50607d8d064a4eb22e72db53bff2f5'
[download] Destination: S1 E1 - 13-VDKA3727119.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
X-Forwarded-For: 3.210.223.193
' -i 'http://content-aeuf1.uplynk.com/b4594ce3d0b7447a9e43dbfa2128f450/j.m3u8?exp=1499075032&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10087805&iph=5f72106d5f10622d58c00a02db5f9015572ad88a12d556f4ede6918b51c26703&rays=jihgfedcb&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=c288780569bf6898bf9ad1d8d8246a929571bfde637f92ffdf44cacd49d2673d&pbs=1f50607d8d064a4eb22e72db53bff2f5' -c copy -f mp4 'file:S1 E1 - 13-VDKA3727119.mp4.part'
ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000000.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'https://content-aeuf1.uplynk.com/check2?b=b4594ce3d0b7447a9e43dbfa2128f450&v=b4594ce3d0b7447a9e43dbfa2128f450&r=j&pbs=1f50607d8d064a4eb22e72db53bff2f5' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000000.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[mpegts @ 0x7ffff7f5d5a0] parser not found for codec timed_id3, packets or times may be invalid.
[h264 @ 0x7ffff7f5dce0] Reinit context to 1280x720, pix_fmt: yuv420p
Input #0, hls,applehttp, from 'http://content-aeuf1.uplynk.com/b4594ce3d0b7447a9e43dbfa2128f450/j.m3u8?exp=1499075032&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10087805&iph=5f72106d5f10622d58c00a02db5f9015572ad88a12d556f4ede6918b51c26703&rays=jihgfedcb&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=c288780569bf6898bf9ad1d8d8246a929571bfde637f92ffdf44cacd49d2673d&pbs=1f50607d8d064a4eb22e72db53bff2f5':
  Duration: 00:24:59.63, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1280x720, 23.98 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:S1 E1 - 13-VDKA3727119.mp4.part':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (High), 1 reference frame ([33][0][0][0] / 0x0021), yuv420p(left), 1280x720 (0x0), q=2-31, 23.98 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (HE-AAC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Automatically inserted bitstream filter 'aac_adtstoasc'; args=''
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000001.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000001.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000002.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000002.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000003.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000003.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000004.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000004.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000005.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000005.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000006.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000006.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7ffff7f0d8a0] HLS request for url 'http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000007.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0', offset 0, playlist 0
[hls,applehttp @ 0x7ffff7f0d8a0] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000007.ts?pbs=1f50607d8d064a4eb22e72db53bff2f5&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&si=0' for reading
^Cframe=  668 fps= 39 q=-1.0 Lsize=   11781kB time=00:00:28.03 bitrate=3442.8kbits/s speed=1.63x
video:11333kB audio:438kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.086118%
Input file #0 (http://content-aeuf1.uplynk.com/b4594ce3d0b7447a9e43dbfa2128f450/j.m3u8?exp=1499075032&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10087805&iph=5f72106d5f10622d58c00a02db5f9015572ad88a12d556f4ede6918b51c26703&rays=jihgfedcb&euid=C5B4DF9A-2D28-42FE-9841-4078C1C2A82C_000_0_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=c288780569bf6898bf9ad1d8d8246a929571bfde637f92ffdf44cacd49d2673d&pbs=1f50607d8d064a4eb22e72db53bff2f5):
  Input stream #0:0 (audio): 658 packets read (448562 bytes);
  Input stream #0:1 (video): 668 packets read (11604637 bytes);
  Input stream #0:2 (data): 8 packets read (488 bytes);
  Total: 1334 packets (12053687 bytes) demuxed
Output file #0 (file:S1 E1 - 13-VDKA3727119.mp4.part):
  Output stream #0:0 (video): 668 packets muxed (11604637 bytes);
  Output stream #0:1 (audio): 658 packets muxed (448562 bytes);
  Total: 1326 packets (12053199 bytes) muxed
Exiting normally, received signal 2.

ERROR: Interrupted by user
Non-verbose log
1 nyuszika7h@panlyn ~ % youtube-dl --ignore-config 'http://watchdisneychannel.go.com/andi-mack/video/vdka3727119/01/01-13'
[Go] vdka3727119: Downloading JSON metadata
[Go] VDKA3727119: Downloading JSON metadata
[Go] VDKA3727119: Downloading m3u8 information
[download] Destination: S1 E1 - 13-VDKA3727119.mp4
ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[hls,applehttp @ 0x7fffd6b22860] Opening 'https://content-aeuf2.uplynk.com/check2?b=b4594ce3d0b7447a9e43dbfa2128f450&v=b4594ce3d0b7447a9e43dbfa2128f450&r=j&pbs=844db35aab0c4d348d668425d13c01e3' for reading
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000000.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
Input #0, hls,applehttp, from 'http://content-aeuf2.uplynk.com/b4594ce3d0b7447a9e43dbfa2128f450/j.m3u8?exp=1499075132&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10087805&iph=215aa527fb4ee1f791ba71f2064711593c5966885b28af1db6d3c23cac1552a1&rays=jihgfedcb&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&ddp=1&sig=6e5ee4834f8b18f48a7769e304e80a68146e217ddeb27ea5d4596dad1f726008&pbs=844db35aab0c4d348d668425d13c01e3':
  Duration: 00:24:59.63, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 23.98 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:S1 E1 - 13-VDKA3727119.mp4.part':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 23.98 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (HE-AAC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000001.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000002.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000003.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000004.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
[hls,applehttp @ 0x7fffd6b22860] Opening 'crypto+http://x-disney-datg-stgec.uplynk.com/80C078/ausc/slices/b45/21885d134fa441488df8e1d7acee8c66/b4594ce3d0b7447a9e43dbfa2128f450/J00000005.ts?pbs=844db35aab0c4d348d668425d13c01e3&euid=F5CAA7F4-3C41-46F8-8287-675910000910_000_0_001_lf_03-06-00_NA&si=0' for reading
^C^C
ERROR: Interrupted by user

Description of your issue, suggested solution and other information

The FFmpeg console output is too verbose when downloading from go.com (Watch Disney) even when -v is not used. There are no problems with the download though, it completes successfully.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 3, 2017

Seems an ffmpeg issue in 3.3.2. In my memory there are no such messages in older ffmpeg.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 3, 2017

Relevant commit in ffmpeg: FFmpeg/FFmpeg@4e6de49

I'm not sure why ffmpeg wants to print all filenames. And youtube-dl can't switch the default log level to warning as progress will vanish.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 3, 2017

Ah, seems that's a reaction to a previous security issue in ffmpeg. (#8227)

@nyuszika7h nyuszika7h changed the title Unnecessarily verbose FFmpeg output for go.com [Go] Unnecessarily verbose FFmpeg output Sep 30, 2017
@forthrin
Copy link

@forthrin forthrin commented Mar 14, 2019

This patch resolves the issue.

index 5f73f7f..5c8e3b6 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -231,6 +231,8 @@ class FFmpegFD(ExternalFD):
 
-        for log_level in ('quiet', 'verbose'):
-            if self.params.get(log_level, False):
-                args += ['-loglevel', log_level]
-                break
+        if self.params.get('quiet', False):
+            args += ['-loglevel', 'quiet']
+        elif self.params.get('verbose', False):
+            args += ['-loglevel', 'verbose']
+        else:
+            args += ['-loglevel', 'warning', '-stats']
 
@corporate-gadfly
Copy link

@corporate-gadfly corporate-gadfly commented Apr 9, 2019

FWIW, on macOS, with Homebrew, I used brew edit youtube-dl and added the following line:

patch :DATA

with a section at the end of the file which had the patch itself:

__END__
index 5f73f7f..5c8e3b6 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -231,6 +231,8 @@ class FFmpegFD(ExternalFD):

-        for log_level in ('quiet', 'verbose'):
-            if self.params.get(log_level, False):
-                args += ['-loglevel', log_level]
-                break
+        if self.params.get('quiet', False):
+            args += ['-loglevel', 'quiet']
+        elif self.params.get('verbose', False):
+            args += ['-loglevel', 'verbose']
+        else:
+            args += ['-loglevel', 'warning', '-stats']

and then issued brew reinstall youtube-dl -s. After that the -q switch to youtube-dl worked.

Can this patch be applied in the main stream of code?

@forthrin
Copy link

@forthrin forthrin commented Apr 9, 2019

I don't know the method you're describing. I just do "git apply <file>" in the directory where I've cloned the Git project and where file contains the patch. Also, I've submitted this patch as a pull request.

@corporate-gadfly
Copy link

@corporate-gadfly corporate-gadfly commented Apr 10, 2019

Thx @forthrin . I clarified my comment to say that the comment applies to Homebrew (a package manager for macOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.