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.
--add-metadata has some weird behavior #9650
Comments
|
That isn't possible with ffmpeg; it always needs to construct a new file with the applied changes. |
|
This behavior is explicitly requested by you: |
Description of your issue, suggested solution and other information
M'kay, so apparently --add-metadata involves rewriting the ENTIRE FILE?
youtube-dl -iw --no-continue $URL -f bestvideo+bestaudio --add-metadata --merge-output-format mp4 -o "[%(upload_date)s] %(title)s" --prefer-ffmpeg --download-archive archive.txt --postprocessor-args "-strict -2 -threads 8 -c:v libx264 -crf 18 -preset veryslow -c:a aac -b:a 192k -movflags +faststart"gives me an output of example.mp4 , fully playable, without metadata. Then I see another copy, example.temp.mp4, that slowly grows to the size of example.mp4 and then replaces it. The output of youtube-dl during all of this is the standard[ffmpeg] Adding metadata to 'example.mp4'Any way to fix this?