Created attachment 121887 [details] shellscript re-extracting frames from original source video files based on frame image file names SUMMARY "Extract frame" and "Extract frame to project" functionality on a clip exports wrong frame ... probably the previous I frame or some other frame. STEPS TO REPRODUCE 1. use any mp4/H.264 video clip 2. select some frame within 3. export frame to project 4. cross-check exported frame with currently selected frame OBSERVED RESULT Different frame (earlier I-frame) got exported than selected in the clip. EXPECTED RESULT Correct frame which is selected gets exported. VERSIONS kdenlive-19.04.3-x86_64.appimage OS ffmpeg 4.1.3-0ubuntu1 ADDITIONAL INFORMATION When running ffmpeg manually for extracting frames, it will extract the *correct* frame based on the framenumber as specified in the exported frame's image file name. This leads to the assumption that this is in fact a problem with the current Kdenlive version(s), directly or indirectly, as older versions, especially the stable pre-refactor branch work correctly. Kdenlive appimage uses the appimage-internal ffmpeg as far as I can see from the config environment dialog. For reference, I've attached a shell script that automatically re-extracts the frames from the original video source files based on the frame image filenames and the project framerate deduced from the specified kdenlive project file. This shows that the problem is inside Kdenlive (or MLT?), but not with ffmpeg (unless we suspect my ffmpeg version 4.1.3-0ubuntu1 to be much different from the appimage's ffmpeg).
Should be fixed in 19.08. You can test the beta AppImage: https://files.kde.org/kdenlive/unstable/kdenlive-19.07.90-beta-x86_64.appimage.mirrorlist
Better, but not yet completely correct: it is off by one frame, at least with the 29.97fps source clip I'm currently working with. The updated appimage captures one frame *too early*, at least for the frame I randomly tested. Maybe this could be some rounding issue that's different between what the clip playback monitor does and the updated frame extraction calculation? For reference: when running my script on the frame I randomly tested, it extracts the same frame as shown in the clip monitor. Tested with today's 19.07.90-beta-x86_64.appimage.
Do you still experience this with latest appimage, can you please test and let us know?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!