I had the same problem. After a couple of frames it would stop. Apparently, Mplayer doesn't like being disconnected from STDIN. When I added the '</dev/null', it worked fine. Try darkshow's example exactly as typed. It worked for me.

Message: 2
Date: Mon, 24 Feb 2003 13:29:28 +0000
From: [EMAIL PROTECTED]
Subject: Re: [Mjpeg-users] Need help with script
To: [EMAIL PROTECTED]

> 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

If in the mplayer part if I add the "-vop lavcdeint" it freezes at 35
frames



-------------------------------------------------------
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

Reply via email to