FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

[SUGGESTION] Cross-platform command-line AV1 / VP9 / HEVC / H264 / VVC encoding framework with per scene quality encoding

Open MarcoRavich opened this issue 3 years ago • 3 comments

I just found this interesting framework that aims to:

Spliting video by scenes for parallel encoding because AV1 encoders are currently not good at multithreading, encoding is limited to single or couple of threads at the same time.

  • PySceneDetect used for spliting video by scenes and running multiple encoders.
  • Fastest way to encode AV1 without losing quality, as fast as many CPU cores you have :).
  • Target Quality mode. Targeting end result reference visual quality. VMAF used as substructure
  • Resuming encoding without loss of encoded progress.
  • Simple and clean console look.
  • Automatic detection of the number of workers the host can handle.
  • Building encoding queue with bigger files first, minimizing waiting for the last scene to encode.
  • Both video and audio transcoding with FFmpeg.
  • Logging of progress of all encoders.

Github: https://github.com/master-of-zen/Av1an

Hope that helps/inspires !

MarcoRavich avatar Dec 10 '20 08:12 MarcoRavich

It's a really cool library with smart ideas. I really like the idea of per-scene quality detection, kinda like advanced CRF. That would be a cool thing to try to figure out long term.

Sadly can't directly incorporate their code as it is GPL licensed, so would have to use it as a library like I do FFmpeg. Then it also uses each raw encoder, so would turn into a cascading support issue to include all those / have support sections for each. So I don't think I will be looking to include it as another tool anytime soon, but it's a great tool that people should know about!

cdgriffith avatar Dec 11 '20 00:12 cdgriffith

Oh, that's me :eyes:

master-of-zen avatar Dec 11 '20 10:12 master-of-zen

Dunno if can help, but here's a GUI for it: https://github.com/natis1/qencoder

MarcoRavich avatar Dec 18 '20 08:12 MarcoRavich