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

3sat/ZDF youtube-dl ignores the width-argument #8342

Closed
w4grfw opened this issue Jan 28, 2016 · 1 comment
Closed

3sat/ZDF youtube-dl ignores the width-argument #8342

w4grfw opened this issue Jan 28, 2016 · 1 comment

Comments

@w4grfw
Copy link

@w4grfw w4grfw commented Jan 28, 2016

marc@ralphie:~/Downloads$ youtube-dl -F 'http://www.3sat.de/mediathek/index.php?mode=play&obj=56471'
[3sat] 56471: Downloading video info
[3sat] 56471: Downloading SMIL file
[3sat] 56471: Downloading f4m manifest
[3sat] 56471: Downloading m3u8 information
[info] Available formats for 56471:
format code                          extension  resolution note
h264_aac_ts_http_m3u8_http-meta      mp4        multiple   Quality selection URL 
h264_aac_3gp_rtsp_na_na-low          3gp        240x136    h264@  68k, aac  , 13.91MiB
h264_aac_3gp_http_na_na-low          3gp        240x136    h264@  68k, aac  , 13.91MiB
h264_aac_mp4_rtsp_mov_http-low       mov        320x176    h264@ 133k, aac  , 20.48MiB
h264_aac_mp4_http_na_na-low          mp4        320x176    h264@ 133k, aac  , 20.48MiB
h264_aac_3gp_rtsp_na_na-med          3gp        320x176    h264@ 133k, aac  , 24.46MiB
h264_aac_3gp_http_na_na-med          3gp        320x176    h264@ 133k, aac  , 24.46MiB
vp8_vorbis_webm_http_na_na-low       webm       320x176    vp8@ 186k, vorbis, 25.77MiB
h264_aac_3gp_rtsp_na_na-high         3gp        320x176    h264@ 186k, aac  , 30.05MiB
h264_aac_3gp_http_na_na-high         3gp        320x176    h264@ 186k, aac  , 30.05MiB
h264_aac_mp4_rtsp_mov_http-high      mov        480x272    h264@ 380k, aac  , 46.73MiB
h264_aac_mp4_http_na_na-high         mp4        480x272    h264@ 380k, aac  , 46.73MiB
h264_aac_3gp_rtsp_na_na-veryhigh     3gp        480x272    h264@ 380k, aac  , 51.44MiB
h264_aac_3gp_http_na_na-veryhigh     3gp        480x272    h264@ 380k, aac  , 51.44MiB
vp8_vorbis_webm_http_na_na-high      webm       640x360    vp8@ 680k, vorbis, 76.45MiB
vp8_vorbis_webm_http_na_na-veryhigh  webm       852x480    vp8@1400k, vorbis, 149.76MiB
h264_aac_mp4_rtsp_mov_http-veryhigh  mov        852x480    h264@1400k, aac  , 155.04MiB
h264_aac_mp4_http_na_na-veryhigh     mp4        852x480    h264@1400k, aac  , 155.04MiB
h264_aac_ts_http_m3u8_http-55        mp4        unknown      55k , mp4a.40.2
rtmp-62                              flv        unknown      62k 
rtmpt-62                             flv        unknown      62k 
h264_aac_f4f_http_f4m_http-188       flv        unknown     188k 
h264_aac_ts_http_m3u8_http-188       mp4        320x176     188k , avc1.77.30,  mp4a.40.2
h264_aac_f4f_http_f4m_http-436       flv        unknown     436k 
h264_aac_ts_http_m3u8_http-436       mp4        480x272     436k , avc1.77.30,  mp4a.40.2
h264_aac_f4f_http_f4m_http-607       flv        unknown     607k 
h264_aac_ts_http_m3u8_http-607       mp4        640x360     607k , avc1.77.30,  mp4a.40.2
rtmp-700                             flv        unknown     700k 
rtmpt-700                            flv        unknown     700k 
h264_aac_f4f_http_f4m_http-1461      flv        unknown    1461k 
h264_aac_ts_http_m3u8_http-1461      mp4        852x480    1461k , avc1.77.30,  mp4a.40.2
rtmp-1700                            flv        unknown    1700k 
rtmpt-1700                           flv        unknown    1700k 
h264_aac_f4f_http_f4m_http-2266      flv        unknown    2266k 
h264_aac_ts_http_m3u8_http-2266      mp4        1024x576   2266k , avc1.77.30,  mp4a.40.2
h264_aac_f4f_http_f4m_http-3271      flv        unknown    3271k 
h264_aac_ts_http_m3u8_http-3271      mp4        1280x720   3271k , avc1.77.30,  mp4a.40.2
rtmp-3400                            flv        unknown    3400k 
rtmpt-3400                           flv        unknown    3400k  (best)
marc@ralphie:~/Downloads$ youtube-dl -v 'http://www.3sat.de/mediathek/index.php?mode=play&obj=56471'
[debug] System config: []
[debug] User config: [u'-f', u'[width<=?720]']
[debug] Command-line args: [u'-v', u'http://www.3sat.de/mediathek/index.php?mode=play&obj=56471']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.01.27
[debug] Python version 2.7.10 - Linux-4.2.0-25-generic-i686-with-Ubuntu-15.10-wily
[debug] exe versions: ffmpeg 2.7.5-0ubuntu0.15.10.1, ffprobe 2.7.5-0ubuntu0.15.10.1, rtmpdump 2.4
[debug] Proxy map: {}
[3sat] 56471: Downloading video info
[3sat] 56471: Downloading SMIL file
[3sat] 56471: Downloading f4m manifest
[3sat] 56471: Downloading m3u8 information
[debug] Invoking downloader on u'rtmpt://cp125301.edgefcs.net'
[download] Destination: Was macht die Zeit, wenn sie vergeht-56471.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmpt://cp125301.edgefcs.net -o 'Was macht die Zeit, wenn sie vergeht-56471.flv.part' --app ondemand --playpath mp4:3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 1
[rtmpdump] DEBUG: Parsed host    : cp125301.edgefcs.net
[rtmpdump] WARNING: No application or playpath in URL!
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPT
[rtmpdump] DEBUG: Hostname : cp125301.edgefcs.net
[rtmpdump] DEBUG: Port     : 80
[rtmpdump] DEBUG: Playpath : mp4:3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpt://cp125301.edgefcs.net:80/ondemand
[rtmpdump] DEBUG: app      : ondemand
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Type Answer   : 03
[rtmpdump] DEBUG: HandShake: Server Uptime : 1384093537
[rtmpdump] DEBUG: HandShake: FMS Version   : 5.0.7.1
[rtmpdump] WARNING: HandShake: client signature does not match!
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: HandleServerBW: server BW = 1250000
[rtmpdump] DEBUG: HandleClientBW: client BW = 1250000 2
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             fmsVer, STRING:  FMS/5,0,7,7055>
[rtmpdump] DEBUG: Property: <Name:       capabilities, NUMBER:  127.00>
[rtmpdump] DEBUG: Property: <Name:               mode, NUMBER:  1.00>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetConnection.Connect.Success>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Connection succeeded.>
[rtmpdump] DEBUG: Property: <Name:     objectEncoding, NUMBER:  0.00>
[rtmpdump] DEBUG: Property: <Name:               data, ECMA_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:            version, STRING:  5,0,7,7055>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <connect>
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: Invoking createStream
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onBWDone>
[rtmpdump] DEBUG: Invoking _checkbw
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <createStream>
[rtmpdump] DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4
[rtmpdump] DEBUG: Invoking play
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 20515 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream IsRecorded 1
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream Begin 1
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Play.Reset>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Playing and resetting 3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4.>
[rtmpdump] DEBUG: Property: <Name:            details, STRING:  3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4>
[rtmpdump] DEBUG: Property: <Name:           clientid, STRING:  pAAwQusA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onStatus>
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 236 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:  status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Play.Start>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:  Started playing 3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4.>
[rtmpdump] DEBUG: Property: <Name:            details, STRING:  3sat/16/01/160127_zeitvergeht_ard_3256k_p15v12.mp4>
[rtmpdump] DEBUG: Property: <Name:           clientid, STRING:  pAAwQusA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onStatus>
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
[rtmpdump] Starting download at: 0.000 kB
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 24 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: ignoring too small audio packet: size: 0
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 44 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:               code, STRING:  NetStream.Data.Start>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 534 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:           duration, NUMBER:  886.96>
[rtmpdump] DEBUG: Property: <Name:       moovPosition, NUMBER:  32.00>
[rtmpdump] DEBUG: Property: <Name:              width, NUMBER:  1280.00>
[rtmpdump] DEBUG: Property: <Name:             height, NUMBER:  720.00>
[rtmpdump] DEBUG: Property: <Name:       videocodecid, STRING:  avc1>
[rtmpdump] DEBUG: Property: <Name:       audiocodecid, STRING:  mp4a>
[rtmpdump] DEBUG: Property: <Name:         avcprofile, NUMBER:  77.00>
[rtmpdump] DEBUG: Property: <Name:           avclevel, NUMBER:  31.00>
[rtmpdump] DEBUG: Property: <Name:             aacaot, NUMBER:  2.00>
[rtmpdump] DEBUG: Property: <Name:     videoframerate, NUMBER:  25.00>
[rtmpdump] DEBUG: Property: <Name:    audiosamplerate, NUMBER:  22050.00>
[rtmpdump] DEBUG: Property: <Name:      audiochannels, NUMBER:  2.00>
[rtmpdump] DEBUG: Property: <Name:               tags, ECMA_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:           cprt-deu, STRING:  (c) 2016 3sat>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: Property: <Name:          trackinfo, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             length, NUMBER:  886920.00>
[rtmpdump] DEBUG: Property: <Name:          timescale, NUMBER:  1000.00>
[rtmpdump] DEBUG: Property: <Name:           language, STRING:  deu>
[rtmpdump] DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:         sampletype, STRING:  avc1>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             length, NUMBER:  39114891.00>
[rtmpdump] DEBUG: Property: <Name:          timescale, NUMBER:  44100.00>
[rtmpdump] DEBUG: Property: <Name:           language, STRING:  deu>
[rtmpdump] DEBUG: Property: <Name:  sampledescription, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:         sampletype, STRING:  mp4a>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] INFO: Metadata:
[rtmpdump] INFO:   duration              886.96
[rtmpdump] INFO:   moovPosition          32.00
[rtmpdump] INFO:   width                 1280.00
[rtmpdump] INFO:   height                720.00
[rtmpdump] INFO:   videocodecid          avc1
[rtmpdump] INFO:   audiocodecid          mp4a
[rtmpdump] INFO:   avcprofile            77.00
[rtmpdump] INFO:   avclevel              31.00
[rtmpdump] INFO:   aacaot                2.00
[rtmpdump] INFO:   videoframerate        25.00
[rtmpdump] INFO:   audiosamplerate       22050.00
[rtmpdump] INFO:   audiochannels         2.00
[rtmpdump] INFO: tags:
[rtmpdump] INFO:   cprt-deu              (c) 2016 3sat
[rtmpdump] INFO: trackinfo:
[rtmpdump] INFO:   length                886920.00
[rtmpdump] INFO:   timescale             1000.00
[rtmpdump] INFO:   language              deu
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO:   sampletype            avc1
[rtmpdump] INFO:   length                39114891.00
[rtmpdump] INFO:   timescale             44100.00
[rtmpdump] INFO:   language              deu
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO:   sampletype            mp4a
[download] 75.23KiB at Unknown speed (00:03)^C
ERROR: Interrupted by user
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 28, 2016

-f [width<=?720] chooses the best format whose width <= 720 or is missing. Format rtmpt-3400 does not have a width information:

rtmpt-3400                           flv        unknown    3400k  (best)

So it's picked.

@yan12125 yan12125 closed this Jan 28, 2016
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.