frexpl - Linux
Overview
frexpl is a command-line utility designed to explore and extract data from video files. It supports a wide range of video formats, providing data analysis and visualization capabilities for video content.
Syntax
frexpl [options] <input_video_file>
Options/Flags
| Option | Description | Default |
|—|—|—|
| -f | Output format (csv, json, sqlite) | csv |
| -o | Output file path | stdout |
| -s | Start timestamp (hh:mm:ss) | 00:00:00 |
| -e | End timestamp (hh:mm:ss) | End of video |
| -v | Verbose mode | False |
| -h | Display help message | |
Examples
Extract data from a video and print to stdout:
frexpl -f csv input_video.mp4
Extract data and save to a JSON file:
frexpl -f json -o output.json input_video.mp4
Extract data from a specific time range:
frexpl -s 00:01:00 -e 00:05:00 input_video.mp4
Common Issues
Error parsing video file: Ensure that the video format is supported by frexpl. Check the supported formats in the documentation.
Integration
Combine with ffmpeg for advanced video analysis:
ffmpeg -i input_video.mp4 -vf "frexpl=output_file.csv"
Related Commands
- ffmpeg: Video manipulation and conversion tool
- ffprobe: Video metadata extractor