Hi -
On Mon, 26 Apr 2004, Richard Dr. Schulze wrote:
> I have this little problem with jpeg2yuv:
What version of mjpegtools is being used? The release'd 1.6.2 or
the CVS version?
> - aim: make an mpeg1 movie out of 150 jpeg images
> - use: mjpeg tools
> - compilation and everything seemed to work fine
> The command I used:
>
> jpeg2yuv -f 25 -I p -j img_%05d.sca.jpg > result.yuv 2> jpeg2yuv.err >
> jpeg2yuv.std
> *** jpeg2yuv.err
>
> INFO: [jpeg2yuv] Parsing & checking input files.
> INFO: [jpeg2yuv] YUV colorspace detected.
>
> INFO: [jpeg2yuv] Starting decompression
> INFO: [jpeg2yuv] Image dimensions are 418x302
Hmmm, those dimensions are not optimal (and might produce unexpected
results). Neither height or width is a multiple of 16.
> INFO: [jpeg2yuv] Movie frame rate is: 25.000000 frames/second
> INFO: [jpeg2yuv] Non-interlaced/progressive frames.
> INFO: [jpeg2yuv] Frame size: 418 x 302
> INFO: [jpeg2yuv] Number of Loops 1
> INFO: [jpeg2yuv] Now generating YUV4MPEG stream.
> INFO: [jpeg2yuv] Processing non-interlaced/interleaved img_00000.sca.jpg,
> size 3751l
>
> *** jpeg2yuv.std
>
> YUV4MPEG2 W418 H302 F25:1 Ip A0:0
That looks fine.
> At this point jpeg2yuv experiences a segmentation fault.
A stack trace of jpeg2yuv might be necessary. Either run jpeg2yuv
under gdb or use gdb to examine the core file (you may need to allow
coredumps with "unlimit coredumpsize").
> Any ideas? I would be grateful for any idea.
It is almost certainly not the problem but I suggest using a frame
size that is 1) a multiple of 16 in both dimensions and 2) using
one of the standard/common frame sizes. The data can of course
be scaled before being encoded but creating the images at 384x288
initially would be better.
If the goal is to create a VCD/SVCD/CVD/DVD then you will need to
scale to the appropriate size of course. I'd recommend 'y4mscaler'
(http://www.mir.com/DMG/) for that since it can deal with the sample
aspect conversion and that needs to be done (from square pixels to
Rec.601 pixels which for PAL are 59:54 as I recall).
We need a little more information though before making a guess why
jpeg2yuv is segment faulting
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users