fifonik / FFMetrics

Visualizes Video Quality Metrics (PSNR, SSIM & VMAF) calculated by ffmpeg.exe
562 stars 22 forks source link

Types of file supported? #106

Closed a-trioux closed 1 year ago

a-trioux commented 1 year ago

Hello great work! Thanks for this tool. I was just wondering what are the types of files supported now? I couldn't find the answer by myself, sorry... I can see that .mp4 works perfectly, however the original video file is usually .yuv, do you plan to add this in the next version? Thanks in advance for your reply!

fifonik commented 1 year ago

FFMetrics need to know details about video files such as frame size, frame rate, colour format (+ something else) to correctly supply arguments to ffmpeg. The information is extracted from video files using ffmpeg. If ffmpeg can get such information about your file -- it is supported by FFMetrics as well.

By default, file pickers files list limited to avi, avs, 264, h264, mts, m2ts, mkv, mov, mp4, mpeg, mpg, ts, webm, but you can always switch type to 'All files' or simply drag & drop files from explorer to ref/distorted files inputs.

However, raw video streams such as yuv or similar does not have the information required and so -- not supported by FFMetrics. I do not have plans to allow user to specify such information using UI for every file. Sorry.

kuznetcoff777 commented 1 year ago

Its a pitty that no such functionality to allow user set right info for yuv files

presyncope commented 1 year ago

I suggest you to use HEVC lossless encoding using ffmpeg. or you can also use constant QP encoding with low QP(10 or 12). Then FFMetric could accecpt this output.

fifonik commented 1 year ago

You can also use other lossless encoders such as free HuffYUV, UTVideo, cheap MagicYUV of some that inbuilt into ffmpeg. They are fast and use less space on drive than raw yuv stream.