View Single Post
  #2  
Old 11-27-2014, 12:50 PM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: rtmp ,rtsp Links


I'm not familiar with Jadoo, but here is an rtmp example for ptvnews Just use rtmpdump and you'll be able to get most, if not all, of rtmp code for channels you're looking for...

Code:
rtmpdump -r "rtmp://live.server4sale.com/live" -a "live" -f "WIN 13,0,0,214" -W "http://live.server4sale.com:81/swfs/videoPlayer.swf" -p "http://news.ptv.com.pk/livestreaming.asp" -C B:0 --live -y "PTVnews" -o "2014-11-27_11-45-25_PTVnews.flv"
Code:
c:\>rtmpdump -r "rtmp://live.server4sale.com/live" -a "live" -f "WIN 13,0,0,214"
 -W "http://live.server4sale.com:81/swfs/videoPlayer.swf" -p "http://news.ptv.co
m.pk/livestreaming.asp" -C B:0 --live -y "PTVnews" -o "2014-11-27_11-45-25_PTVne
ws.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

With patches

Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO:   presetname              Custom
INFO:   creationdate            Sat Nov 08 22:52:02 2014
INFO:   videodevice             CX2388x Video Capture
INFO:   framerate               25.00
INFO:   width                   320.00
INFO:   height                  240.00
INFO:   videocodecid            avc1
INFO:   videodatarate           200.00
INFO:   avclevel                31.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 5.00
INFO:   audiodevice             Line In (High Definition Audio
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           1.00
INFO:   audioinputvolume        75.00
INFO:   audiocodecid            mp4a
INFO:   audiodatarate           56.00
212.040 kB / 4.16 sec
Caught signal: 2, cleaning up, just a second...
232.619 kB / 4.46 sec
Download may be incomplete (downloaded about 0.00%), try resuming
Terminate batch job (Y/N)?
As for arynews, it uses m3u8, so you can use this code instead
Code:
ffmpeg -i "http://stream-ak.vty.dmcdn.net/12/dm/1/x1sh6ok/live.isml/events(live-1417088916)/live-audio=128000-video=838000.m3u8" -c copy arynews.ts
Reply With Quote