View Full Version : Adaptive deblocking with FFVideoSource
nonoitall
8th June 2013, 11:56
With MPEG2Source, we have the option to apply QP-adaptive deblocking/deringing via the cpu argument. I've read that FFVideoSource can do the same, and I'm wondering how to go about that? Does it just automatically do so, or is there an argument required to switch it on? I looked over FFmpegSource2's manual (http://ffmpegsource.googlecode.com/svn/trunk/doc/ffms2-avisynth.html) but found no mention of deblocking.
TheFluff
10th June 2013, 10:51
In FFMS2, that feature was included as a part of libpostproc, but the support for that has been deprecated and removed since libpostproc itself isn't maintained anymore. Old versions of FFMS2 can do it, see the table of cryptic libpostproc filter string explanations at the bottom of the user's manual in old versions (2.17 and older, IIRC).
nonoitall
11th June 2013, 11:03
Thanks for the info!
I looked through the docs on 2.17 and I see deblocking is there. Just to be sure I understand the arguments' meanings, am I right to conclude that something like this:
FFVideoSource(videoPath, pp="default")
# which is shorthand for:
FFVideoSource(videoPath, pp="hdeblock:autoq,vdeblock:autoq,dering:autoq")...would have a somewhat similar effect to using cpu=6 on MPEG2Source?
As an aside, are there any AviSynth source plugins that can read MPEG-2 streams inside of an MKV file with adaptive deblocking that are still maintained as such? I see some suggestions that it's possible with ffdshow/SPP/DirectShowSource, but of course using DSS would be even less preferable than using an older version of FFMS2.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.