Skip to content

VMAF is calculated with the wrong pixel format (4:2:0 instead of 4:4:4) #200

@HD1080ide

Description

@HD1080ide

My files are of the pixel format yuv444ple, which is correctly detected by FFMetrics. But in the FFmpeg command "format=yuv420p" is used to calculate the VMAF:

ffmpeg -hide_banner -nostdin -r 25 -i "distorted.mov" -r 25 -i "reference.mov" -frames:v 125 -lavfi [0:v]settb=AVTB,setpts=PTS-STARTPTS,format=yuv420p[main];[1:v]settb=AVTB,setpts=PTS-STARTPTS,format=yuv420p[ref];[main][ref]libvmaf=eof_action=endall:log_fmt=json:log_path='C\:[...].log':n_threads=47:pool=Mean:model=version=vmaf_v0.6.1 -f null -

EDIT:

I also noticed that setpts=PTS-STARTPTS is causing a low VMAF score. I'm getting the highest score with this simple command:

ffmpeg -i "distorted.mov" -i "reference.mov" -lavfi "[main][ref]libvmaf=n_threads=48" -f null -

Is it possible to execute a ffmpeg command manually and then load the data into FFMetrics for visualization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions