PDA

View Full Version : problem with ttnetmuzik.com.tr


ercan
04-20-2012, 05:29 PM
Hi everyone,

Firstly sorry about my english. I'm writing first time.

I have a problem about rtmpdump. I want to download music "http://www.ttnetmuzik.com.tr/radio" but error has occured.

ercan@ubuntu:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
ercan@ubuntu:~$ rtmpsrv

I wrote this code. And then i opened the adress on the browser. Then url adres was found. I saw on the console screen. After that an error has occured. Error is shown on the console scream look like,

RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://streaming.ttnetmuzik.com.tr/ttnet?QzlHbWxPZFJWNndCUnBKSDZNM1VmNEpZYUVvN0pXQTM=" -a "ttnet?QzlHbWxPZFJWNndCUnBKSDZNM1VmNEpZYUVvN0pXQTM=" -f "LNX 11,2,202,228" -W "http://www.ttnetmuzik.com.tr/TTNETMuzik/miniplayer/swf/flowplayer.rtmp-3.1.3.swf?v1" -p "http://www.ttnetmuzik.com.tr" -y "mp4:20835b420fda63a6bd7c9c944939df31ffc446a059001f c7.m4a" -o mp4_20835b420fda63a6bd7c9c944939df31ffc446a059001f c7.flv

Closing connection... done!

RTMPDump v2.3
(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... ERROR: RTMP_ReadPacket, failed to read RTMP packet header
done!

Please help me about this problem...

svnpenn
04-20-2012, 07:39 PM
Dear TTNET Müzik Visitor,
Your IP is
We are sorry to say that due to licensing constraints, we can not allow access to visitors located outside of Turkey.
If you believe we have made a mistake about your location, we apologize and ask that you please dial 444 0 375 for customer services.
We share your disappointment and greatly appreciate your understanding.
Sincerely,

svnpenn
04-23-2012, 07:12 PM
rtmpdump \
-r rtmp://cp60697.live.edgefcs.net \
-a live \
-y Radio_4_Int@6448 \
-o o.flv \
-v

RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: No application or playpath in URL!
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: audiocodecid mp4a
INFO: audiodatarate 48.00
INFO: createdby BBC
INFO: canseektoend FALSE
381.524 kB / 61.30 sec

.

ercan
04-23-2012, 08:00 PM
I'm sorry , I'm misunderstand you. My english is not good enough. :(
When i use rtmp on BBC radio site, same error occured like this


ercan@ubuntu:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
ercan@ubuntu:~$ rtmpsrv

And then İ opened the BBC site on the browser then error is... " http://www.bbc.co.uk/iplayer/console/bbc_radio_fourfm "


RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://cp60697.live.edgefcs.net:1935/live?auth=daEcla5bbbEdubLbNaHbmalbecAdib8aBdh-bpLGF8-bWG-CnsEBowqFCuFwwF&aifp=v001&slist=Radio_4_Int@6448" -a "live?auth=daEcla5bbbEdubLbNaHbmalbecAdib8aBdh-bpLGF8-bWG-CnsEBowqFCuFwwF&aifp=v001&slist=Radio_4_Int@6448" -f "LNX 11,2,202,228" -W "http://www.bbc.co.uk/emp/ukrp/revisions/674606_674817/674606_674817_emp.swf" -p "http://www.bbc.co.uk" -C O:1 -C O:0 -y "Radio_4_Int@6448?auth=daEcla5bbbEdubLbNaHbmalbecAd ib8aBdh-bpLGF8-bWG-CnsEBowqFCuFwwF&aifp=v001&slist=Radio_4_Int@6448" -o Radio_4_Int@6448.flv

Closing connection... done!

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Duplicate request, skipping.
Closing connection... done!

ERROR: RTMP_ReadPacket, failed to read RTMP packet header
^CCaught signal: 2, cleaning up, just a second...




Same situation applies to the BRITISH...?

svnpenn
04-23-2012, 08:09 PM
rtmpdump \
-r rtmp://cp60697.live.edgefcs.net \
-a live \
-y Radio_4_Int@6448 \
-o o.flv \
-v

ercan
04-23-2012, 08:15 PM
Thank you very much :) it's working

ercan
04-24-2012, 12:40 AM
Thanks for helping but I have one more question about this work. The code is start the download. When i clicked on the dowload file, it's playing. I wonder, is there any posiblty to download file and playback at the same time. Just writing code ,download starting and file playing.