flammable_liquid
01-09-2013, 03:24 AM
Hi rtmpdump gurus - I'd be grateful for any assistance with the following.
I'm trying to use rtmpdump to grab the video at:
LINK (http://au.news.yahoo.com/video/national/watch/847a324b-eb63-3a32-ad73-12b127a13403/kokoda-diggers-return/)
If I play it and then inspect my Firefox cache, I see the following URL which appears to query Y*hoo's video server for the relevant RTMP options:
LINK (http://video.query.yahoo.com/v1/public/yql?q=SELECT%20*%20FROM%20yahoo.media.video.stream s%20WHERE%20id%3D%22847a324b-eb63-3a32-ad73-12b127a13403%22%20AND%20format%3D%22mp4%2Cflv%22%2 0AND%20protocol%3D%22rtmp%2Chttp%22%20AND%20plrs%3 D%22BWlm06EMd3OXwtNv.b2bMI%22%20AND%20offnetwork%3 D%22false%22%20AND%20site%3D%22aunews%22%20AND%20l ang%3D%22en-AU%22%20AND%20region%3D%22AU%22%20AND%20override%3 D%22none%22%3B&env=prod&format=json&callback=YUI.Env.JSONP.yui_3_4_1_4_1357438371303_5 35)
If I open this URL directly in my browser, it returns a text only string as follows:
http://pastebin.com/mm1fF11y
This string includes an rtmp:// URL, so I tried to grab the video with rtmpdump and some of the information in the string:
rtmpdump -V -o test.flv \
-r "rtmp://c-b56c0eaab2164819d504329d680760db.a-ch7news.i-cbad0b71.rtmp.atlas.cdn.yimg.com/ch7news/7_qld_news/7_qld_top/1102_1800_qld_diggers_1200_18971jv-18971k1?b=13280&d=+y+847a324b-eb63-3a32-ad73-12b127a13403+Mm5rMjRtcDhjbGtqaiZiPTMmcz1rbA--+atlas+ca&dt=us+us_t+vid+b+cdn+cat&m=video%2fmp4&ns=ps+ss&ps=BWlm06EMd3OXwtNv.b2bMI&ss=cfeb9bea-d773-4593-af9b-14a1bb2b993d&x=1357462945&" \
--swfVfy "http://l.yimg.com/rx/builds/3.6.6.8916/assets/player.swf" \
-p "http://au.news.yahoo.com/video/national/watch/847a324b-eb63-3a32-ad73-12b127a13403/kokoda-diggers-return/"
The debug output of this is here:
http://pastebin.com/dXC3V7xF
The connection initially succeeds but then fails at some point after the handshake. I tried several variations of app name as well as explicitly specifying the path but these all failed in much the same way.
Are there any variables in the string above that I should be passing as AMF data? If so, which ones and how?
Thanks,
FL
I'm trying to use rtmpdump to grab the video at:
LINK (http://au.news.yahoo.com/video/national/watch/847a324b-eb63-3a32-ad73-12b127a13403/kokoda-diggers-return/)
If I play it and then inspect my Firefox cache, I see the following URL which appears to query Y*hoo's video server for the relevant RTMP options:
LINK (http://video.query.yahoo.com/v1/public/yql?q=SELECT%20*%20FROM%20yahoo.media.video.stream s%20WHERE%20id%3D%22847a324b-eb63-3a32-ad73-12b127a13403%22%20AND%20format%3D%22mp4%2Cflv%22%2 0AND%20protocol%3D%22rtmp%2Chttp%22%20AND%20plrs%3 D%22BWlm06EMd3OXwtNv.b2bMI%22%20AND%20offnetwork%3 D%22false%22%20AND%20site%3D%22aunews%22%20AND%20l ang%3D%22en-AU%22%20AND%20region%3D%22AU%22%20AND%20override%3 D%22none%22%3B&env=prod&format=json&callback=YUI.Env.JSONP.yui_3_4_1_4_1357438371303_5 35)
If I open this URL directly in my browser, it returns a text only string as follows:
http://pastebin.com/mm1fF11y
This string includes an rtmp:// URL, so I tried to grab the video with rtmpdump and some of the information in the string:
rtmpdump -V -o test.flv \
-r "rtmp://c-b56c0eaab2164819d504329d680760db.a-ch7news.i-cbad0b71.rtmp.atlas.cdn.yimg.com/ch7news/7_qld_news/7_qld_top/1102_1800_qld_diggers_1200_18971jv-18971k1?b=13280&d=+y+847a324b-eb63-3a32-ad73-12b127a13403+Mm5rMjRtcDhjbGtqaiZiPTMmcz1rbA--+atlas+ca&dt=us+us_t+vid+b+cdn+cat&m=video%2fmp4&ns=ps+ss&ps=BWlm06EMd3OXwtNv.b2bMI&ss=cfeb9bea-d773-4593-af9b-14a1bb2b993d&x=1357462945&" \
--swfVfy "http://l.yimg.com/rx/builds/3.6.6.8916/assets/player.swf" \
-p "http://au.news.yahoo.com/video/national/watch/847a324b-eb63-3a32-ad73-12b127a13403/kokoda-diggers-return/"
The debug output of this is here:
http://pastebin.com/dXC3V7xF
The connection initially succeeds but then fails at some point after the handshake. I tried several variations of app name as well as explicitly specifying the path but these all failed in much the same way.
Are there any variables in the string above that I should be passing as AMF data? If so, which ones and how?
Thanks,
FL