Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Embeding rtmp into my wordpress

(http://stream-recorder.com/forum/showthread.php?t=13137)

megalivestream 07-07-2012 08:35 PM

Embeding rtmp into my wordpress


 
Uhhh 3 weeks and still tstruggling , i came cross this website and hoping to find someone that can help and assist with this . I have tried tons of plugins including jw player . either i am doing something wrong or i don't know what i am doing , please help.

I am running wordpress with a wordpress theme on my website and i want to simply want this news channels embeded in my website . the live url is this http://www.aljazeera.net/livestreaming/pages please anyone show me how to get the rtmp and embed it into my wordpress . any help is greatlly appreciate it . most of the vidoes i watch all don't work . Thanks in advance . it would be much appreciate it if someone could spend a minute to get the RTMP and help me out and tell me what needs to be done on my website . Thanks in advance .

Josan420 07-08-2012 02:04 AM

Re: Embeding rtmp into my wordpress


 
here is code for rtmpdump
Code:

rtmpdump -r "rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-live" -a "aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affiliateId=" -f "WIN 11,3,300,257" -W "http://admin.brightcove.com/viewer/us20120705.1016/federatedVideoUI/BrightcovePlayer.swf" -p "http://www.aljazeera.net/livestreaming/pages" --live -y "aljazeera_ara_high?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affiliateId=" -o aljazeera_ara_high.flv

evol 07-08-2012 03:23 AM

Re: Embeding rtmp into my wordpress


 
iphone stream from that page is _http://aljazeera-ara-apple-live.adap...rabic/160.m3u8

or using ffplay
Code:

ffplay -i "http://aljazeera-ara-apple-live.adaptive.level3.net/apple/aljazeera/arabic/160.m3u8"

svnpenn 07-08-2012 09:35 AM

Re: Embeding rtmp into my wordpress


 
And another one

Code:

$ rtmp-host.sh
Press enter after video starts

127.0.0.1 aljazeeraflashlivefs.fplive.net
Press enter to start RtmpSrv, then restart video.

RTMP Server v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Closing connection... done!

RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump -r "rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-live
?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affili
ateId=" -a "aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=665001
584001&playerId=897709209001&affiliateId=" -f "WIN 11,3,300,257" -W "http://admi
n.brightcove.com/viewer/us20120705.1016/federatedVideoUI/BrightcovePlayer.swf?ui
d=1341761663588" -p "http://www.aljazeera.net/livestreaming/pages" -y "aljazeera
_ara_high?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=8977092090
01&affiliateId=" -o aljazeera_ara_high.flv
Exiting
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Connecting ...
INFO: Connected...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound
ERROR: Closing connection: NetStream.Play.StreamNotFound
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  width                480.00
INFO:  height                360.00
INFO:  framerate            25.00
INFO:  videocodecid          7.00
INFO:  videodatarate        800.00
INFO:  audiodatarate        96.00
3112.174 kB / 23.45 sec


megalivestream 07-08-2012 12:48 PM

Re: Embeding rtmp into my wordpress


 
Thank you very much - Quick question , what application did you use to get this rtmp code please ?

svnpenn 07-08-2012 01:44 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream
what application did you use to get this rtmp code

github.com/svnpenn/etc/blob/master/rtmp-host.sh

megalivestream 07-08-2012 02:52 PM

Re: Embeding rtmp into my wordpress


 
I am sorry i am not great with scripts and not sure what to do with the rtmp script you posted ? I used URL snooper but i didn't get the same information you guys posted here . Coulld you please share the instructions on running the script , i have windows machine

svnpenn 07-08-2012 03:07 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream
I am sorry i am not great with scripts and not sure what to do with the rtmp script you posted

svnpenn.github.com/2012/05/rtmp-host

megalivestream 07-08-2012 04:23 PM

Re: Embeding rtmp into my wordpress


 
Ok i got all that stuff with the script , now what do i run from cygwin terminal for the above rmtp live link . i ran the scrupt by it self and this is what i got

$ ./rtmp.sh
./rtmp.sh: line 5: $'\r': command not found
./rtmp.sh: line 6: syntax error near unexpected token `$'{\r''
'/rtmp.sh: line 6: `pid(){

Thanks in adnance and thanks for your patience :)

svnpenn 07-08-2012 05:08 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream
i ran the scrupt by it self and this is what i got

$ ./rtmp.sh
./rtmp.sh: line 5: $'\r': command not found
./rtmp.sh: line 6: syntax error near unexpected token `$'{\r''
'/rtmp.sh: line 6: `pid(){

Cygwin uses LF (\n) for line endings. If you have copy pasted the script into a text editor that uses CRLF (\r\n) line endings then Cygwin interprets the \r as a command. This can be fixed by actually downloading the script, or using a text editor with LF (\n) line endings.


All times are GMT -6. The time now is 04:03 AM.