Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates video format conversion with codec compatibility, quality adjustments, OpenCL acceleration, and audio codec options.
The VideoFormatConverter node is designed to facilitate the conversion of video files from one format to another, ensuring compatibility with various codecs and output specifications. This node is particularly useful for AI artists who need to process and convert video files for different platforms or purposes without delving into the technical complexities of video encoding. By leveraging this node, you can easily adjust video quality, frame rate, resolution, and other parameters to meet your specific needs. The node also supports OpenCL acceleration for faster processing and provides options for audio codec selection and bitrate adjustment, making it a versatile tool for video format conversion.
This parameter specifies the path to the input video file that you want to convert. It is a string value and should be a valid file path. If not provided, a file dialog will prompt you to select the input file.
This parameter determines whether the output file should be generated. It accepts two values: "true" or "false". If set to "false", the node will not produce an output file. The default value is "true".
This parameter specifies the name of the output video file. It is a string value and should include the desired file name without the extension, as the correct extension will be appended based on the selected video format.
This parameter defines the format of the output video file. It accepts the following options: "avi", "mov", "mkv", "mp4". The default value is "mp4".
This parameter specifies the codec to be used for encoding the output video. It accepts the following options: "av1", "h264", "h264(NVENC)", "hevc", "hevc(NVENC)". The default value is "h264".
This parameter controls the quality of the output video. It is an integer value ranging from 5 to 40, with 5 being the highest quality and 40 being the lowest. The default value is 10.
This parameter sets the frame rate of the output video. It accepts the following options: "8", "15", "24", "25", "30", "50", "59", "60", "120". The default value is "25".
This parameter enables or disables OpenCL acceleration for faster video processing. It accepts two values: "enable" or "disable". The default value is "disable".
This parameter specifies the width of the output video in pixels. It accepts a range of values from "272" to "2560". The default value is "1280".
This parameter specifies the height of the output video in pixels. It accepts a range of values from "272" to "2560". The default value is "720".
This parameter determines the scaling filter to be used when resizing the video. It accepts the following options: "bilinear", "bicubic", "neighbor", "area", "bicublin", "lanczos". The default value is "bicubic".
This parameter specifies the method to be used for processing the video. It accepts two values: "fill" or "crop". The default value is "fill".
This parameter defines the codec to be used for encoding the audio in the output video. It accepts the following options: "copy", "mp3", "aac". The default value is "aac".
This parameter sets the bitrate for the audio in the output video. It accepts the following options: "96", "128", "192". The default value is "192".
This parameter specifies the number of audio channels in the output video. It accepts the following options: "original", "mono", "stereo". The default value is "stereo".
This parameter sets the sample rate for the audio in the output video. It is an integer value representing the sample rate in Hz.
This parameter specifies the path where the output video file will be saved. It is a string value and should be a valid directory path. If not provided, a file dialog will prompt you to select the output directory.
This parameter returns the name of the output video file, including the correct file extension based on the selected video format. It is a string value.
This parameter provides information about the processed video, such as resolution, frame rate, and bitrate. It is a structured value containing various details about the output video.
© Copyright 2024 RunComfy. All Rights Reserved.