Ok bad for me
Thx dlavigne for the quick response.
Maybe it's can interest some one:
I use vlc to stream outside my network my dreambox (DM500/enigma1).
My image pli-image (openpli now), you can stream channel in your network.
This image offer the Zapstream function: you change channel but the port streaming never change.
I think dreambox/enigma2 can work (streamport:8001) but less interesting because streampath change for each channel.
i do this (maybe it's not the best linux practice but it's work for me, you can "critic" it's good to learn):
in a jail install vlc:
add a new user (VLC don't work with root user even in jail don't blame me :p)
create a script
paste this:
Code:
#!/bin/sh
dreamboxip=192.168.0.5
dreamboxport=31344
streamport=12345
outtrans=std{access=http,mux=ogg,dst=:$streamport}
trans=transcode{vcodec=mp1v,vb=350,scale=0.4,acodec=mpga,ab=96,channels=1}:
cvlc -v http://$dreamboxip:$dreamboxport :http-caching3000 :sout=#$trans$outtrans
adapte dreamboxip and streamport at your installation.
start script
just when you need (because even you don't watch the stream your server continu streaming):
Code:
nohup ./vlc_streaming.sh &
you need route port 80 of dreambox and the port you indicate for streamport for the jail.
change channel with the webinterface of dreambox (webif)
and watch tv with VLC (
http://ip_of_yourhome:streamport)
kill script and VLC by telnet or freenas webinterface when you finish watching.
Works for me with VLC on PC, Android, Iphone and MX Player on android.
I didn't test different codec or bitrate to improve quality and reduce bandwith;
I play later.
In my freenas 9.2.1, amd E350, 8Go ram around 25% CPU charge (depends on the channel)