Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
FileNotFound after using FFmpegMerger #26832
Comments
|
On the 9th line it says it's deleting that file before the merge. Do you need the |
I'll walk through the log to answer question. Youtube-dl pulls the audio and video as two separate files. That happens here:
Then the files are merged into a new file. That happens here:
Then the files that were used for the merge are deleted. That happens here:
Then it tries to merge again, but the files that were deleted. That happens here:
The question is: why does it try to merge again when the merge already occurred before deleting the original two files? I shouldn't have to keep the original two files around because the merge already happened. In testing, the merged video I get has the video and sound that I expect, so I'm not sure why a second merge needs to take place? It feels like a bug. |
Checklist
Question
I'm using youtube-dl for a python script to download video and audio, then merge them as a post process. The issue I'm encountering is a FileNotFoundError that occurs after a successful merge. Can someone help me troubleshoot the issue? It appears to merge the files as expected, then delete the two files that were merged, then attempt a merge on a file that was deleted.
Here's the full output of the error:
For reference, this is my code: