Applying "SWFVerification Type 2 request not supported" patch to latest Git versionHello to everyone on the forum.
I applied the patch attached http://lists.mplayerhq.hu/pipermail/...attachment.bin in this message in the rtmpdump mailing list http://lists.mplayerhq.hu/pipermail/...er/001578.html on the latest Git version and compiled rtmpdump in Windows for downloading the Daily Show stream on the Comedy Central website. It does not work while my compiled version of the latest Git does but the download stops at about 15-20% of the file. Resuming works so I can download the whole file if I run rtmpdump 6-7 times but the file is sometimes corrupted (small skips presumably at the points rtmpdump resumes the download). After comparing all the latest (2011-08-12) Git source with and without the patch applied the only difference was a line in "rtmp.c" Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x01) Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x02) |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiHello,
you need the "rtmpdump_swfverficiation_fallback.patch". Have a look here: http://lists.mplayerhq.hu/pipermail/...er/001581.html You can download the patch in this thread: http://web.archiveorange.com/archive...hTQOPdWMEHNd8q |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiThanks
I missed the second patch. I applied it as well and again rtmpdump does not even start the download with error: Code:
ERROR: RTMP_ReadPacket, failed to read RTMP packet header Code:
rtmpdump --flv "ds_16119_act1_768x432_1720.mp4" --resume --rtmp "rtmpe://cp9950.edgefcs.net/ondemand/mtvnorigi |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiI guess this is the correct URL for your specific episode:
hXXp://www.thedailyshow.com/full-episodes/wed-september-21-2011-mitch-daniels At the moment only the server "viacomccstrmfs.fplive.net" needs the patched version. You can test it with this command line (I had -no- download errors using this server): Code:
rtmpdump -r "rtmpe://viacomccstrmfs.fplive.net/viacomccstrm/gsp.comedystor/com/dailyshow/TDS/season_16/episode_119/ds_16119_act1_768x432_1720.mp4" -W "http://media.mtvnservices.com/player/prime/mediaplayerprime.1.9.2.swf" -o "ds_16119_act1_768x432_1720.mp4" If you want to use the server "cp9950.edgefcs.net" you don't need the patched version of RTMPdump at all. The patched version even fails if you don't remove the "--swfVfy / -W" parameter... This command line worked with my patched version of RTMPDump (However I had the same download errors you spoke of): Code:
rtmpdump -r "rtmpe://cp9950.edgefcs.net/ondemand/mtvnorigin/gsp.comedystor/com/dailyshow/TDS/season_16/episode_119/ds_16119_act1_768x432_1720.mp4" -e -o "ds_16119_act1_768x432_1720.mp4" |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiYes I got that after playing with the servers again but thanks for the help :) .
The reason I didn't try viacomccstrmfs.fplive.net to begin with was because it stopped to work a couple of months back for me with RTMPdump. I thought it was a geolocation thing or something and didn't think much of it, now they seem to only use that server for their videos with the website as confirmed by URLSnooper. The acts to use are 1-4 for anyone interested, its the same every day. Sometimes when the interviews are posted in full on the web Code:
rtmpe://viacomccstrmfs.fplive.net/viacomccstrm/gsp.comedystor/com/dailyshow/TDS/season_16/episode_119/ds_16119_exclusive1_768x432_1720.mp4 I will play around with this a bit more in a couple of days, and also try a couple of servers they used in the past and post whatever I come up with here. Judging from how little the code was changed to get very different results on the same servers, a version that can work on both is probably just a couple of tweaks away. Do the developers read this forum or should I post on the mailing list? And is this important enough to post there or am I splitting hairs? |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiHmm. I can't see "very different results". Despite the errors I had downloading from the server "cp9950.edgefcs.net", the file was absolutely identical with the file I downloaded from the server "viacomccstrmfs.fplive.net". I used Windows file compare to verify that.
Yes, the developers do read the forum but I wouldn't bother them with that :) |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiQuote:
The files are identical. Quote:
|
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiQuote:
|
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiQuote:
And here to add to the confusion I found a server that from what I can tell works for both without problems (cp10740.edgefcs.net), the download finishes both times. Code:
rtmpdump --flv "ds_16119_act1_768x432_1720.mp4" --resume --rtmp "rtmpe://cp10740.edgefcs.net/ondemand/mtvnorigin/gsp.comedystor/com/dailyshow/TDS/season_16/episode_119/ds_16119_act1_768x432_1720.mp4" --swfVfy "http://media.mtvnservices.com/player/prime/mediaplayerprime.1.9.2.swf" |
Re: Applying "SWFVerification Type 2 request not supported" patch to latest Git versiIs this patch good for Hulu?
I used link below, Code:
rtmpdump -r "rtmpe://hulufs.fplive.net:1935/hulu/491/14753491" -a "hulu/491/14753491" -f "LNX 11,0,1,152" -W "http://www.hulu.com/site-player/116946/playerwrapper.swf" -p "http://www.hulu.com/watch/61600/surface-episode-1-pilot#x-0,vepisode,1,0" -C Z: -y "mp4:agave14753491_4836598_H264_650.mp4" -o mp4_agave14753491_4836598_H264_650.flv -V Code:
DEBUG: Property: <Name: level, STRING: error> |
All times are GMT -6. The time now is 02:34 AM. |