ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.64k stars 9.97k forks source link

[Issue] Arte TV link "ERROR: rtmpdump exited with code 1" #1557

Closed wwark closed 10 years ago

wwark commented 11 years ago

Dear Support,

I want to report one url with issue for Arte TV.

youtube-dl http://www.arte.tv/guide/fr/049313-000/the-perfect-american?autoplay=1

[arte.tv] 049313-000: Downloading webpage [arte.tv] 049313-000: Downloading info json [arte.tv] 049313-000: Extracting information [download] Destination: The Perfect American-049313-000_PLUS7-F.flv [rtmpdump] 0 bytes

ERROR: rtmpdump exited with code 1

Best regards, Wark.

jaimeMF commented 11 years ago

Could you post the output of youtube-dl 'http://www.arte.tv/guide/fr/049313-000/the-perfect-american?autoplay=1' -v, it's working fine for me

wwark commented 11 years ago

youtube-dl 'http://www.arte.tv/guide/fr/049313-000/the-perfect-american?autoplay=1' -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.arte.tv/guide/fr/049313-000/the-perfect-american?autoplay=1', '-v'] [debug] youtube-dl version 2013.10.01.1 [debug] Python version 3.3.2 - Linux-3.11.2-1-ARCH-x86_64-with-arch [debug] Proxy map: {} [arte.tv] 049313-000: Downloading webpage [arte.tv] 049313-000: Downloading info json [arte.tv] 049313-000: Extracting information [download] Destination: The Perfect American-049313-000_PLUS7-F.flv [debug] rtmpdump command line: rtmpdump --verbose -r rtmp://artestras.fcod.llnwd.net/a3903/o35/ -o 'The Perfect American-049313-000_PLUS7-F.flv.part' --playpath 'mp4:geo/videothek/ALL/tvguide/049313-000-A_SQ_2_VF-STF_00715795_MP4-2200_AMM-Tvguide.mp4?e=1380916067&h=f1ea16ab739f98b78a521896422ee387' --resume --skip 1 RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 0 DEBUG: Parsed host : artestras.fcod.llnwd.net DEBUG: Parsed app : a3903/o35 DEBUG: Number of skipped key frames for resume: 1 DEBUG: Protocol : RTMP DEBUG: Hostname : artestras.fcod.llnwd.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:geo/videothek/ALL/tvguide/049313-000-A_SQ_2_VF-STF_00715795_MP4-2200_AMM-Tvguide.mp4?e=1380916067&h=f1ea16ab739f98b78a521896422ee387 DEBUG: tcUrl : rtmp://artestras.fcod.llnwd.net:1935/a3903/o35 DEBUG: app : a3903/o35 DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: duration, NUMBER: 7297.05> DEBUG: Property: <Name: moovPosition, NUMBER: 32.00> DEBUG: Property: <Name: width, NUMBER: 1280.00> DEBUG: Property: <Name: height, NUMBER: 720.00> DEBUG: Property: <Name: videocodecid, STRING: avc1> DEBUG: Property: <Name: audiocodecid, STRING: mp4a> DEBUG: Property: <Name: avcprofile, NUMBER: 77.00> DEBUG: Property: <Name: avclevel, NUMBER: 31.00> DEBUG: Property: <Name: aacaot, NUMBER: 2.00> DEBUG: Property: <Name: videoframerate, NUMBER: 25.00> DEBUG: Property: <Name: audiosamplerate, NUMBER: 48000.00> DEBUG: Property: <Name: audiochannels, NUMBER: 2.00> DEBUG: Property: <Name: trackinfo, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 182426000.00> DEBUG: Property: <Name: timescale, NUMBER: 25000.00> DEBUG: Property: <Name: language, STRING: und> DEBUG: Property: <Name: sampledescription, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: avc1> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 350258176.00> DEBUG: Property: <Name: timescale, NUMBER: 48000.00> DEBUG: Property: <Name: language, STRING: und> DEBUG: Property: <Name: sampledescription, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: mp4a> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: File has duration: 7297.045000 DEBUG: bAudioOnly: 0, size: 14376960 ERROR: Last tag size must be greater/equal zero (prevTagSize=1025521551) and smaller then filesize, corrupt file! DEBUG: Failed to get last keyframe. DEBUG: Closing connection.

[rtmpdump] 14376960 bytesRTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 0 DEBUG: Parsed host : artestras.fcod.llnwd.net DEBUG: Parsed app : a3903/o35 DEBUG: Number of skipped key frames for resume: 1 DEBUG: Protocol : RTMP DEBUG: Hostname : artestras.fcod.llnwd.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:geo/videothek/ALL/tvguide/049313-000-A_SQ_2_VF-STF_00715795_MP4-2200_AMM-Tvguide.mp4?e=1380916067&h=f1ea16ab739f98b78a521896422ee387 DEBUG: tcUrl : rtmp://artestras.fcod.llnwd.net:1935/a3903/o35 DEBUG: app : a3903/o35 DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: duration, NUMBER: 7297.05> DEBUG: Property: <Name: moovPosition, NUMBER: 32.00> DEBUG: Property: <Name: width, NUMBER: 1280.00> DEBUG: Property: <Name: height, NUMBER: 720.00> DEBUG: Property: <Name: videocodecid, STRING: avc1> DEBUG: Property: <Name: audiocodecid, STRING: mp4a> DEBUG: Property: <Name: avcprofile, NUMBER: 77.00> DEBUG: Property: <Name: avclevel, NUMBER: 31.00> DEBUG: Property: <Name: aacaot, NUMBER: 2.00> DEBUG: Property: <Name: videoframerate, NUMBER: 25.00> DEBUG: Property: <Name: audiosamplerate, NUMBER: 48000.00> DEBUG: Property: <Name: audiochannels, NUMBER: 2.00> DEBUG: Property: <Name: trackinfo, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 182426000.00> DEBUG: Property: <Name: timescale, NUMBER: 25000.00> DEBUG: Property: <Name: language, STRING: und> DEBUG: Property: <Name: sampledescription, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: avc1> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 350258176.00> DEBUG: Property: <Name: timescale, NUMBER: 48000.00> DEBUG: Property: <Name: language, STRING: und> DEBUG: Property: <Name: sampledescription, STRICT_ARRAY> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: mp4a> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: File has duration: 7297.045000 DEBUG: bAudioOnly: 0, size: 14376960 ERROR: Last tag size must be greater/equal zero (prevTagSize=1025521551) and smaller then filesize, corrupt file! DEBUG: Failed to get last keyframe. DEBUG: Closing connection.

ERROR: rtmpdump exited with code 1 File "/usr/bin/youtube-dl", line 6, in youtube_dl.main() File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 687, in main _real_main(argv) File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 671, in _real_main retcode = ydl.download(all_urls) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 588, in download videos = self.extract_info(url) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 349, in extract_info return self.process_ie_result(ie_result, download=download) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 379, in process_ie_result self.process_info(ie_result) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 563, in process_info success = self.fd._do_download(filename, info_dict) File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 411, in _do_download info_dict.get('tc_url', None)) File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 329, in _download_with_rtmpdump self.report_error(u'rtmpdump exited with code %d' % retval) File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 165, in report_error self.ydl.report_error(_args, *_kargs) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 227, in report_error self.trouble(error_message, tb) File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 194, in trouble tb_data = traceback.format_list(traceback.extract_stack())

phihag commented 11 years ago

Works fine for me as well, from multiple locations and with multiple debian as well as arch versions. Where are you physically located? Can you reproduce the problem on another machine / with another internet connection?

wwark commented 10 years ago

Hello,

I live in France. I'll try with another connection.

Regards,

wwark commented 10 years ago

Hello,

I tried with another connection and it worked. My connection was bad i think ...

Regards,