View Single Post
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#17
Originally Posted by mikkov View Post
With stream input I could stream TV from vdr systen to n800
You can do that with the streamdev-server plugin: the cvs version can use an external remuxer, so that, e.g., pointing mplayer on the tablet at http://your.vdr.machine:3000/Extern/1 will stream the first channel in channels.conf (http://your.vdr.machine:3000/Extern/channels.htm in a browser will give you a list of channels).
This is the remuxing script I found on the vdr mailing list (though there's a lot of room for improvements)

Code:
#!/bin/bash

IN=-
OUT=/tmp/out

rm -f $OUT.avi /tmp/$OUT.log
/usr/bin/mkfifo $OUT.avi

cat $OUT.avi &
exec /usr/bin/mencoder "$IN" -cache 1024 -srate 44100 -oac mp3lame -lameopts vbr=0:br=128 -af volnorm -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=600 -vf-add scale=512:288 -ffourcc DIVX -noidx -o $OUT.avi &>/dev/null