Transcoding and qualitative video analysis program
py video_analyzer.py -i origin_video.mp4
py video_analyzer.py -i origin_video.mp4 -c custom_config.json
ffmpeg_tools
- the path to ffmpeg tools
hwaccel
- hw decode("none" - without hw decode)
output_dir
- the path to save results
profiles
- transcoding profiles
metrics
- supported metrics
codec
- codec name (h264, libx264)
size
- scale parameter
bitrate
- transcode bitrate 2500
profile_name
- main, baseline
bframes
- buffer frames
br_variable
- bitrate variable in percent(if 100% then cbr)
{
"ffmpeg_tools" : "/path/to/ffmpeg/tools",
"hwaccel": "dxva2",
"output_dir": "./output",
"profiles": [
{
"codec": "h264",
"size": "1080p",
"bitrate": 2500,
"profile_name": "main",
"bframes": 0,
"br_variable": 100
}
],
"metrics": [
"PSNR"
]
}