Bug 438483 - proxy clips and non proxy clips sometimes differ by a frame
Summary: proxy clips and non proxy clips sometimes differ by a frame
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 21.04.1
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-06-11 23:38 UTC by wkgolhfj
Modified: 2024-10-27 09:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wkgolhfj 2021-06-11 23:38:56 UTC
proxy clips and non proxy clips sometimes differ by a frame


STEPS TO REPRODUCE
1. create new project and import clip with 29.97fps
2. press "switch" to change to clip profile 29.98fps ([resolution] 29fps)  [is this the cause?]
3. right click clip and turn on proxy clip
4. drag clip into timeline
5. make some cuts
6. right click original clip in project bin and turn off proxy clip

OBSERVED RESULT
some cuts are now one frame off. the cuts are one frame too late in my experience.
it's not the cut position in the timeline that changes, but the cut position in the clip. let's say i want to cut away one frame before the big explosion happens. this bug sometimes causes the first frame of the explosion to render in the final video if i don't render using proxy clips.


EXPECTED RESULT
proxy clips and non proxy clips should have all cuts on the same frame

SOFTWARE/OS VERSIONS
Linux: 5.12.9-300.fc34.x86_64 

ADDITIONAL INFORMATION
ffmpeg Version: 4.4
Comment 1 wkgolhfj 2021-06-11 23:58:15 UTC
my original clip has these properties:

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 1920x1080, 15064 kb/s, 29.98 fps, 29.97 tbr, 90k tbn, 180k tbc (default)



the proxy clip kdenlive created has these:

Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 640x360, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)