-
Notifications
You must be signed in to change notification settings - Fork 437
Creating an EDL file with video that is 23.98 seems to have some sort of frame drift #502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you sure the framerate is 23.98 exactly? Could you provide a deubg log as well? E.g. add |
If I need to be ultra exact, its 23.976, however I was still getting this issue before defining the frame rate as exactly 23.98. and since I'm not well versed in using command prompts and the like, is an output from Shutter Encoder (which uses ffmpeg and ffprobe) sufficient? and here's my log file that was created Would the fact I'm using apple's pro res proxy be an issue? By the way, can I just say how great full I am for you creating this wonderful tool, I'm legitimately looking to replace a 800CAD tool with this library :) |
The FPS must be exact if you define it manually, so it needs to be 23.976. You shouldn't need to define the FPS manually in most cases. Let me know if that fixes the issue. |
Hi again, I've modified my script again following what you said previously. It still is showing the same behaviour even with the command now feeding the exact time code of 23.976. Here's my attached Log File and the resulting EDL file, To help with this, I've also done the same test with a video I do have rights to share, converting with the same process as used for the redacted video and I've gotten the same results... However when using this video as normal in its native 25fps framerate, everything worked smoothly. Here's a video showcasing the drift in an actual session, 2025-04-08.21-06-52.mp4And log files and the EDL for this conversion 2398life_of_mammals_01_winning_design_Apple_ProRes_Proxy.txt EDIT; |
Do you suspect the issue is related to a specific codec? If so, could you try running using the PyAv backend (add |
Just ran again with pyav and still experiencing the same issues, although there does seem to be a different amount of cuts. As far as you're aware, should PySceneDetect function with any valid codec? ie, major codecs supported by ffmpeg? |
Interesting, I wonder why the difference is there... It should work with most codecs, but that depends on what backend library you're using, and how it was compiled for your system. That's also why we support different backends, for folks with different needs. Could you respond to the two questions I posted previously? And please do provide a sample if possible. It's possible I missed something when I added the |
Uh oh!
There was an error while loading. Please reload this page.
Description:
Creating an EDL from a 90min feature that is 23.98 seems to create an EDL file that has drifting timecodes. i.e, they start frame accurate, but as the timecodes increase in value from 00.00.00.00 they begin to become shorter/longer than the actual timecodes needed to be frame accurate.
Command:
scenedetect -v info -m 8 -f 23.98 -i '/Volumes/TB4 2T/!Sound Projects/WORK/FolderName/!!Picture/VideoName_Apple_ProRes_Proxy.mov' detect-adaptive save-edl -o '/Volumes/TB4 2T/!Sound Projects/WORK/FolderName/!!Picture'
Output:
All I've done is redacted the name of the video since its for an active project, and I've changed the extension of the EDL back to TXT to allow me to upload it to GitHub
VideoName_Apple_ProRes_Proxy.txt
Environment:
[PySceneDetect] PySceneDetect 0.6.6
System Info
OS macOS-15.2-arm64-arm-64bit-Mach-O
Python CPython 3.13.2
Architecture 64bit + Mach-O
Packages
av Not Installed
click 8.1.8
cv2 4.11.0
imageio Not Installed
imageio_ffmpeg Not Installed
moviepy Not Installed
numpy 2.2.3
platformdirs 4.3.6
scenedetect 0.6.6
tqdm 4.67.1
Tools
ffmpeg Not Installed
mkvmerge Not Installed
I trigger this command via Keyboard maestro to auto fill various parts of the command to then send keystrokes to Pro Tools (DAW used in post production). I've verified that its not something caused by my macro as the timecodes listed in the first column don't match a visible hard/fast cut in the respective video
The text was updated successfully, but these errors were encountered: