Lehmeier Michael wrote:
> 
> Hi,
> 
> I use a small script to encode my avi movies that I get from my digicam.
> It looks like this:
> 
> mkfifo stream.yuv
> nice mplayer -vo yuv4mpeg -nosound -noframedrop -noaspect -vf
> scale=352:288 $1 &> /dev/null &
> cat stream.yuv | nice mpeg2enc -f 1 -n p -F 3 -o video.m1v &> /dev/null
> &
> mplayer -vc null -vo null -ao pcm -noframedrop $1 &> /dev/null
> sox -t wav audiodump.wav -t wav /dev/stdout stretch 0.8 | \
>     cat /dev/stdin | nice mp2enc -V -o audio.mp2 &> /dev/null
> mplex -f 1 audio.mp2 video.m1v -o $1.mpg
> 
> I know, the stretch option in sox makes the sound sound awful, but the
> avi is 20 fps so what can I do?
Use yuvfps to generate more frames that you really have. 
cat stream.yuv | yuvfps -r 25:1 | mpeg2enc ....

If mplayer generate a wrong header with 25fps for example, you have to
add the "-s 20:1" for a 20fps source movie.  

I have no idea with your mplex problem. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to