On Mon, 24 Feb 2003 [EMAIL PROTECTED] wrote: > > Make stream.yuv a fifo, then pipe from that. For example: > > > > mkfifo stream.yuv > > mplayer -nosound -benchmark -vo yuv4mpeg movie.avi </dev/null & > > cat stream.yuv | mpeg2enc ... > > > > I'm fairly sure that's how it's intended to be used. > > Thanks for the help it has good promise but I couldn't get it working like that but > when I tried it this way it works fine until frame 53 then just freezes, the > video.m2v created works fine > > mkfifo stream.yuv > mplayer -nosound -benchmark -vo yuv4mpeg recording.raw.avi | mpeg2enc -o video.m2v > -f 4 -q 2 -I 1 -V 200 -n n -F 4 -r 32 -4 1 -2 1 -b 2400 stream.yuv > --correct-svcd-hds --aspect 2
That won't work. The yuv4mpeg output from mplayer *always* goes to a file in the current directory called "stream.yuv". Make that file a fifo (as above) and you're off. There is no output out of mplayer that you can pipe directly to mpeg2enc. > If in the mplayer part if I add the "-vop lavcdeint" it freezes at 35 frames This is probably just some strange coincidence of buffer sizes. Trust me, if you're using -vo yuv4mpeg, there isn't any video data coming out of mplayer's stdout, so there's nothing meaningful going into mpeg2enc. -- Robert Kesterson [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users