Bug 115705 - ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
Summary: ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-VideoSlideshow (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 21:54 UTC by carles ferrando
Modified: 2017-07-16 18:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carles ferrando 2005-11-04 21:54:56 UTC
Version:           digikam Create Mpeg SlideShow (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs
Compiler:          digikam 0.7.3 (with kde 3.4.2 ) source:  mandriva 2006  
OS:                Linux

LA LINEA DE ÓRDENES ES:

images2mpg --with-gui  -f VCD -n PAL -d 2 -t 5 -c 000 -T /home/carles/tmp/kde-carles/kipi-mpegencoderplugin-6314/ -M /usr/bin -I /usr/bin -o /home/carles/Vídeo/pepa-irlanda -i  /home/carles/Fotografies/pepa-30-oct-2005/pict0135.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0136.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0138.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0142.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0144.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0145.jpg  /.../ /home/carles/Fotografies/pepa-30-oct-2005/pict0455.jpg  /home/carles/Fotografies/pepa-30-oct-2005/pict0457.jpg 
-----------------------------------------------
Initialising...

Encoding image files...

   INFO: [yuvscaler] yuvscaler 1.6.3-rc3 (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!
-----------------------------------------------

ESTADO DE SALIDA: error durante el proceso de codificación.
Comment 1 Joern Ahrens 2005-11-05 00:24:27 UTC

*** This bug has been marked as a duplicate of 109739 ***
Comment 2 Antonio Carlos Ribeiro Nogueira 2005-11-07 16:55:11 UTC
Well, here I saw that the bug is resolved, but I don't know how to solve the problem. I am having the problem and I didn't find how to fix it in my computer.
Sincerely
Antonio Carlos
Comment 3 carles ferrando 2005-11-07 22:21:30 UTC
( Hola Antonio carlos: Permiteme que te conteste en español )
Para resolver el bug en tu computadora tienes que abrir
/usr/bin/images2mpg como root y buscar la frase siguiente ( casi al final del script):

 done | $PPMTOY4M_BIN -v $VERBOSE -n $NBFRAMETOTAL -F $IMAGES_SEC_FORMAT | $YUVSCALER_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -O $VIDEO_FORMAT | $MPEG2ENC_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -b $BIT_RATE -V $BUFFER_SIZE -f $VIDEO_FORMAT_NUMBER -o "$TMPFILENAME.tmp.m2v"

cambiala por esta otra:

done | $PPMTOY4M_BIN -v $VERBOSE -n $NBFRAMETOTAL -F $IMAGES_SEC_FORMAT -S 420mpeg2 | $YUVSCALER_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -O $VIDEO_FORMAT | $MPEG2ENC_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -b $BIT_RATE -V $BUFFER_SIZE -f $VIDEO_FORMAT_NUMBER -o "$TMPFILENAME.tmp.m2v"

El Create mpeg slideshow funcionará ahora muy bien.  El /usr/bin/ppmtoy4m necesita el argumento -S 420mpeg2 . Esta solución fue enviada por Anthony Tantillo el 2005-09-15. Saludos.
Comment 4 Antonio Carlos Ribeiro Nogueira 2005-11-13 02:46:02 UTC
I done what you advise me, changing the command line in /usr/bin/images2mpg. And this time it at least do some parts of process, but at the end of encoding (it seems) it sends me the following message this time:
$IMAGES_SEC_FORMAT -S 420mpeg2
     10633 Pipe quebrado           | $YUVSCALER_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -O $VIDEO_FORMAT
     10634 Instrução ilegal        | $MPEG2ENC_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -b $BIT_RATE -V $BUFFER_SIZE -f $VIDEO_FORMAT_NUMBER -o "$TMPFILENAME.tmp.m2v"

Merging MPEG flux...
**ERROR: [mplex] Unable to open file /home/ribeiro/tmp/kde-ribeiro/kipi-mpegencoderplugin-10600//1131845281.tmp.m2v for reading.
Comment 5 Antonio Carlos Ribeiro Nogueira 2005-11-15 23:41:26 UTC
      5412 Broken Pipe | $YUVSCALER_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -O $VIDEO_FORMAT 5413 Ilegal Instruction | $MPEG2ENC_BIN -v $VERBOSE -n $VIDEO_TYPE_LETTER -b $BIT_RATE -V $BUFFER_SIZE -f $VIDEO_FORMAT_NUMBER -o "$TMPFILENAME.tmp.m2v"

Merging MPEG flux...
**ERROR: [mplex] Unable to open file /home/ribeiro/tmp/kde-ribeiro/kipi-mpegencoderplugin-5384//1132093820.tmp.m2v for reading.
Comment 6 caulier.gilles 2017-07-16 18:46:19 UTC
This problem is not reproducible since digiKam core include a video slideshow
tool based on QtAV + ffmpeg.