[MPlayer-users] Decoding to standard output NOVIRUS

Linus Wenell zider at home.se
Fri Oct 24 07:17:02 CEST 2003


On Sun, 19 Oct 2003 17:51:55 +0200
Japie <japie at scarlet.nl> wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Op zo 19-10-2003, om 08:31 schreef Christopher Armstrong:
> 
> > Does mplayer support decoding to standard output (or mencoder support
> > encoding to standard output) so that I can receive the result in a pipe
> > eg.
> 
> mkfifo -m 660 stream.yuv &
> mplayer -benchmark -noframedrop -nosound -vo yuv4mpeg -osdlevel 0 $1 &
> ffmpeg -f yuv4mpegpipe -i stream.yuv -an ffmpeg_test.mpeg
> -- 
> Groetjes Japie

I can't get it to work if I try to put yuvscaler and mpeg2enc instead of ffmpeg, mplayer just quits.
Any pipe/fifo experts that knows what's wrong with this;

mkfifo -m 660 stream.yuv &
mplayer -benchmark -noframedrop -nosound -vo yuv4mpeg -osdlevel 0 dvd://1 &
dd if=stream.yuv | yuvscaler -n n -M WIDE2STD -O SVCD | mpeg2enc -a 2 -f 4 -F 4 -S 800 -B 192 -I 1 -o test.m2v

By the look of the output, at least yuvscaler starts, BUT mplayer quits.



More information about the MPlayer-users mailing list