Bug 448100

Summary: When I cut a video and replace a file I miss a frame and gap audio
Product: [Applications] kdenlive Reporter: Javier Celis <javcelgon>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Project_files_MLT_Source_Resize_ZIP_EXE_PACK

Description Javier Celis 2022-01-08 09:03:34 UTC
SUMMARY
When I cut a video and replace a file I miss a frame and gap audio. I have this issue, but this is not an expected behaviour and with non reframe video rate (frame numeration) it doesn´t happend.

STEPS TO REPRODUCE
1.  I have a mp4 file h264 and I make a subsample video_size=-1:360 with ffmpeg and try -r 15000/1001 (framerate), for use h264_qsv hardware accel.
2. With this file I create a kdenlivve project with a timepoint to cut this file, and put this in two tracks, render and it's OK
3. I replace the mp4 file for the original FHD 29.97fps file, render and I have a gap.

OBSERVED RESULT
I have a gap when I replace a file with changed framerate

EXPECTED RESULT
Cut a video and replace make the cut in a unique time previous and before in each track with audio-video continum. If I was Create an unique point and the time is the same previous and before I don´t expect the gap after replace and this issue works OK whithout framerate change in my pseudo proxy file -r 15000/1001

SOFTWARE/OS VERSIONS
Windows: Windows10_21H2
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
MLT: 7.3.0
Comment 1 Javier Celis 2022-01-08 09:33:21 UTC
Created attachment 145214 [details]
Project_files_MLT_Source_Resize_ZIP_EXE_PACK

In the 1080 project is possible see a gap because this is a 1 second video, but in larger projects, this is not visible adjust magnetic or gap, perhaps is interesting cretae a gap tag for timeline por adjust and near overlap.