[rtmpdump] rtmpdump not working with dailymotion
Nicolas George
nicolas.george at normalesup.org
Thu Jan 19 16:52:53 CET 2012
Hi.
Since about last week, dailymotion gives rtmpe:// links instead of HTTP
links, but rtmpdump seems unable to handle them.
Steps to reproduce:
1. Get a dailymotion page, and grep for the URL:
curl -s http://www.dailymotion.com/video/xnqokq_nisemonogatari-ep01-remplacement_shortfilms | grep 'addVariable.*hqURL' > hqurl
2. Edit hqurl, keep only the part between hqURL and hd720URL, unescape. The
reslut looks like that:
http://www.dailymotion.com/cdn/H264-848x480/video/xnqokq.mp4?cell=secure-vod&auth=1327156245-97fa5df4c0ab51ed84edbc9a6c2b1f3d
3. Get the file, it is a simple text file holding an URL:
curl http://www.dailymotion.com/cdn/H264-848x480/video/xnqokq.mp4[...]
rtmpe://vod-02.dailymotion.com/video/mp4:470/678/39876074:mp4_h264_aac_hq.mp4?auth=1326990735-585a75e52b1a4f7fb0ffbe07376b4122
4. Use rtmpdump:
rtmpdump -o blah.mp4 -r rtmpe://vod-02...
Result:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
And blah.mp4 is empty.
Any idea on how to fix that?
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20120119/35d81e60/attachment.asc>
More information about the rtmpdump
mailing list