Houdini, Pipeline, Python, Scripting, Tools

FFmpeg MP4 from Files


» This Python GUI utilize FFmpeg to generate .mp4 files from file sequences & GIF`s «


GITLAB Repository:

https://gitlab.com/e_noni/ns_create_mp4_fromfolder_gui


Requirements:

  • Python 3.7
  • PySide2
  • FFmpeg
  • OCIO config file
  • SideFX Houdini (for AcesCG – srgb conversion)

Create mp4 files from picture sequences via FFmpeg. With Bitrate control or Presets.
(Right-Click on folder)
OCIO AcesCG -> srgb conversion via hoiiotool.exe (SideFX Houdini).
And as gimmick, generate .gifs from .mp4, .mov, .avi files

Usage (Windows)

  • Create a venv with the needed side-packages
  • Create shortcuts/sys links from both *.bat files and put it to:

C:\Users\<USER>\AppData\Roaming\Microsoft\Windows\SendTo

Supported file sequence format:

file_name.{frame_number}.file_format

Necessary pathes:

You can define a “Viewer” which will be opened with the generated file after the encoding process

With “Use Presets” FFmpeg ignores the Bitrate parameters (green).

There are two modi for *.gif generation. “2-Pass” generates a palette.png in a extra pass.
2-Pass has overall a better quality.

Hint:

In cases of using the OCIO AcesCG -> srgb conversion, a “srgb_view” folder appears with the converted file sequence. The .mp4 file will be generated in that folder.
Otherwise, always at the same place where the file sequence is present.