Some new multimedia loading/saving nodes (pyav-based) #6962
fat-tire
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As a personal learning project, I created two lightweight (<200 line) media nodes based on pyav, which is a Pythonic low-level binding for ffmpeg.
ComfyUI Unified Media Suite

It's meant to Load Media⤴️ and Save Media ⤵️ -- video, audio, single image files, etc. -- as streams to/from ffmpeg-supported formats/containers/codecs. HW-optimized codecs are supported too. Other nodes may do similar things, but as I haven't tried them (yet), I can't compare really.
These nodes have been "lightly-tested" on x86_64 ubuntu w/cuda by one person (me) for a few weeks, and not w/any other setup, so at this stage, there are surely bugs. I tried to document how it "works" (as far as it does) in the code and README.
The UI is basic-- it should be possible to add an upload button (I think I might need a
/upload/media
endpoint (?)), preview videos, or filter thepix_fmt
list on-the-fly as pyav provides that, but I haven't looked into how that stuff works yet. If anyone's good with .js or knows more, please hit me up.GPLv3. PRs encouraged. Install instructions in the README.
Cheers!
(there's also a Merge Media 🔀 node)
Beta Was this translation helpful? Give feedback.
All reactions