MiniMax H3 Compose Accepted / 合成已接受片段 (EXP/T8):
The MiniMaxH3LongVideoComposeAcceptedT8 node is designed to streamline the process of compiling accepted video segments into a cohesive MP4 file. This node ensures that each accepted video file is verified and seamlessly integrated into a single output, maintaining the integrity of the original segments. It employs a memory-efficient approach by limiting the memory usage to one video frame and one segment of PCM audio at a time. The node also offers an option to use a cosine_bridge for audio transitions, which helps preserve the exact sample count, ensuring smooth audio continuity across segments. This functionality is particularly beneficial for users looking to create long-form videos from multiple segments while maintaining high-quality audio and video synchronization.
MiniMax H3 Compose Accepted / 合成已接受片段 (EXP/T8) Input Parameters:
chain_id
The chain_id parameter is a string that uniquely identifies the video chain being processed. It is essential for tracking and managing the sequence of video segments that are being composed. The default value is "my_h3_long_video".
filename_prefix
The filename_prefix parameter specifies the prefix for the output video file's name. This helps in organizing and identifying the output files easily. The default value is "H3_Long_Video".
require_final_segment
This boolean parameter determines whether the final segment of the video chain is required for composition. If set to True, the node will ensure that the final segment is included in the output. The default value is True.
audio_seam_policy
The audio_seam_policy parameter defines the method used for handling audio transitions between segments. Options include "cosine_bridge" for smooth transitions and "none" for no special handling. The default is "cosine_bridge".
bridge_ms
The bridge_ms parameter is a float that specifies the duration in milliseconds for the audio bridge when using the cosine_bridge policy. This helps in creating smooth audio transitions. The default value is 5.0, with a range from 0.0 to 50.0.
crf
The crf parameter stands for Constant Rate Factor, which controls the quality and compression level of the output video. A lower value results in higher quality. The default value is 18, with a range from 0 to 51.
MiniMax H3 Compose Accepted / 合成已接受片段 (EXP/T8) Output Parameters:
video
The video output is the final composed video file in MP4 format. It represents the seamless integration of all accepted segments into a single video file.
video_path
The video_path output provides the file path to the composed video. This is useful for locating and accessing the output file for further use or distribution.
report_json
The report_json output contains a JSON-formatted report detailing the composition process. This includes information about the segments used, any issues encountered, and the overall success of the operation.
MiniMax H3 Compose Accepted / 合成已接受片段 (EXP/T8) Usage Tips:
- Ensure that all segments are properly accepted and verified before using this node to avoid errors during composition.
- Use the
cosine_bridgeaudio seam policy for smoother audio transitions between segments, especially when dealing with music or dialogue. - Adjust the
crfvalue according to your quality requirements; lower values yield higher quality but larger file sizes.
MiniMax H3 Compose Accepted / 合成已接受片段 (EXP/T8) Common Errors and Solutions:
"H3 video latent must be [B,24,T,H,W]"
- Explanation: This error occurs when the input video does not match the expected dimensions.
- Solution: Ensure that the video input adheres to the required format with the correct number of channels and dimensions.
"MiniMax H3 currently supports video batch size 1"
- Explanation: The node only supports processing one video at a time.
- Solution: Adjust your input to ensure that only a single video is being processed at once.
"H3 source canvas must be divisible by 32"
- Explanation: The dimensions of the video must be compatible with the encoding requirements.
- Solution: Ensure that the height and width of the video are even numbers and divisible by 32.
