I was able to compile streamdev plugin and i'm running the server on my vdr.My question is..is there any way to code the mpeg stream before sending it to the network?(I wanted to put video in 350Kbitps and audio in 50Kbitps so that I can stream over the internet(400Kbitps upload). If it's done by other plugin it's ok too Best Regards João Mamede
On Tue, Dec 27, 2005 at 02:13:36AM +0000, João Mamede wrote:
I was able to compile streamdev plugin and i'm running the server on my vdr.My question is..is there any way to code the mpeg stream before sending it to the network?(I wanted to put video in 350Kbitps and audio in 50Kbitps so that I can stream over the internet(400Kbitps upload). If it's done by other plugin it's ok too
This is possible, but nobody has done it yet :)
At some point, the CVS version of streamdev supported an external remuxer, and here you could put something like a 'requant' tool to reduce the bitrate. I did try and twiddle about with it myself but ended up getting nowhere.
The last I knew, the 'external remux' support is now broken.
I too would love to see this feature to stream over a 11Mb Wifi LAN where DVB streams are slightly too fast to be handled :)
Cheers, Gavin.
Hi
On my VDR the extern remux works.
Put this Script into /root/externremux.sh:
#!/bin/sh
rm /tmp/out.avi /usr/bin/mkfifo /tmp/out.avi
cat /tmp/out.avi &
mencoder \ -ovc xvid \ -oac mp3lame \ -ffourcc XVID \ -lameopts vbr=3:abr:cbr=50:aq=9:mode=3 \ -xvidencopts bitrate=350 \ -vf scale -zoom -xy 400 \ -o /tmp/out.avi -- - &>/tmp/out.log
then try to access with mplayer (no other player worked so far) http://yourip:3000/EXTERNE/1 for the first channel when it doesn't work look first at /tmp/out.log
cheers, benjamin