DigiKam - Error Creating MPEG Slide Show

I am trying to create a mpeg slide show, and i receive the below error. I am running 10.3.


Initialising…

Encoding image files…

Images encoding (%) : 0 0
/opt/kde3/bin/images2mpg: line 850: /usr/bin/mpeg2enc: No such file or directory

kellykare wrote:

>
> I am trying to create a mpeg slide show, and i receive the below error.
> I am running 10.3.
>
> -----------------------------------------------
> Initialising…
>
> Encoding image files…
>
> Images encoding (%) : 0 [0
> /opt/kde3/bin/images2mpg: line 850: /usr/bin/mpeg2enc: No such file or
> directory
> -----------------------------------------------
>
>

You need to install ‘mjpegtools’, look for it in YaST Software Management


L R Nix
lornix@lornix.com

I installed this package earlier, thinking it woild resolve the issues, but no luck. I checked yast and I have the following packages installed, encode2mpeg, mjpegtools.

The two kits I do not have installed are mjpegtools-debugingo and mjpegtools-devel.

kellykare wrote:

>
> I installed this package earlier, thinking it woild resolve the issues,
> but no luck. I checked yast and I have the following packages
> installed, encode2mpeg, mjpegtools.
>
> The two kits I do not have installed are mjpegtools-debugingo and
> mjpegtools-devel.
>
>

Hmmm, ok.

Can you run ‘mpeg2enc’ yourself? Based on the error message you posted, the
script cannot find mpeg2enc to run it.

In a console, type ‘mpeg2enc’ and press enter. It’ll probably complain
about no arguments or something like that. Well, hopefully it does. If
you get ‘bash: mpeg2enc - command not found’ or something like that, then
you’ve got a path issue.


L R Nix
lornix@lornix.com

I can’t help with DigiKam as I don’t use it for MPEG slide shows.

I have used:

Well, actually ManDVD says the same error for me :confused:

/home/maximeg//menu.sh: line 6: mpeg2enc: command not found

Is mpeg2enc deprecated or something like this ?

ManDVD looks great, but it seems that I can’t get it working on my system.

Is my 64bit system responsible of this issue ? (Can’t install mpeg2enc on 64 bits or something ?)

Regards and Thanks,
Maxime

This could be a 32-bit vs 64-bit problem. I don’t have a 64-bit PC so I do not have any familiarity with its intricacies. IMHO you need to check out the dependencies all match in terms of all being 64-bit.

With mandvd installed, if you type:
rpm -qR mandvd
you can get a list of all mandvd dependencies. Such as (but not limited to): gimp-2.0, dvd-slideshow, MPlayer, mkisofs, xine-ui, dvdauthor, mjpegtools
netpbm, transcode, dvd+rw-tools, lame >= 3.98

You can then go to YaST and confirm if you have 32-bit or 64-bit versions of those apps.

Did you ever get this digikam problem resolved?
I have found plenty of links but none of them show the problem sorted.
I’m beginning to wonder if the MPEG slideshow has ever worked for anyone on any computer!

BTW, I’m running suse 11.0 on a 32 bit machine.

On my 32-bit openSUSE-10.3 PC, just to do a simple test of your question, I just (a few minutes ago) created a 3-pix slideshow with digikam. I had the default xvcd, pal, 420mpeg2, with no audio, as the selections.

So it does work (for those settings) on my PC.

As I noted above in a previous post, this is NOT the software that I use, but I think it does partially address your question that I quoted.

Here clearly the problem is the user doesn’t has mjpegtools installed. There are no possible path problems since it complains about “/usr/bin/mpeg2enc” not just “mpeg2enc”.

Anyway, this shows that mjpegtools should obviously be “recommended” in the RPM package since the script says:

# This script use this packages :  'ImageMagick' ver >= 5.4.8 [http://www.imagemagick.org/]
#                                  'MjpegTools'  ver >= 1.6.0 [http://mjpeg.sourceforge.net/]
#
# You give the images files names on the command line (see the options '--help').
# The images formats must be reconized by ImageMagick program.
#
# This script used this externals binary programs :
#
# - 'montage'   from ImageMagick for resize the images for the TV screen size.
# - 'composite' from ImageMagick for make the transition between images.
# - 'convert'   from ImageMagick for convert the images before MPEG encoding.
# - 'identify'  from ImageMagick for check the background image file size.
# - 'ppmtoy4m'  from MjpegTools for create a video stream from the image.
# - 'yuvscaler' from MjpegTools for adapt the video stream size before MPEG encoding.
# - 'mpeg2enc'  from MjpegTools for encode the video stream in MPEG file.
# - 'ogg123'    from vorbis-utils to transcode an ogg-audio file to wav
# - 'mpg123'    to transcode an mp3-audio file to wav
# - 'mp2enc'    from MjpegTools to transcode a WAV sound file to a MP2 file.
# - 'mplex'     from MjpegTools for multiplexe the MPEG file and the MP2 sound and convert
#               the final MPEG file to a DVD/XVCD/SVCD/VCD format compatible with vcdimager program.

…someone reported the bug?

Well, I just did. Bug #431588.

No, that is because mjpegtools doesnt have mpeg2enc for openSUSE.
You can see the build spec for mjpegtools to see that mpeg2enc (and some other tools) is being removed from the package.

I came across that feature when packaging my program for openSUSE. So, the solution is to install mjpegtools from Packman repository.
More about dvd authoring tools under openSUSE one can read here.