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

[TVPlay] Stream is 0 bytes and RTMPDump fails #5464

Closed
clb92 opened this issue Apr 18, 2015 · 2 comments
Closed

[TVPlay] Stream is 0 bytes and RTMPDump fails #5464

clb92 opened this issue Apr 18, 2015 · 2 comments

Comments

@clb92
Copy link

@clb92 clb92 commented Apr 18, 2015

I was trying to download an episode of Robinson Ekspeditionen from tv3play.dk. Some episodes fail (like this one), while others download just fine. The broken episodes play just fine on the website.

To reproduce the error, you may have to use a VPN to spoof that you're in Denmark.

Here's the verbose output:

C:\>youtube-dl.exe --verbose http://www.tv3play.dk/programmer/robinson-ekspeditionen/428797?autostart=true
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.tv3play.dk/programmer/robinson-ekspeditionen/428797?autostart=true']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.04.17
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-68500-g3ba1050, ffprobe N-68500-g3ba1050, rtmpdump 2.3
[debug] Proxy map: {}
[TVPlay] 428797: Downloading video JSON
WARNING: [TVPlay] This content might not be available in your country due to copyright reasons
[TVPlay] 428797: Downloading streams JSON
[debug] Invoking downloader on u'rtmp://mtgxflash.mtgx.tv/mtgx-vod'
[download] Destination: Robinson Ekspeditionen S16E01-428797.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://mtgxflash.mtgx.tv/mtgx-vod -o 'Robinson Ekspeditionen S16E01-428797.flv.part' --app mtgx-vod --playpath mp4:pitcher/V3xxxx/V352xx/V35233/0000005208/1_0/V35233_mtgx.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.3
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : mtgxflash.mtgx.tv
[rtmpdump] DEBUG: Parsed app     : mtgx-vod
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : mtgxflash.mtgx.tv
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:pitcher/V3xxxx/V352xx/V35233/0000005208/1_0/V35233_mtgx.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://mtgxflash.mtgx.tv:1935/mtgx-vod
[rtmpdump] DEBUG: app      : mtgx-vod
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.3
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : mtgxflash.mtgx.tv
[rtmpdump] DEBUG: Parsed app     : mtgx-vod
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : mtgxflash.mtgx.tv
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:pitcher/V3xxxx/V352xx/V35233/0000005208/1_0/V35233_mtgx.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://mtgxflash.mtgx.tv:1935/mtgx-vod
[rtmpdump] DEBUG: app      : mtgx-vod
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.


ERROR: rtmpdump exited with code 1
  File "__main__.py", line 19, in <module>
  File "youtube_dl\__init__.pyo", line 404, in main
  File "youtube_dl\__init__.pyo", line 394, in _real_main
  File "youtube_dl\YoutubeDL.pyo", line 1451, in download
  File "youtube_dl\YoutubeDL.pyo", line 662, in extract_info
  File "youtube_dl\YoutubeDL.pyo", line 708, in process_ie_result
  File "youtube_dl\YoutubeDL.pyo", line 1155, in process_video_result
  File "youtube_dl\YoutubeDL.pyo", line 1384, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 1359, in dl
  File "youtube_dl\downloader\common.pyo", line 341, in download
  File "youtube_dl\downloader\rtmp.pyo", line 205, in real_download
  File "youtube_dl\downloader\common.pyo", line 154, in report_error
  File "youtube_dl\YoutubeDL.pyo", line 529, in report_error
  File "youtube_dl\YoutubeDL.pyo", line 491, in trouble

Here's the verbose result of a successful download of one of the other episodes:

C:\>youtube-dl.exe --verbose http://www.tv3play.dk/programmer/robinson-ekspeditionen/478493?autostart=true
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.tv3play.dk/programmer/robinson-ekspeditionen/478493?autostart=true']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.04.17
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-68500-g3ba1050, ffprobe N-68500-g3ba1050, rtmpdump 2.3
[debug] Proxy map: {}
[TVPlay] 478493: Downloading video JSON
WARNING: [TVPlay] This content might not be available in your country due to copyright reasons
[TVPlay] 478493: Downloading streams JSON
[TVPlay] 478493: Downloading f4m manifest
[debug] Invoking downloader on u'http://mtgxdk02-vh.akamaihd.net/z/open/201411/06/V35248_mtgx_01704d1a_,48,260,460,900,1800,2800,.mp4.csmil/manifest.f4m?hdcore=3.5.0&plugin=aasp-3.5.0.151.81'
[download] Downloading f4m manifest
[download] Destination: Robinson Ekspeditionen S16E13-478493.flv
[download] 100% of 1.18GiB in 04:12
@MrBrax
Copy link

@MrBrax MrBrax commented Nov 10, 2015

Same problem here, on older tv6play shows.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Dec 10, 2016

works using the latest version:

[mtg] 428797: Downloading video JSON
[mtg] 428797: Downloading streams JSON
[mtg] 428797: Downloading m3u8 information
[mtg] 428797: Downloading f4m manifest
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 358
[download] Destination: Robinson Ekspeditionen S16E01-428797.mp4
[download]   0.2% of ~483.83MiB at 91.77KiB/s ETA 01:32:23
@remitamine remitamine closed this Dec 10, 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
4 participants
You can’t perform that action at this time.