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.
Calling ffmpeg once #8476
Calling ffmpeg once #8476
Comments
|
Bump |
It has come to my attention that youtube-dl calls ffmpeg 3 times if we enable "--write-sub --all-subs --embed-subs --embed-thumbnail --add-metadata" when we can just safely call ffmpeg once to do all stuffs(maybe except thumbnail as it requires atomicparsley).
This is a huge waste in system resources, much more noticeable in embedded environments with limited I/O throughput.
[ffmpeg] Merging formats into "iPhone 6s Chipgate-0bAeJ5fJ1M0.mp4"
[ffmpeg] Adding metadata to 'iPhone 6s Chipgate-0bAeJ5fJ1M0.mp4'
[ffmpeg] Embedding subtitles in 'iPhone 6s Chipgate-0bAeJ5fJ1M0.mp4'
This leaves a clear room to improve.
I personally cannot write Python codes, so it'd be really nice if someone jumps in and improve this.
Thanks :)