Hi,

While trying to convert some of the photos of my new digital camera (Canon Powershot S3 IS) to DVD, it seems jpeg2yuv has problems decoding these jpegs. Because, it used to work for me in the past, I tried some photos from my old camera (Canon Powershot A40), these gave the same result.

Perhaps a 64 bit issue?
The last time I converted photos this way is a while back, so was I probarbly still using a Pentium3 machine and now I'm using using an amd64 machine.

[EMAIL PROTECTED] tmp]$ jpeg2yuv -v2  -f 25 -j IMG_0134.JPG -Ip -n 1 > /dev/null
  INFO: [jpeg2yuv] Parsing & checking input files.
--DEBUG: [jpeg2yuv] Analyzing IMG_0134.JPG to get the right pic params
  INFO: [jpeg2yuv] YUV colorspace detected.

  INFO: [jpeg2yuv] Starting decompression
  INFO: [jpeg2yuv] Image dimensions are 2816x1584
  INFO: [jpeg2yuv] Movie frame rate is:  25.000000 frames/second
  INFO: [jpeg2yuv] Non-interlaced/progressive frames.
  INFO: [jpeg2yuv] Frame size:  2816 x 1584
  INFO: [jpeg2yuv] Number of Loops 1
  INFO: [jpeg2yuv] Now generating YUV4MPEG stream.
--DEBUG: [jpeg2yuv] Preparing frame
INFO: [jpeg2yuv] Processing non-interlaced/interleaved IMG_0134.JPG, size 1310720
Corrupt JPEG data: premature end of data segment
  INFO: [jpeg2yuv] Rescaling color values.
--DEBUG: [jpeg2yuv] Frame decoded, now writing to output stream.
[EMAIL PROTECTED] tmp]$

jpeg2yuv mentions that the size of the image is 1310720 bytes, but the actual size is 1839353 bytes:
[EMAIL PROTECTED] tmp]$ ls -al IMG_0134.JPG
-rw-rw-r--  1 gert gert 1839353 May 26 21:50 IMG_0134.JPG
[EMAIL PROTECTED] tmp]$


 Gert



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to