Bug 324646 - digiKam hangs when producting "Video Slide Show"
Summary: digiKam hangs when producting "Video Slide Show"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-VideoSlideshow (show other bugs)
Version: 5.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-08 07:38 UTC by Axel Krebs
Modified: 2020-08-26 03:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0


Attachments
A patch from ROSA & OpenMandriva that adds check for an empty destination (972 bytes, patch)
2013-10-11 15:38 UTC, Pulfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Krebs 2013-09-08 07:38:48 UTC
When selecting 6 jpg pcs digiKam hangs forever.

§rror message occurs: "gstfilesink.c(427): gst_file_sink_open_file (): /GstPipeline:pipeline0/GstFileSink:filesink0"

Search in DuDuckgo leads to the following URL:
https://duckduckgo.com/?q=gstfilesink.c%28427%29%3A+gst_file_sink_open_file+%28%29%3A+%2FGstPipeline%3Apipeline0%2FGstFileSink%3Afilesink0&t=canonical

Reproducible: Always

Steps to Reproduce:
1. select some pics
2. start "Export to Video Slide Show"
3. digiKam hangs + produces error message
Actual Results:  
Not possible to create a video slide show
functionality of digiKam questioned

Expected Results:  
show just run as a "start-and-forget functionality"

As much as I remember, tis option did never work yet on my machines.
Comment 1 Pulfer 2013-10-11 13:46:26 UTC
Still happens in 3.5.0.
Comment 2 Pulfer 2013-10-11 15:36:58 UTC
(In reply to comment #1)
> Still happens in 3.5.0.

I found that there's no check for an empty destination path. And the issue occurs when the destination file is not set.
Comment 3 Pulfer 2013-10-11 15:38:57 UTC
Created attachment 82788 [details]
A patch from ROSA & OpenMandriva that adds check for an empty destination
Comment 4 caulier.gilles 2013-10-30 07:51:11 UTC
Git commit aa2062f3694a1271952fa85719990cb20896ae77 by Gilles Caulier.
Committed on 30/10/2013 at 07:49.
Pushed by cgilles into branch 'master'.

VideoSlideshow tool : apply patch #82788 from ROSA & OpenMandriva that adds check for an empty destination
FIXED-IN: 4.0.0

M  +42   -25   videoslideshow/manager/actionthread.cpp

http://commits.kde.org/kipi-plugins/aa2062f3694a1271952fa85719990cb20896ae77
Comment 5 caulier.gilles 2017-06-02 13:16:52 UTC
Git commit 8dda686cf8c9409c03786007e47e1f15e1419097 by Gilles Caulier.
Committed on 02/06/2017 at 12:55.
Pushed by cgilles into branch 'master'.

New digiKam Video SlideShow tool based on QtAV/FFMpeg encoder.

The tool replace the older Qt4 kipi plugin based on ImageMagick and GStreamer which never
work as expected due to run time dependencies with GStreamer which are a big puzzle to resolve
and don't work under MacOS and Windows.
The tool permit to encode images as a video diaporama.
The tool support many video codecs as X264 or MPEG4 provided by FFMpeg and
is able to store stream as AVI, MKV, or MP4 media.
The tool permit to apply a transition effect between images (same effects than presentation tool non-OpenGL).
The tool permit to export image from current select or a set of albums selection (as HTMLGallery tool).
The tool do not permit to encode an audio soundtrack with the video stream due a bug in QtAV which
have been reported and must be fixed in next QtAV release 1.12.0.
The tool is available currently under digiKam album GUI, but it will be also available into
ImageEditor, LightTable, and Showfoto (as HTMLGallery, Panorama, Calendar, etc... tools.)

Screeshots of tool in action : https://www.flickr.com/photos/digikam/albums/72157684569983835
Related: bug 316791, bug 320725, bug 337605, bug 331625, bug 176727, bug 318297, bug 153061, bug 334089, bug 271751
FIXED-IN: 5.6.0

M  +17   -0    app/main/digikamapp.cpp
M  +1    -0    app/main/digikamapp.h
M  +2    -1    app/main/digikamui5.rc
M  +14   -0    libs/widgets/mainview/dxmlguiwindow.cpp
M  +9    -1    libs/widgets/mainview/dxmlguiwindow.h

https://commits.kde.org/digikam/8dda686cf8c9409c03786007e47e1f15e1419097