Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Cannot capture ITV streamsI just tried to download this ITV video and it gets stuck at the ITV logo. It downloads a short clip with the logo animation and then keeps repeating and repeating the attempt to download it, with errors like this:
Code:
# iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT # rtmpsrv RTMP Server v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEaVdfcqcDanbEb7bvcTapaOcGdKdya9cvbQaUckcpb3aycNbjbnced_cpbZaQb5aj-brvBf7-eS-bAr3ICwjyswq&aifp=v002&slist=production/" -a "ondemand?auth=eaEaVdfcqcDanbEb7bvcTapaOcGdKdya9cvbQaUckcpb3aycNbjbnced_cpbZaQb5aj-brvBf7-eS-bAr3ICwjyswq&aifp=v002&slist=production/" -f "LNX 11,2,202,275" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf?v=12.18.4" -p "https://www.itv.com" -y "mp4:production/priority/stings/12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.mp4" -o 12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.flv Closing connection... done! RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://www.itv.com/mediaplayer/ITVMediaPlayer.swf?v=12.18.4 Connecting ... WARNING: HandShake: Type mismatch: client sent 6, server answered 8 INFO: Connected... rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEaVdfcqcDanbEb7bvcTapaOcGdKdya9cvbQaUckcpb3aycNbjbnced_cpbZaQb5aj-brvBf7-eS-bAr3ICwjyswq&aifp=v002&slist=production/" -a "ondemand?auth=eaEaVdfcqcDanbEb7bvcTapaOcGdKdya9cvbQaUckcpb3aycNbjbnced_cpbZaQb5aj-brvBf7-eS-bAr3ICwjyswq&aifp=v002&slist=production/" -f "LNX 11,2,202,275" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf?v=12.18.4" -p "https://www.itv.com" -y "mp4:production/priority/stings/12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.mp4" -o 12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.flv Closing connection... done! Is there a workaround to this problem? Can someone please have a go and let me know if they can download it? |
#2
|
|||
|
|||
Re: Cannot capture ITV streamsCode:
>rtmpdump -r "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdEcAbFagb9dubRc9bxckc La_dlcYazcrb_brdBcMaUdMcOaed.a4dkcObEbtbsdf-brvC8p-eS-4zs2DAtkwuwq&aifp=v002&sli st=production/" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -y "mp4: production/priority/rtmpecatchup/1200/32/2-1926-0001-003/2-1926-0001-003_broadch urch_tx040313_itv1200_16x9-reg.mp4" -o "4.flv" RTMPDump v2.4 GIT-2012-12-09 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: Type mismatch: client sent 6, server answered 9 INFO: Connected... Starting download at: 0.000 kB INFO: Metadata: INFO: duration 2783.24 INFO: moovPosition 32.00 INFO: audiocodecid mp4a INFO: width 704.00 INFO: height 396.00 INFO: videocodecid avc1 INFO: avcprofile 77.00 INFO: avclevel 31.00 INFO: aacaot 2.00 INFO: audiosamplerate 48000.00 INFO: audiochannels 2.00 INFO: videoframerate 25.00 INFO: trackinfo: INFO: length 133595136.00 INFO: timescale 48000.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a INFO: length 69581000.00 INFO: timescale 25000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 9271.568 kB / 63.36 sec (2.2%) |
#3
|
|||
|
|||
Re: Cannot capture ITV streamsThanks!
It seems that my iptables redirect command no longer works. I recall that some versions ago the iptables rules changed and it no longer accepts the redirect rule: Code:
# iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT # /sbin/iptables -L -v -n | grep 1935 # |
#4
|
|||
|
|||
Re: Cannot capture ITV streamstry use windows
|
#5
|
|||
|
|||
Re: Cannot capture ITV streamsQuote:
|
#6
|
|||
|
|||
Re: Cannot capture ITV streamsThank you karlo2105,
The problem is with my firewall. The iptables syntax suggested in the link you provided no longer works on my setup. I'm reading up now to find out how to change the syntax to make it work. Otherwise, if I were to use the /etc/hosts file to add the rtmpe address, instead of a iptables rule to achieve redirection, where would I be able to retrieve this rtmpe address from? |
#7
|
|||
|
|||
Re: Cannot capture ITV streamsNo it isn't! I looked into it further. The PC firewall redirection rule is created and applied. Doing some testing I can confirm that rtmpsrv works - but only on some servers! It seems that ITV and Channel 4 are recently having a problem with my set up - or should I say that my setup is no longer working with these servers.
I could really do with some help to troubleshoot this please guys. Here's a summary to date. I can capture with rtmpsrv and download with rtmpdump videos like this: http://www.channel5.com/shows/extrao...episode-13-150 but cannot either capture all the headers or download videos from ITV or Channel 4, like this: https://www.itv.com/itvplayer/broadc...es-1/episode-1 When I start playing videos (recently) from ITV or Channel 4, rtmpsrv gets stuck at the advert server playpath. The main video headers never show up. All I get is: Code:
# rtmpsrv RTMP Server v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEddcRbxb9bYdBcQdiada9dDdZdObuaMdmavdHbqdOa.bCcidJdXa3b3d3aLbOajdE-brvUhY-eS-7zp2FBokvuDr&aifp=v002&slist=production/" -a "ondemand?auth=eaEddcRbxb9bYdBcQdiada9dDdZdObuaMdmavdHbqdOa.bCcidJdXa3b3d3aLbOajdE-brvUhY-eS-7zp2FBokvuDr&aifp=v002&slist=production/" -f "LNX 11,2,202,275" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf?v=12.18.4" -p "https://www.itv.com/itvplayer/broadchurch/series-1/episode-1" -y "mp4:production/priority/stings/12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.mp4" -o 12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.flv Closing connection... done! RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: Type mismatch: client sent 6, server answered 8 INFO: Connected... Duplicate request, skipping. Closing connection... done! ERROR: RTMP_ReadPacket, failed to read RTMP packet header Code:
$ rtmpdump -r "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdEcAbFagb9dubRc9bxckcLa_dlcYazcrb_brdBcMaUdMcOaed.a4dkcObEbtbsdf-brvC8p-eS-4zs2DAtkwuwq&aifp=v002&slist=production/" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -y "mp4:production/priority/rtmpecatchup/1200/32/2-1926-0001-003/2-1926-0001-003_broadchurch_tx040313_itv1200_16x9-reg.mp4" -o "4.flv" RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: Type mismatch: client sent 6, server answered 9 INFO: Connected... ERROR: rtmp server sent error ERROR: rtmp server requested close Short of going now to buy a MSWindows OS just to run an application that was written for Linux (thanks chap ) is there something in what I posted that can point to a problem and ideally a solution for the errors I've been getting? After all if it works with older streams from channel 5, but not recent streams from ITV or Channel 4 it has to be something to do with the harndshakes and headers that these servers exchange - yes? In case this is related: I've also tried rtmpsuck but can't get it to work with any server. It fails to capture the playpath even on old channel 5 videos that rtmpsrv/dump work: Code:
WARNING: HandShake: Type mismatch: client sent 6, server answered 8 Processing connect app: a800/o10?videoId=919379405001&lineUpId=&pubId=19582164001&playerId=1707001744001&affiliateId= flashVer: LNX 11,2,202,275 swfUrl: http://admin.brightcove.com/viewer/us20130328.1037/connection/ExternalConnection_2.swf tcUrl: rtmpe://bt.fcod.llnwd.net:1935/a800/o10?videoId=919379405001&lineUpId=&pubId=19582164001&playerId=1707001744001&affiliateId= pageUrl: http://www.channel5.com/shows/extraordinary-dogs/episodes/episode-13-150 ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... done! |
#8
|
|||
|
|||
Re: Cannot capture ITV streamsTry with rtmpsuck.
|
#9
|
|||
|
|||
Re: Cannot capture ITV streamsYou probably missed it. I can't get rtmpsuck to work at all.
Quote:
|
#10
|
|||
|
|||
Re: Cannot capture ITV streamstry use latest version rtmpdump
Code:
http://ffmpeg.zeranoe.com/builds/source/external_libraries/rtmpdump-20121230-git-df6c518.tar.xz episode-13-150 example Code:
rtmpdump -r "rtmpe://bt.fcod.llnwd.net:1935/a800/o10" -a "a800/o10" -y "mp4:videos/19582164001/19582164001_919573411001_b17-C5153270013A4-H264-1500-16x9.mp4?e=1364721723&h=dd695d3f03f9de308c2e53ef7dbdb531&__nn__=659726446001" -o "4.flv" ITV need to change the link manually(new auth=bla,bla,bla)-otherwise download not work(Whatever you do not use) Last edited by chap : 03-31-2013 at 03:12 AM. |
Tags: itv, itv player |
Thread Tools | |
Display Modes | |
|
|