Hallo

> Bernhard, below are the commands you suggested with the results. It
> appears that mpeg2enc is failing. The problem may be with the yuv file,
> but yuvplay does not appear to have any problem handling it. Please keep
> the suggestions coming.
I'm not soure where the problem really is. 

Have you tried jpeg2yuv instead of convert:
jpeg2yuv -f 29.97 -Ip -j test%02d.jpg | mpeg2enc -o test.m1v

Have you tried converting your yuv stream to a mjpeg encoded AVI:
convert *.jpg -geometry 180x120 ppm:- | ppmtoy4m | yuv2lav -o test.avi 

And view that stream with glav/lavplay. And encode that stream in a
second step:
lav2yuv test.avi | mpeg2enc -o test.m1v

> $ convert *.jpg -geometry 180x120 ppm:- | ppmtoy4m > result3.yuv
> $ cat result3.yuv | mpeg2enc -o result3.m1v
[...]
>    INFO: [mpeg2enc] Frame end 0 I quant=3.83 total act=   236.5
> Segmentation fault
> 
> $ cat result3.yuv | mpeg2enc -v -o result3.m1v
> **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: bad header magic!
Have you tried running that in gdb, so you can find out where is really
crashes. 

But I guess that the problem is not really in mpeg2enc.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

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


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to