PartitionedVideoInputFormat is used to read video files from HDFS in a partitioned manner.
Configuration
The configuration names consist of the following parameter:
- com.solusi247.video.numpartition
- Indicates the number of readers (partitions) created for each video file
- Each partition processes a portion of the video in parallel
- Increasing this value enables higher parallelism when processing large video files
Behavior
- Reads video files stored in HDFS
- Splits a single video into multiple logical partitions
- Allows multiple readers to process the same video concurrently
- Improves performance for large video files and compute-intensive video analytics
Typical Use Cases
- Parallel video processing workflows
- Large-scale video analytics on HDFS
- Frame extraction or similarity analysis on long videos