jhogsett / EMA-VFI-WebUI

Advanced AI-Based Video Renovation UI Using EMA-VFI & Real-ESRGAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you integrate video frame extraction?

zelenooki87 opened this issue · comments

Please integrate ffmpeg video extraction and option to save intepolated frames as video.
That will save my time very.
thank you

Hi @zelenooki87 both features are already available:

MP4 to PNG Sequence

PNG Sequence to MP4

There are some other tools available on the Tools tab

yeah, I knew that.
Would you consider to automate process....?
just to insert video file and than convert to desired framerate, like nmkd did in Flowframes?
and add prores option as export. With audio.
Project is okay, ema vfi has great potential but please automate process for simpliffier use.
thanks

I see. I think it would work like this:

  • submit a video file
  • choose some processing options like AI frame interpolation and AI frame upscaling
  • automatically handle the processing and produce a final video, including audio
  • All done with a few clicks and one button click

I like it.

I'm working on something like this called Video Remixer (in final testing stage). It works like this:

  • Submit a video
  • choose some options (aspect ratio correction, split in scenes by: detected scene, detected break or by each minute
  • automatically makes thumbnails of each scene
  • has a Scene Chooser to choose which scenes to keep vs. leave out
  • After choosing scenes, provides processing choices (interpolation, upscaling, etc.)
  • Processes the frames and recombines the original audio
  • Produces a final video w/audio of the selected scenes stitched together

If ones leaves out the scene choosing part of the feature, it's almost exactly what you're asking for. (I don't know much about prores, but if FFmpeg can output it, so can this tool.)

I plan to merge the pull request soon. The feature tab will be found on Tools, Split & Merge Frames, Video Remixer.

How should I set new video path on video remixer tab?
In "Input a video to get started remixing":
always getting error,
frame interpolation on extracted folders working okay, but when I try to create new project, it wont let me says "error"
always getting error,

It should be a full path to a video on the same server, like (in my case):

c:\content\videos\somevideo.mp4

What is the error? What is showing in the log viewer?

friend, problem in my case was environment conda, cause I used it for onother two github projects... i created new conda environment from scratch and everything is OK.

could you please change factor for saving videos to be smaller than 17? for lossless saving? thank you

You can alter that default value yourself in the config.yaml file, it's in the 'remixer_settings' section:

remixer_settings:
  minimum_crf: 17

Also, if you care to, you can save custom settings to your own .yaml file and pass it on the command line when starting up.

This is how I start mine:

>python webui.py --config_path "config-local.yaml"

Thank you, realy appreciate

@zelenooki87 you might find this feature useful #97

It let's you output the remixed video with your own custom audio and video FFmpeg command-line options, so you are not limited to only MP4. I think this might help you, since you mentioned prores output. I have tested and been able to create MPG and WMV videos using it.