Digikam - mpeg encoding problem

From: Martin Daser (Martin.Daser_at_siemens.com)
Date: 08/31/05


Date: Wed, 31 Aug 2005 07:43:20 +0200

I am running SuSE 9.3 with digikam and digikamimageplugins 0.7.4, with
libkipi-0.1.1-4, kipi-plugins-0.1.0beta2-5,
mjpegtools-1.7.0-0.pm.0cvs20050401,ImageMagick-6.1.8-6 and
kdeextragear-libs-1-1.

When trying to encode photos into an MPEG Slide show, I am getting the
following error:

-------------------
images2mpg --with-gui -f SVCD -n PAL -d 10 -t 2 -c 000 -T
/tmp/kde-md/kipi-mpegencoderplugin-15397/ -M /usr/bin -I /usr/bin -o
/home/md/output.mpg -i /home/md/Documents/Pictures/USA/South
West/jun06_98/05truck.jpg /home/md/Documents/Pictures/USA/South
West/jun06_98/06landsc.jpg /home/md/Documents/Pictures/USA/South
West/jun06_98/07landsc.jpg /home/md/Documents/Pictures/USA/South
West/jun06_98/08phnxin.jpg
-----------------------------------------------
Initialising...

Encoding image files...

   INFO: [yuvscaler] yuvscaler 1.7.0 (15-02-2004) is a general scaling
utility for yuv frames
   INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@free.fr>,
yuvscaler -h for help, or man yuvscaler
Images encoding (%) : 0 [0
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
-------------------

I checked the script images2mpg and found that yuvscaler gets its data
via a pipe from ppmtoy4m. Both programs are located in the same
package, mjpegtools. So they should be compatible, right?

Does anybody know how I can fix this problem? Currently I didn't find
any solution on the web.

Are there other packages I need to update? And where would be a
location to download rpms for my distro?

Any help will be appreciated! Thanks in advance!

-- Martin

Talking about images2mpg, I had to make another fix in that script to
get the whole program not crahs before that point:
I had to replace the cat command with convert in line 820
-------------------
# MjpegTools MPEG encoding with the number of frames and the current image.
####### cat "$TMPFILENAME.tmp.pnm"
/usr/bin/convert -depth 8 "$TMPFILENAME.tmp.pnm" -
-------------------
Otherwise yuvscaler reports:
-------------------
 INFO: [yuvscaler] yuvscaler 1.7.0 (15-02-2004) is a general scaling
utility for yuv frames
   INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@free.fr>,
yuvscaler -h for help, or man yuvscaler
**ERROR: [ppmtoy4m] Expecting maxval == 255, not 65535!
-------------------

-- 
--
Kind Regards
	Martin Daser
-----
PGP-Fingerprint: 6052 90F8 97F2 D3BF 495C  BBE2 A003 6505 58BB D61E
-----
"Technology is just another word for it doesn't work yet" - D. Adams


Relevant Pages

  • DigiKam - Mpeg encoding problem
    ... When trying to encode photos into an MPEG Slide show, ... Encoding image files... ... utility for yuv frames ... yuvscaler -h for help, or man yuvscaler ...
    (de.comp.os.unix.apps.kde)
  • Digikam plugin
    ... Encoding image files... ... utility for yuv frames ... yuvscaler -h for help, or man yuvscaler ... EXIT STATUS: error during encoding process. ...
    (alt.os.linux.suse)