Bug 447446

Summary: Fade transition with ken burns panning generates jumping images
Product: [Applications] digikam Reporter: Christian Weiske <cweiske>
Component: Plugin-Generic-VideoSlideshowAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christian Weiske 2021-12-23 19:46:06 UTC
SUMMARY
When creating a slideshow video file with Tools>"Create video slideshow" and using the "ken burns - camera pan left to right" display effect together with the "Fade" image transition leads to "jumping" images after the fade effect.

The face effect fades into the centered image, but the ken burns effect starts with the image moved to the right. When the fade effect ends, the image jumps from center to the right.

STEPS TO REPRODUCE
1. Select two images
2. Tools > Create video slideshow"
3. Image selection: Images, next
4. Next
5. Video settings:
5.1. Effect displaying images: Ken Burns - camera pan left to right
5.2. Transition between images: Fade
6. Generate and view video 

OBSERVED RESULT
When the fade-in effect is over, the image jumps from the center to the right, because the ken burns effect starts with the image on the right side.

Example video: http://tmp.cweiske.de/digikam-bug-slideshow-transition.mp4

EXPECTED RESULT
Images do not jump around but move and transition smoothly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04 with Mate desktop 1.24.0-2
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system

ADDITIONAL INFORMATION
ffmpeg info:
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Comment 1 caulier.gilles 2023-05-01 07:49:42 UTC
@Christian

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 2 caulier.gilles 2023-10-11 05:57:59 UTC
@Christian,

What's about this file using current 8.2.0 AppImage Linux bundle ? It's
reproducible ?

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 3 Christian Weiske 2023-10-11 17:06:02 UTC
I can reproduce the bug in digikam 8.2.0