Bug 379007 - ffmpeg integration fails on first launch
Summary: ffmpeg integration fails on first launch
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Installation (show other bugs)
Version: 16.12.1
Platform: Other Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 16:53 UTC by Rasmus Schultz
Modified: 2018-10-13 13:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rasmus Schultz 2017-04-20 16:53:31 UTC
The first time kdenlive is launched, the ffmpeg integration fails.

Attempting to open any video clip (via the "Add Clip" dialog or by dragging and dropping) triggers the following message appears:

    "Clip is invalid, will be removed from project"

This error message isn't very helpful, but it's also wrong - there is nothing wrong with the clip, it's the integration with ffmpeg which appears to be failing.

These are the exact steps to reproduce this bug.

Step 1: Follow the exact installation instructions on the download page to the point - as of today, that means downloading the following:

https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.2.2-win64-shared.zip

http://mirrors.dotsrc.org/kde-applicationdata/kdenlive/release/Kdenlive-16.12.1-w64.zip

I unpacked kdenlive to a folder in the root of my harddrive, to make sure I avoid any potential issues with permissions.

I unpacked all files from the "bin" folder of the ffmpeg archive into the kdenlive installation folder.

I unpacked the "presets" folder into the kdenlive installation folder.

Step 2: Launch the application.

Upon first launching the application, any attempt to add a video clip fails with an error message as described above.

Step 3: Close the application and launch it again.

Adding the same video clips now works without problems.

I was able to reproduce the issue following these steps on two distinct systems, both running Windows 10 Pro 64-bit.

Best guess, the app is doing some kind of internal configuration the first time it sees the ffmpeg binaries - but it needs this information to actually launch correctly, and doesn't have that information in place until you launch the app for the second time.
Comment 1 Mikael Falkvidd 2017-10-21 11:51:16 UTC
I had the same problem (got "Clip is invalid, will be removed from project" when trying to add AVCHD MTS file at first launch of Kdenlive).

Existing the program, launching it and performing the same operation again works.
Comment 2 emohr 2018-10-13 13:36:26 UTC
Should be fixed with Kdenlive version 18.04