I've come to find out that ChatGPT is useless at this task. Copilot has been extremely useful, though, as it already knows the rest of my codebase and can quickly integrate things together. Also, has an ffmpeg course I highly recommended,