PDA

View Full Version : RTMP on your Dreambox



urgoz
29-02-2012, 23:40
Here is a small guide to watch RTMP streams on your Dreambox or other Enigma2 receiver.

What you need:

nstream player plugin 0.3

Download from 4shared: http://www.4shared.com/zip/FTRdVEwA/enigma2-plugin-extensions-nstr.html

rtmpgw linux binaries for dreambox:
Download from 4shared: http://www.4shared.com/rar/ysZsnz6b/rtmpgw.html

rtmpgw start-stop-restart script:
Download from 4shared: http://www.4shared.com/file/YGo-sjfd/rtmpgw_cam.html

nstream.xml stream list
Download sample from 4shared: http://www.4shared.com/document/6c-0_ZsU/nstream.html

Intallation step-by-step:

1. Install nstream player plugin on your box
2. Extract rtmpgw.rar
- copy rtmpgw to your box to /usr/bin folder and chmod it 755
- copy librtmp.so.0 to to /usr/lib
3. Edit your nstream.xml file and copy it to /usr/lib/enigma2/python/Plugins/Extensions/nStreamPlayer folder (you can use the sample with 3 streams)
4. copy the start stop script to your /usr/script (or /usr/camscript) directory and chmod it 755
5. start the script from your cam manager (cam named rtmpgw) or manually from telnet:

/usr/script/rtmpgw_cam.sh start
6. start nstream player and start watching.

Note: use only stable streams in your nstream.xml file. rtmpgw sometimes stuck when you zap to a dead stream. When this happens, you must exit from the plugin and restart rtmpgw with the script from the cam manager or manually:

/usr/script/rtmpgw_cam.sh restart

Some streams encoded with VP6.2 flash codec, you cannot watch them on the Dreambox.

You can watch also http and rtsp streams with nstream player.

Enjoy and sorry for my bad english...

Demupa
02-03-2012, 01:50
Hi I think this is a very good post, thanks for sharing but for a newbie like me I was wondering if it is as easy as it sounds. I have a DM500c will your method work with my box? Can you post an e.g of how it works i.e video of some sort and whatelse do I need to make it work besides my DM500c?

Thanks again!

blinertv
02-03-2012, 03:43
I have a DM500c will your method work with my box? Can you post an e.g of how it works i.e video of some sort and whatelse do I need to make it work besides my DM500c?


no mate... its for E2 boxes, your 500c its E1

Demupa
02-03-2012, 14:07
So what you are basically saying is that there is no way to watch either watch Rtmp/Rtsp/Http on a DM500C regardless of Enigma 1 or 2?

blinertv
02-03-2012, 15:10
So what you are basically saying is that there is no way to watch either watch Rtmp/Rtsp/Http on a DM500C regardless of Enigma 1 or 2?
m8,@urgoz say..

Here is a small guide to watch RTMP streams on your Dreambox or other Enigma2 receiver.

so,this method is not for your 500c .. its for dreamboxes enigma2(800,800se,8000,7020hd) or other enigma2(vu+uno,duo,solo,amikoalien,azbox,omnikey,s piderbox......)

urgoz
02-03-2012, 16:18
Well, its only for MIPS architecture E2 HD boxes... DM800, DM8000, DM500HD, DM7020HD, DM800HD SE
Also works on Vu+ boxes (tested on Vu+Duo).
Will not work on E1 boxes (DM500, DM600, DM56x0, DM7000, DM7020). Also i think it will not work on DM7025, because it doesn't supports h264 decoding.

megabox
05-03-2012, 11:11
I setup all like in the first post but dreambox dont recognize rtmpgw cam on the cam manager ..........

maybe path is diferent for install on my new enigma2 image ?? or ??

leslierad
05-03-2012, 19:00
Hi Guys,

Thanks for the nstreamplayer guide urgoz,

I was wondering if any of you have succeeded in creating a streaming feed.
Blinertv it looks like you have from your thread signature.

I have already installed nstreamplayer on my dm800se and it seems to work fine to see other peoples feeds but I want to broadcast my own stream on my local network. I have created a stream via vlc at:

htt-p://192.168.1.120:8080
On my ubuntu 11.10 pc, basically it streams the desktop screen constantly using WMV+WMA(ASF)

The stream plays fine via vlc on my windows7 pc but I cant get the feed started in nstreamplayer on the dream box

<channel>
<name>My Channel</name>
<piconname>dummy.png</piconname>
<stream_url>htt-p://192.168.1.120:8080</stream_url>
<ts_stream></ts_stream>
<buffer_kb>512</buffer_kb>
</channel>

The main reason I want this to work is that I want to see my cctv cameras from zoneminder on my TV via my dreambox and this method of broadcasting the desktop will work fine, my other option is to play it via the zoneminder url:

htt-p://192.168.1.120/cgi-bin/nph-zms?mode=jpeg&monitor=3&user=xxx&pass=xxx
but I doubt that url format will work with nstreamplayer,

Anyone know the feed types supported by nstreamplayer?

Update: I did get vlc streaming but seemed too slow for my cctv cameras so I ended up using: htt-p://zoneminder.com/forums/viewtopic.php?f=9&t=18939

urgoz
06-03-2012, 04:36
Dreamboxes cannot handle the WMV and WMA codec and the ASF container. Use H-264 or MPEG-2 codec for video and MPEG/MP3/AAC codec for sound. MPEG-PS/TS, MPEG4/MOV and FLV should work on the box.

urgoz
06-03-2012, 05:00
I setup all like in the first post but dreambox dont recognize rtmpgw cam on the cam manager ..........

maybe path is diferent for install on my new enigma2 image ?? or ??

Hmm, im not using newenigma2, but you can try this: rename rtmpgw_cam.sh to rtmpgw.emu, copy to /var/script and chmod it 755.

megabox
06-03-2012, 13:09
now work ok , i copy rtmpgw to usr/script , to be together with rtmpgw_cam.sh in the same directory , reboot and now is ok

6082

thanks for help and reply

urgoz
18-03-2012, 02:09
nStreamPlayer with rtmpgw ipk install package

- added rtmpgw binaries
- added libgstflv.so and libgstrtmp.so gstreamer plugins
- added sample nstream.xml playlist with rtmp streams
- modified plugin.py to auto start-stop rtmpgw

Check the included nstream.xml and rtmpdump.txt help file for rtmp stream syntax. You can play also http and rtsp streams with nStreamPlayer.

http://www.4shared.com/rar/33xo_nmn/enigma2-plugin-extensions-nstr.html

romelek
19-03-2012, 17:46
it not working for me :-(

in cam manager isnt rtmpgw cam. So I started it via telnet - /usr/scripts/rtmpgw_cam.sh start . It seems to be started so I start nStreamPlayer but no channel works.
I added my IPcam, when channel is selected, LED on web cam flashes five times but no picture :-((

romelek
19-03-2012, 18:34
Ędouble post, sorry

myoko
11-05-2012, 11:53
Anyone knows why there is NO SOUND on nordic channels posted on post #477 in the Nordic Channels Thread when played on nstreamplayer?

The same channels on Simple TV player on my PC work have sound.

nightmare3x
26-05-2012, 23:12
Sorry for my poor English but as far as I understand you say it is possible to watch rtmp links on DM800 HD? for example can I watch this one rtmp://fms.1B3E.edgecastcdn.net/001B3E/F/2012/3/10/mp4:ec5359c040b44652b2e88535f95049ba.mp4 on my DM800 HD? if you follow the intsructions on previous posts.

cochin007
10-07-2012, 21:01
Hi,
I had posted same question in Dreamoem site and no one replied.
Will it work in Openbox architecture S9.Not sure if it is Mips..
Any alternative if it is not. It suppors h264


How do i view the streams.
I did all the things in dreambox.. WIll it come as a plugin in dreambox or i have to install it in Windows on my pc to view .. I dont see any plugin on Dm800SE

maguirre
08-10-2012, 12:47
4. copy the start stop script to your /usr/script (or /usr/camscript) directory and chmod it 755

hi
I don't understand where is chmod it 755,I'm using dream elite image when I go to de utility panel in script executor but I don't find script I run also from telnet but I don't have permission
thanks

marty1
12-11-2012, 23:18
Any one got working nstream player plugin folder for dm800hd, dream elite 133 pheonix image .. have tried to set up manually with no success with dcc.. as my cam manager wont reconise the rtmpgw_cam... have done all this below with version 0.3... trying to get this to work still no joy.


Intallation step-by-step:

1. Install nstream player plugin on your box
2. Extract rtmpgw.rar
- copy rtmpgw to your box to /usr/bin folder and chmod it 755
- copy librtmp.so.0 to to /usr/lib
3. Edit your nstream.xml file and copy it to /usr/lib/enigma2/python/Plugins/Extensions/nStreamPlayer folder (you can use the sample with 3 streams)
4. copy the start stop script to your /usr/script (or /usr/camscript) directory and chmod it 755
5. start the script from your cam manager (cam named rtmpgw) or manually from telnet:
Code:

/usr/script/rtmpgw_cam.sh start



6. start nstream player and start watching