starman@programming.dev to Programming@programming.devEnglish · 2 years agoFFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decadeswww.phoronix.comexternal-linkmessage-square8fedilinkarrow-up1193 cross-posted to: jellyfin@lemmy.mlfoss@beehaw.orgtechnology@hexbear.nethackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up1193external-linkFFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decadeswww.phoronix.comstarman@programming.dev to Programming@programming.devEnglish · 2 years agomessage-square8fedilink cross-posted to: jellyfin@lemmy.mlfoss@beehaw.orgtechnology@hexbear.nethackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squareJuujian@lemmy.worldlinkfedilinkarrow-up24·2 years agoI’m not sure I understand. I’ve already been running ffmpeg from the command line and it’s been using multiple cores but default. What’s the difference, what’s the new behavior?
minus-squareSupercritical@lemmy.worldlinkfedilinkarrow-up62·2 years agoMaybe this? Every instance of every such component was already running in a separate thread, but now they can actually run in parallel.
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up21·2 years agoGood old RTFM lol
minus-squareecho64@lemmy.worldlinkfedilinkarrow-up30·2 years agobefore you could tell an encoder to run multiple threads, but everything outside of the encoder would run effectively single threaded. now you (should) be able to have all the ffmpeg components, decoder, encoder, filters, audio, video, everything all run parallel
minus-squareOwlBoy@lemmy.worldlinkfedilinkarrow-up8·2 years agoOooo. Will it be automatic? Or do you need to pass a flag?
I’m not sure I understand. I’ve already been running ffmpeg from the command line and it’s been using multiple cores but default. What’s the difference, what’s the new behavior?
Maybe this?
Good old RTFM lol
before you could tell an encoder to run multiple threads, but everything outside of the encoder would run effectively single threaded.
now you (should) be able to have all the ffmpeg components, decoder, encoder, filters, audio, video, everything all run parallel
Oooo. Will it be automatic? Or do you need to pass a flag?