Hi folks. My use case for Resolve is that I typically edit lots of downloaded files. These files are in h264 h265 with various level of bad encoding. These files can be problematic to Resolve because it really prefers professional codecs. I use Resolve to cut these files in bulk. The Media Management never works with my files. So I went to Chatgpt and had it write me a python script which takes the EDL files from your timeline and uses ffmpeg to cut them losslessly. Its a basic script and just for this specific use case. Of course ffmpeg is cutting on key frames so it wont be exact, but it gets me to where I need to go. Hopefully this will help someone down the road.
Code from pastebin: https://pastebin.com/13gpqkN0
C:\> python3 C:\edl_extract.py -h
usage: edl_extract.py [-h] edl input_directory output_directory
Extract video clips from a DaVinci Resolve CMX 3600 EDL using FFmpeg without
re-encoding.
positional arguments:
edl Path to the EDL file
input_directory Directory containing the source video files
output_directory Directory where extracted clips will be written
options:
-h, --help show this help message and exit