Bug 125413 - "create MPEG slideshow" tool fails
Summary: "create MPEG slideshow" tool fails
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-VideoSlideshow (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 10:53 UTC by prudek
Modified: 2017-06-30 07:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prudek 2006-04-12 10:53:36 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs
OS:                Linux

Kipi plugin "create MPEG slideshow" fails with digikam 0.8.0 and 
kipi-plugins-0.1.0-0.rc1

The problem is probably in kipi, not in digikam. This is stock digikam and 
kipi as provided in Mandriva 2006.0.

The error message is:


images2mpg --with-gui  -f DVD -n PAL -d 10 -c 000 
-T /home/milos/tmp/kde-milos/kipi-mpegencoderplugin-29182/ -M /usr/bin 
-I /usr/bin -o "/home/milos/Documents/output.mpg" -i  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1774.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1775.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1776.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/praktica_bez_brasny.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/praktica_komplet.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/praktica_otevrena.jpg" 
-----------------------------------------------
Initialising...

Encoding image files...

Images encoding (%) : 0      [0      
   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
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
-----------------------------------------------

EXIT STATUS : error during encoding process.

It was suggested that the solution is described here: http://home.arcor.de/chrhoffmann/images2mpg.html

However, this solution merely changed the error output to this:

THE COMMAND LINE IS :

images2mpg --with-gui  -f DVD -n PAL -d 10 -c 000 
-T /home/milos/tmp/kde-milos/kipi-mpegencoderplugin-13736/ -M /usr/bin 
-I /usr/bin -o "/home/milos/Documents/output.mpg" -i  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1774.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1775.jpg"  
"/home/milos/blbiny/fotoaparaty/praktica 3/pict1776.jpg" 
-----------------------------------------------
Initialising...

Encoding image files...

Images encoding (%) : 0      [0      
   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      [1      
/usr/bin/images2mpg: line 831: 13870 Broken pipe             $CONVERT_BIN 
-depth 8 ppm:"$TMPFILENAME.tmp.pnm" -
-----------------------------------------------

EXIT STATUS : error during encoding process.

Please do not hesitate to get in touch with me if you need more assistance with resolving this bug. However, I cannot help by coding.
Comment 1 Angelo Naselli 2006-04-12 13:05:41 UTC
Since you're a mandriva user you can read also:
http://qa.mandriva.com/show_bug.cgi?id=17555
i released a patch in cooker, not in 2006 by now.
Anyway by the end of this mounth we should release a new kipi-plugin
version that has a fixing for that (follow the related bugs).
And that version will be uploaded on kipi site with a mandriva 2006
package.

*** This bug has been marked as a duplicate of 109739 ***
Comment 2 Stefan Rütsch 2006-07-12 23:04:57 UTC
I have the same problem.(look here *)
Using Suse 10.1
I try out : http://home.arcor.de/chrhoffmann/images2mpg.html
This solution crashed KDE so I had to start it again.
*
Usin/05Dez06Mai/2006, Juli, 3/102_1689.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1690.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1691.jpg" 
-----------------------------------------------
Initialising...

Encoding image files...

Images encoding (%) : 0      [0      
   INFO: [yuvscaler] yuvscaler 1.8.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      [1      
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
-----------------------------------------------

EXIT STATUS: Fehler während des Kodierungsvorgang.
images2mpg --with-gui  -f VCD -n PAL -d 5 -c 000 -T /tmp/kde-stefan/kipi-mpegencoderplugin-10529/ -M /usr/bin -I /usr/bin -o "/home/stefan/Documents/output.mpg" -i  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1675.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1676.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1679.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1680.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1681.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1682.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1683.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1684.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1685.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1686.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1687.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1688.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1689.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1690.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1691.jpg" 
-----------------------------------------------
Initialising...

Encoding image files...

Images encoding (%) : 0      [0      
   INFO: [yuvscaler] yuvscaler 1.8.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      [1      
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
-----------------------------------------------

EXIT STATUS: Fehler während des Kodierungsvorgang.
It was suggested that the solution is described hereIt was suggested that the solution is described here: http://home.arcor.de/chrhoffmann/images2mpg.html : http://home.arcor.de/chrhoffmann/images2mpg.html g: Suse 10.1

Die Befehlszeile ist:
Die Befehlszeile ist:

images2mpg --with-gui  -f VCD -n PAL -d 5 -c 000 -T /tmp/kde-stefan/kipi-mpegencoderplugin-10529/ -M /usr/bin -I /usr/bin -o "/home/stefan/Documents/output.mpg" -i  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1675.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1676.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1679.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1680.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1681.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1682.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1683.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1684.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1685.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1686.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1687.jpg"  "/home/familie/Bilder/05Dez06Mai/2006, Juli, 3/102_1688.jpg"  "/home/familie/Bil
Comment 3 Angelo Naselli 2006-07-13 09:08:06 UTC
hmmm, you should at least translate it in english, since i cannot
understand German :(
> I try out : http://home.arcor.de/chrhoffmann/images2mpg.html
> This solution crashed KDE so I had to start it again.


Anyway which version of kipi-plugins are you using?
Which solution did you try?
The problem is fixed by now and you have to configure the plugin
from its guy, or if you use the script stand alone, look at the help
command the -S flag is included by now.
Regards,
	Angelo
Comment 4 Stefan Rütsch 2006-07-13 23:57:58 UTC
I use Kipiplugin "create MPEG Slideshow 0.1.2
KDE 3.5.1 Level "a" Suse 10.1
Digikam 0.8.1.
The solution is discriptes under http://home.arcor.de/chrhoffmann/images2mpg.html 
The autor said I had to change the skript o "images2mpg" 
The only possibility to configure mpeg slideshow is to set the path to "imageMagick" and "mjpegtools". The path is setting right but it dosen't work
The meeage of the programm is:

"Encoding image files...
Images encoding (%) : 0      [0      
   INFO: [yuvscaler] yuvscaler 1.8.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      [1      
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!"
I have no idea what I can do.

Regards

Stefan
Comment 5 Angelo Naselli 2006-07-14 09:33:03 UTC
> I use Kipiplugin "create MPEG Slideshow 0.1.2
> KDE 3.5.1 Level "a" Suse 10.1
> Digikam 0.8.1.

Can you please provide the output of the command
"rpm -qa | grep kipi" ?

Thanks
Comment 6 Stefan Rütsch 2006-07-16 16:41:30 UTC
>Can you please provide the output of the command
>"rpm -qa | grep kipi" ?

libkipi-devel-0.1.2-15.pm.1
kipi-plugins-0.1.0_0.1-1.pm.1
libkipi-0.1.2-15.pm.1

Stefan
Comment 7 Angelo Naselli 2006-07-16 17:25:11 UTC
> libkipi-devel-0.1.2-15.pm.1
> kipi-plugins-0.1.0_0.1-1.pm.1
> libkipi-0.1.2-15.pm.1

I suggest you to update to libkipi 0.1.4 and kipi-plugins 0.1.2
The problem should be fixed there, and you could configure 
the chroma mode by gui.

Angelo
Comment 8 Stefan Rütsch 2006-07-18 23:59:48 UTC
Dear Angelo,
thanks for your help. I will update untill I find the newest version on packmann.

Stefan
Comment 9 prudek 2006-07-19 11:50:39 UTC
I have libkipi0-0.1.4 and kipi-plugins-0.1.2. The following command line creates a perfect slideshow:

images2mpg -f SVCD -d 5 -S 420mpeg2  -o MyPortfolio.mpg -t 4 -i pict177*.jpg

But when I use digikam, the result is always this crash:

THE COMMAND LINE IS :

images2mpg --with-gui  -f DVD -n PAL -d 10 -c 000000 -T /home/milos/tmp/kde-milos/kipi-mpegencoderplugin-24487/ -M /usr/bin -I /usr/bin -o "/home/milos/Documents/output.mpg" -i  "/home/milos/blbiny/fotoaparaty/praktica/pict1774.jpg"  "/home/milos/blbiny/fotoaparaty/praktica/pict1775.jpg"  "/home/milos/blbiny/fotoaparaty/praktica/pict1776.jpg" 
-----------------------------------------------
Initialising...

Encoding image files...

Images encoding (%) : 0      [0      
   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
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
-----------------------------------------------

EXIT STATUS : error during encoding process.
 
Comment 10 Angelo Naselli 2006-07-19 12:36:58 UTC
again this bug is fixed and it is a duplicate fo  109739,
follow the instructions there: 
http://bugs.kde.org/show_bug.cgi?id=109739#c57
That means that default behavior is the old one, this should change in future.
If the script works it means the plugin is ok and the problem is in yuor digikam configuration.
Regards
   Angelo

*** This bug has been marked as a duplicate of 109739 ***
Comment 11 prudek 2006-07-19 21:58:21 UTC
OK, you are right, setting chroma mode in the Create MPEG slideshow to "420mpeg2" fixes this issue. I did not notice the new chroma option at first. Thank you.
Comment 12 caulier.gilles 2017-06-30 07:00:33 UTC
digiKam has a new Video Slideshow tool based on QtAV and ffmpeg which do not
have this problem.

Gilles Caulier