starman@programming.dev to Programming@programming.devEnglish · 2 年前FFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decadeswww.phoronix.comexternal-linkmessage-square8linkfedilinkarrow-up1195arrow-down10 cross-posted to: ffmpeg@lemmy.worldjellyfin@lemmy.mlfoss@beehaw.orghackernews@derp.foo
arrow-up1195arrow-down1external-linkFFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decadeswww.phoronix.comstarman@programming.dev to Programming@programming.devEnglish · 2 年前message-square8linkfedilink cross-posted to: ffmpeg@lemmy.worldjellyfin@lemmy.mlfoss@beehaw.orghackernews@derp.foo
minus-squareJuujian@lemmy.worldlinkfedilinkarrow-up24·2 年前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?
minus-squareSupercritical@lemmy.worldlinkfedilinkarrow-up62·2 年前Maybe 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-up22arrow-down4·2 年前Good old RTFM lol
minus-squareecho64@lemmy.worldlinkfedilinkarrow-up31·2 年前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
minus-squareOwlBoy@lemmy.worldlinkfedilinkarrow-up9·2 年前Oooo. 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?