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.
Multithread support for postprocessing with ffmpeg #25330
Comments
|
|
|
@dstftw then would you be so kind and tell me how to use And since you closed the case without saying anything to the feature request "make multithread a default" part, does this mean that this does not make sense? Or why shouldn't that be the default? |
|
Have you even bothered to read it? |
|
Yeah i did. But unfortunately i did not understand what that means. So thanks for giving me another answer, now i am wiser and know that my problem can not be solved and doesn't have to do with youtube-dl. |
Checklist
Description
When I use youtube-dl to download audio (ogg), it converts the video to audio via ffmpeg.
ffmpeg itself has multithread support, but it is not active when called by youtube-dl for some reason.
I searched for multicore support and only found #1125 which is closed, but the provided solution (--postprocessor-args "-threads 3") does not work.
My VM has 4 Threads to work with, and i tried the following:
youtube-dl --extract-audio --audio-format vorbis --audio-quality 0 --postprocessor-args "-threads 3" --metadata-from-title "%(artist)s - %(title)s" -o ~/Schreibtisch/%(title)s\ -\ %(upload_date)s.%(ext)s URL
I also tried different "places" for the postprocessor-args within the command, none of those trys worked.
Someone can give me a hint what i am doing wrong? Or is this not working at all?
The main request would be to make multithread support the default since todays processors have multiple threads available. So this would improve the performance for majority of users.