Bug 379351 - i cannot make a showslide clip and i cannot render a clip with jpg images
Summary: i cannot make a showslide clip and i cannot render a clip with jpg images
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 18.08.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: junior-jobs
: 376860 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-29 16:16 UTC by Santiao
Modified: 2019-05-30 14:34 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.2
fritzibaby: low_hanging+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiao 2017-04-29 16:16:39 UTC
I am trying to define a showslide  clip but i cannot do it.
I cannot render a clip that contains jpg images with transitions and effects. The mp4 file resulting is all White and doesn t contain image.
I m using the Windows versión of Kdenlive.
Thanks
Comment 1 Jacob McDonald 2017-05-13 04:51:30 UTC
Confirmed on mine, as well. Using 33 h.264 video clips, interleaved with 33 JPEG images, using transition + pan&zoom on each JPEG. Looks fine in timeline, but the rendered file shows the transition to and from a solid white background.

Kdenlive 16.12.1.
Windows 10 x64, Core i7, 16 GB RAM.

Workaround I read is to use PNG instead of JPEG. Just sucks that I have to convert all of my images and replace them in the timeline. But I'll give it a try.
Comment 2 Cyril Giraud 2017-05-26 18:28:01 UTC
Kdenlive 16.12.3, UbuntuStudio 17.04 amd64, JPG mixed with DV and .MP4 source videos to .mp4 works fine. Windows or kdenlive version problem?

Found "Fix various aspect ratio issues and transparency of composite transition in some cases" fix here:  https://kdenlive.org/2017/02/kdenlive-16-12-2-released/

17.04 Windows version seems to be available: https://files.kde.org/kdenlive/release/Kdenlive-17.04.0-2-w64.7z.mirrorlist

Jacob: you could replace .JPEG with .PNG with Notepad++ editing .kdenlive file (backup before).
Comment 3 Jacob McDonald 2017-05-26 19:24:52 UTC
Cyril, thanks for the info. Since encountering this bug, I realized I should just get back into the Linux world for a bit anyway, so I just imported my project into Kdenlive in Linux and carried on without the problem. For the past several years I've been using FreeBSD more than Linux, but unfortunately the Kdenlive package in FreeBSD is hopelessly outdated. :-)
Comment 4 farid 2017-05-27 04:35:33 UTC
There is a known rendering bug of jpg's in the windows version. Note that the windows version is in an alpha state still.
Comment 5 Francis 2017-08-20 22:44:08 UTC
(In reply to Santiao from comment #0)
> I am trying to define a showslide  clip but i cannot do it.
> I cannot render a clip that contains jpg images with transitions and
> effects. The mp4 file resulting is all White and doesn t contain image.
> I m using the Windows versión of Kdenlive.
> Thanks

I believe that adding a slideshow clip is impossible for now (if you tried the: Add SlideShow Clip option). As for getting a white background, I encountered the same problem. Sometimes it would render some images (in .png) and not others. Try to copy the ffmpeg 3.2.4 bin folder files in the main folder of kdenlive, it solved it for me. There's a youtube video that shows different image formats being used and rendered in .mp4 format perfectly: https://www.youtube.com/watch?v=bQfUXTXzSkk
Comment 6 DeMus 2017-10-01 13:50:14 UTC
Also see https://bugs.kde.org/show_bug.cgi?id=376464 which tells about the same bug. It's not only Windows, it is also the linux version. I don't know when it started, which Kdenlive version, but suddenly it didn't work anymore. I now have a huge project which I can't finish becuase of it. Converting all images from jpg to png is possible but a lot of extra work.
Is it possible somebody takes a look at this? Thank you.
Comment 7 farid 2017-10-01 18:48:30 UTC
(In reply to DeMus from comment #6)
> Also see https://bugs.kde.org/show_bug.cgi?id=376464 which tells about the
> same bug. It's not only Windows, it is also the linux version. I don't know
> when it started, which Kdenlive version, but suddenly it didn't work
> anymore. I now have a huge project which I can't finish becuase of it.
> Converting all images from jpg to png is possible but a lot of extra work.
> Is it possible somebody takes a look at this? Thank you.

I am using the linux version and don't have any issues. Afaik it is a windows only problem... 

Which versions of MLT and Kdenlive are you using? How did you install them?
Comment 8 Jean-Baptiste Mardelle 2018-10-31 09:20:33 UTC
This is a Windows specific issue. On linux, slideshow clips using mime type are created with an url like :

Picture/.all.jpg
(will take all jpg images in the Pictures folder

But on Windows, the url needs to be:
Picture\/.all.jpg

So we need to adjust the code to append a backslash to the path (and
Comment 9 Jean-Baptiste Mardelle 2018-10-31 09:24:12 UTC
This is a Windows specific issue. On linux, slideshow clips using mime type are created with an url like :

Picture/.all.jpg
(will take all jpg images in the Pictures folder

But on Windows, the url needs to be:
Picture\/.all.jpg

So we need to adjust the code to append a backslash to the path (and adjust a few places where we check for ".all." to identify mime slideshows.

Something like:

#ifdef Q_OS_WIN
    folder.append(QDir::separator());
#endif

in line 423 of src/project/dialogs/slideshowclip.cpp should allow the creation of slideshow clips
Comment 10 emohr 2018-11-05 17:35:26 UTC
*** Bug 376860 has been marked as a duplicate of this bug. ***
Comment 11 emohr 2018-11-05 17:41:41 UTC
created https://phabricator.kde.org/T9992
Comment 12 emohr 2019-02-11 17:51:49 UTC
Workaround see here: Bug 404185
Comment 13 CzAndrew 2019-04-10 11:16:07 UTC
Hello everyone!
Can someone try and report if that workaround is working?:
Problem: If you added your photos, and after rendering the place of the image is the video is blank.
Solution (maybe?): 
1) Rename your photos to only sequence numbers, and the first file should be full zeros. For example, if you have 1001-9999 pcs of photos, rename the files like this: 0000.jpg; 0001.jpg; 0002.jpg etc... (of course, if you have less than 100 pcs of photos, you can use three character long file names)
2) Add a slideshow, use filename pattern, select the first image in the sequence.
3) Add the slideshow clip to the timeline, and render it.
In this case the slideshow / time-lapse will be rendered correctly.

If I start the image sequence with another file name then full zeros (01 or 001 or 0001...) then the image sequence is added to the Project Bin and the timeline, it plays correctly in Kdenlive, but when I render it, the video shows "INVALID" text with a black background.

May I ask you to use this workaround to create your image sequence and report if it has solved the problem?
Comment 14 emohr 2019-05-30 14:34:16 UTC
SlideShow on Windows is solved: https://invent.kde.org/kde/kdenlive/commit/7db21278c5a38e4187abf48a9901d624cfb0466f will come with 19.04.2.

JPG rendering is fixed with 19.04.0