неделя, 18 април 2010 г.

stream nc mplayer mencoder

Server:
mencoder Movie.avi -really-quiet -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o - | nc -l -p 10000

Client:
nc lnx.biz.tm 10000 | mplayer -cache 8000 -

Also:

Client:
nc -u -l -p | mplayer -cache 8000 -

Server:
Some Player -o - | nc -u

I use first one - it's play very well. For Home use. With current version of Mencoder trafic is ~ 700-2000kbits/sec