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.

megalivestream 07-08-2012 07:04 PM

Re: Embeding rtmp into my wordpress


 
Ok i am making a progrees , i downloaded and used dos2unix and was able to run the script . still not sure what information it needs , see bellow . I need to learn how to do this because i have to run this process aginest few more channels . so what am i doing wrong bellow . IT would be much easier if i can get the full instructions if possible please . I am running into an issue after another . I am guessing this is looking for some kind of host file , not sure though Thanks .

$ rtmp-host.sh
Press enter after video starts
127.0.0.1 aljazeeraflashlivefs.fplive.net
Usage: dumper [OPTION] FILENAME WIN32PID

Dump core from WIN32PID to FILENAME.core

-d, --verbose be verbose while dumping
-h, --help output help information and exit
-q, --quiet be quiet while dumping (default)
-V, --version output version information and exit

/usr/bin/rtmp-host.sh: line 23: p.core: No such file or directory
127.0.0.1

svnpenn 07-08-2012 07:24 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream
$ rtmp-host.sh
Press enter after video starts
127.0.0.1 aljazeeraflashlivefs.fplive.net
Usage: dumper [OPTION] FILENAME WIN32PID

Dump core from WIN32PID to FILENAME.core

-d, --verbose be verbose while dumping
-h, --help output help information and exit
-q, --quiet be quiet while dumping (default)
-V, --version output version information and exit

/usr/bin/rtmp-host.sh: line 23: p.core: No such file or directory
127.0.0.1

I have uploaded a new version with debug support. Download new version and run with

Code:

rtmp-host.sh -d
Then post the result.

megalivestream 07-08-2012 09:27 PM

Re: Embeding rtmp into my wordpress


 
still no go , i rather use an easier method than dealing with script errors .

svnpenn 07-08-2012 09:38 PM

Re: Embeding rtmp into my wordpress


 
​​​​​

megalivestream 07-08-2012 10:34 PM

Re: Embeding rtmp into my wordpress


 
here is the result

$ rtmp-host.sh -d
Press enter after video starts
127.0.0.1 aljazeeraflashlivefs.fplive.net
Usage: dumper [OPTION] FILENAME WIN32PID

Dump core from WIN32PID to FILENAME.core

-d, --verbose be verbose while dumping
-h, --help output help information and exit
-q, --quiet be quiet while dumping (default)
-V, --version output version information and exit

/usr/bin/rtmp-host.sh: line 23: p.core: No such file or directory
127.0.0.1
Press enter to start RtmpSrv, then restart video.

Josan420 07-09-2012 01:19 AM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream
I am very sorry to contact you in private but i would really appreciate it if you could assist me here . I am contacting you regarding this post
http://stream-recorder.com/forum/emb...ss-t13137.html

How did you get the RTMP link , I used URL Snooper and i got a different link than the one you posted ? Also , how would i know if this link works or not ?

Thanks a lot and sorry for contacting you private

i used rtmpdump helper, other software r rtmp explorer and rtmp explorerX
to check the link if it is working u need to copy and paste it on notepad and save it in .bat format. remeber u have to save it in same location of the rtmpdump and if u want to play this stream in vlc then u have to replace -o (-o aljazeera_ara_high.flv)command with your vlc media player location

evol 07-09-2012 01:57 AM

Re: Embeding rtmp into my wordpress


 
Right click the page to view source code and you can see the iphone/ipad stream. ;)


megalivestream 07-28-2012 07:03 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by Josan420 (Post 49015)
i used rtmpdump helper, other software r rtmp explorer and rtmp explorerX
to check the link if it is working u need to copy and paste it on notepad and save it in .bat format. remeber u have to save it in same location of the rtmpdump and if u want to play this stream in vlc then u have to replace -o (-o aljazeera_ara_high.flv)command with your vlc media player location

--
I tried the bellow but no luck . MY vlc path is correct . what am i missing ?

rtmpdump -r "rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-live" -a "aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=6650015 84001&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&affilia teId=" -o "C:\Program Files\VideoLAN\VLC\vlc.exe"

svnpenn 07-28-2012 07:15 PM

Re: Embeding rtmp into my wordpress


 
Code:

$ rtmpdump -r 'rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-l
ive?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&af
filiateId=' -a 'aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=6
65001584001&playerId=897709209001&affiliateId=' -f 'WIN 11,3,300,257' -W 'http:
//admin.brightcove.com/viewer/us20120725.1623/federatedVideoUI/BrightcovePlayer
.swf?uid=1343524322545' -p http://www.aljazeera.net/livestreaming/pages -y 'alj
azeera_ara_high?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897
709209001&affiliateId=' -o aljazeera_ara_high.flv -v
RTMPDump v2.4-34-ged8cfb4
(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
3668.690 kB / 30.19 sec


megalivestream 07-28-2012 08:36 PM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by svnpenn (Post 50108)
Code:

$ rtmpdump -r 'rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-l
ive?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&af
filiateId=' -a 'aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=6
65001584001&playerId=897709209001&affiliateId=' -f 'WIN 11,3,300,257' -W 'http:
//admin.brightcove.com/viewer/us20120725.1623/federatedVideoUI/BrightcovePlayer
.swf?uid=1343524322545' -p http://www.aljazeera.net/livestreaming/pages -y 'alj
azeera_ara_high?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897
709209001&affiliateId=' -o aljazeera_ara_high.flv -v
RTMPDump v2.4-34-ged8cfb4
(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
3668.690 kB / 30.19 sec


What i was asking , how to make this rtmp plays in my VLC when i run it ? my direct VLC path is C:\Program Files\VideoLAN\VLC\vlc.exe ?

hasomaso 07-29-2012 12:02 AM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream (Post 50109)
What i was asking , how to make this rtmp plays in my VLC when i run it ? my direct VLC path is C:\Program Files\VideoLAN\VLC\vlc.exe ?



hi,

if you want to play with vlc player, then you must insert the


Code:

| c:\progra~1\videolan\vlc\vlc -
or...

Code:

| c:\progra~2\videolan\vlc\vlc -
as follows

Code:

rtmpdump -v -r "rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affiliateId=" -a "aljazeeraflashlive-live?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affiliateId=' -f 'WIN 11,3,300,257" -W "http://admin.brightcove.com/viewer/us20120725.1623/federatedVideoUI/BrightcovePlayer.swf?uid=1343524322545" -p "http://www.aljazeera.net/livestreaming/pages" -y "aljazeera_ara_high?videoId=1066347278001&lineUpId=&pubId=665001584001&playerId=897709209001&affiliateId=" | c:\progra~1\videolan\vlc\vlc -

megalivestream 07-29-2012 01:06 AM

Re: Embeding rtmp into my wordpress


 
Thanks that did launch FLV player but it just sits there and in the command prompt i do KB/s numbers are changing , how long do i need to wait before the videos plays ? it has been sitting for 5 minutes now with an flv player window but no video and no errors . the only warning i see in the command prmpt is this "WARNING: You haven't specified an output file (-o filename), using stdout"

Thanks

hasomaso 07-29-2012 01:14 AM

Re: Embeding rtmp into my wordpress


 
Quote:

Originally Posted by megalivestream (Post 50118)
Thanks that did launch FLV player but it just sits there and in the command prompt i do KB/s numbers are changing , how long do i need to wait before the videos plays ? it has been sitting for 5 minutes now with an flv player window but no video and no errors . the only warning i see in the command prmpt is this "WARNING: You haven't specified an output file (-o filename), using stdout"

Thanks


the stream will start in 2 seconds

see here...


http://www.mediafire.com/?e8a6bqte3hs5h63

PayNow 07-29-2012 05:13 AM

Re: Embeding rtmp into my wordpress


 
Here you go ;)

Code:

<script type='text/javascript'src='http://player.longtailvideo.com/jwplayer.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'http://player.longtailvideo.com/player.swf',
    'file': 'aljazeera_ara_high',
    'streamer': 'rtmp://aljazeeraflashlivefs.fplive.net:1935/aljazeeraflashlive-live',
    'controlbar': 'bottom',
    'width': '470',
    'height': '320'
  });
</script>


jz5968 03-12-2014 06:29 PM

Re: Embeding rtmp into my wordpress


 
Once you have thecode, try this program which will generate the HTMl code to play the stream in your browser.

http://www.4shared.com/get/fQcSSEFMba/RTMP_pplayer.html


All times are GMT -6. The time now is 09:08 AM.