ComfyUI > Nodes > TrentNodes > Video Folder Analyzer

ComfyUI Node: Video Folder Analyzer

Class Name

VideoFolderAnalyzer

Category
Trent/Video
Author
TrentHunter82 (Account age: 0days)
Extension
TrentNodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install TrentNodes

Install this extension via the ComfyUI Manager by searching for TrentNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter TrentNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Video Folder Analyzer Description

Analyzes video files in a folder, reporting on size, frame rate, and type for efficient management.

Video Folder Analyzer:

The VideoFolderAnalyzer is a powerful node designed to streamline the process of analyzing video files within a specified folder. Its primary purpose is to provide a comprehensive report on various video attributes such as size, frame rate, and file type. This node is particularly beneficial for AI artists and content creators who need to manage and understand large collections of video files efficiently. By automating the analysis of video files, it saves time and effort, allowing you to focus on creative tasks. The node can handle multiple video formats and can include subfolders in its analysis, making it versatile and adaptable to different organizational structures. It generates detailed reports in various formats, ensuring that the information is accessible and easy to interpret.

Video Folder Analyzer Input Parameters:

folder_path

The folder_path parameter specifies the directory containing the video files you wish to analyze. It is crucial for directing the node to the correct location of your video files. If the path is invalid or not provided, the node will not be able to perform the analysis. This parameter does not have a default value, and you must provide a valid path for the node to function correctly.

include_subfolders

The include_subfolders parameter is a boolean option that determines whether the node should include video files from subdirectories within the specified folder path. By default, this is set to False, meaning only the files in the top-level directory are analyzed. Setting this to True allows for a more comprehensive analysis by including all nested folders, which is useful for analyzing large collections organized in a hierarchical structure.

output_format

The output_format parameter allows you to choose the format in which the analysis report will be generated. The available options are text, json, and markdown, with markdown being the default. This flexibility enables you to select a format that best suits your needs, whether you require a human-readable report or a structured data format for further processing.

file_extensions

The file_extensions parameter is a string that specifies the video file types to be included in the analysis. By default, it includes common video formats such as mp4, avi, mov, mkv, wmv, flv, webm, m4v, mpg, and mpeg. You can customize this list by providing a comma-separated string of desired extensions, allowing the node to focus on specific file types relevant to your project.

Video Folder Analyzer Output Parameters:

report

The report output provides a detailed textual summary of the analysis conducted on the video files. It includes information such as the total size of the videos, frame rate statistics, and file type distribution. This report is designed to be easily readable and provides a quick overview of the video collection's characteristics.

json_data

The json_data output is a structured representation of the analysis results in JSON format. This output is particularly useful for further data processing or integration with other systems, as it allows for easy parsing and manipulation of the analysis data programmatically.

Video Folder Analyzer Usage Tips:

  • Ensure that the folder_path is correctly specified and accessible to avoid errors related to invalid paths.
  • Use the include_subfolders option to analyze entire video collections organized in nested directories, which can provide a more comprehensive overview.
  • Choose the output_format that best suits your needs; markdown is great for documentation, while json is ideal for data processing.
  • Customize the file_extensions parameter to focus the analysis on specific video formats relevant to your project, which can help in managing large datasets more effectively.

Video Folder Analyzer Common Errors and Solutions:

Error: Invalid folder path provided

  • Explanation: This error occurs when the specified folder_path is either empty or does not exist.
  • Solution: Double-check the folder path to ensure it is correct and accessible. Make sure the path is not empty and points to a valid directory.

No video files found in <folder_path>

  • Explanation: The node did not find any video files matching the specified extensions in the given folder path.
  • Solution: Verify that the folder contains video files with the specified extensions. You may need to adjust the file_extensions parameter to include the correct file types.

Video Folder Analyzer Related Nodes

Go back to the extension to check out more related nodes.
TrentNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Video Folder Analyzer