VMAF Filter

Website, builds, or other suggestions.
Post Reply
dpury
Posts: 3
Joined: Thu Nov 29, 2012 4:57 pm

VMAF Filter

Post by dpury » Tue Oct 17, 2017 7:32 pm

Hello, I would love to see libvmaf enabled. I hope others do too.

https://ffmpeg.org/ffmpeg-filters.html#libvmaf

navilor
Posts: 51
Joined: Thu May 12, 2011 5:19 pm

Re: VMAF Filter

Post by navilor » Tue Oct 24, 2017 6:47 am

Adding libvmaf would be great, but it segment faults right now.

https://github.com/Netflix/vmaf/issues/111

This issue has also been reported to the FFmpeg developers who are dependent upon the vmaf developers to resolve the issue on their end.

http://trac.ffmpeg.org/ticket/6691#comment:2

Once that issue is resolved and libvmaf becomes stable (I don't expect it to become stable anytime soon) I would love to have this library included in FFmpeg.

xtemp09
Posts: 1
Joined: Sat Jan 06, 2018 6:37 pm

Re: VMAF Filter

Post by xtemp09 » Sat Jan 06, 2018 6:39 pm

The issue has been fixed. Will it be implemented?

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: VMAF Filter

Post by Zeranoe » Sun Jan 07, 2018 6:41 pm

This lib currently depends on pthread, which is not included with the builds right now.

I'm trying to avoid adding pthread support because it's slower than FFmpeg's Windows threading implementation.

navilor
Posts: 51
Joined: Thu May 12, 2011 5:19 pm

Re: VMAF Filter

Post by navilor » Sun Jan 07, 2018 8:17 pm

Zeranoe wrote:
Sun Jan 07, 2018 6:41 pm
This lib currently depends on pthread, which is not included with the builds right now.

I'm trying to avoid adding pthread support because it's slower than FFmpeg's Windows threading implementation.
Pthreads are required if you ingest UDP packets typically coming from live RTP, RTSP, or MPEG-TS feeds. I do that frequently at work when diagnosing a customer's horrific source live feed(s) or having them record their incoming MPEG-TS/RTP streams for debugging. Pthreads are also mentioned in the FFmpeg streaming guide in the "point to point streaming" section in the article below.

https://trac.ffmpeg.org/wiki/StreamingG ... tstreaming

On a side note I wrote an article on my blog detailing how people fail to use FFmpeg properly when creating streaming media compliant video on demand content when using the x264 implementation of the H.264 codec and the built in AAC audio codec. I wrote the article to make my job easier and it has been a hit with all of the customers that I serve.

https://videoblerg.wordpress.com/2017/1 ... -it-wrong/

Pthreads are important for streaming media. Please implement them.

mapg
Posts: 4
Joined: Fri Jun 20, 2014 1:06 pm

Re: VMAF Filter

Post by mapg » Tue Apr 30, 2019 10:30 pm

VMAF filter is a very important video quality metric today. It has been developed by NetFlix and is becoming a standard.

It doesn't make sense exclude it. Any guy focused on video quality is using VMAF today.

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: VMAF Filter

Post by richardpl » Wed May 01, 2019 1:34 pm

VMAF is just trend, not reality.

navilor
Posts: 51
Joined: Thu May 12, 2011 5:19 pm

Re: VMAF Filter

Post by navilor » Wed May 01, 2019 3:28 pm

richardpl wrote:
Wed May 01, 2019 1:34 pm
VMAF is just trend, not reality.
Either you are trolling people or you are not in the streaming media industry. I started my career in streaming media back in 2008 at RealNetworks and cut my teeth on the RTSP protocol.

The single most commonly asked question in streaming media is what bitrate should a person use for X video. There is no one size fits all answer to give but the answer can be found if you have a tool that can accurately analyze a file as if it were a human. VMAF solves that problem. VMAF has been adopted by the industry to prevent bitrate overshoot and ensure that perceptual quality is consistent.

https://medium.com/netflix-techblog/vma ... b51ee9ed12

PNSR and other metrics do not reflect human perception. Netflix used human perception to find better results.
https://medium.com/netflix-techblog/tow ... 3f208b9652

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: VMAF Filter

Post by richardpl » Fri May 03, 2019 9:40 am

Is there other implementations of VMAF?
Is there open specification how to do VMAF?

navilor
Posts: 51
Joined: Thu May 12, 2011 5:19 pm

Re: VMAF Filter

Post by navilor » Fri May 03, 2019 3:45 pm

richardpl wrote:
Fri May 03, 2019 9:40 am
Is there other implementations of VMAF?
Is there open specification how to do VMAF?
VMAF is open source and can be found on github. It can be compiled on it's own. Note that compiling it on Windows with Visual Studio created a broken build the last time I tried.
https://github.com/Netflix/vmaf

Microsoft has a thing, however I'm not sure if it is open source. It is also targeting their Azure platform.
https://techcommunity.microsoft.com/t5/ ... d-p/400617

Moscow State University has their Video Quality Metric Tool. It is not open source, the full version is $1,000, and the trial version does not support resolutions at or above 720p.
http://compression.ru/video/quality_mea ... nload.html

If you want to get a VMAF score of about 92 every time then check out my blog post on how to use FFmpeg wrong.
https://videoblerg.wordpress.com/2017/1 ... -it-wrong/

After the CRF 23 encode finishes you will need to use ffprobe to extract the bitrate for the two pass encode that follows. That is not mentioned yet on my website.

Post Reply
'