I am using this
passthru("youtube-dl -o '../temp/%(title)s.%(ext)s' --restrict-
filenames --no-part --no-progress --newline --extract-audio --audio-format mp3 -w --audio-quality 0 http://www.youtube.com$vid");
as a part of my code where I download song from youtube-dl, but after downloading it takes 14-15 seconds to convert that to mp3. Is there any way to improve that and make the conversion faster ? Like make avconv use all cores. If so, then how ?
Thank you.