[FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

arwa arif arwaarif1994 at gmail.com
Fri Jan 9 07:38:21 CET 2015


On Fri, Jan 9, 2015 at 12:27 AM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> On Thu, Jan 08, 2015 at 04:03:18PM +0100, Michael Niedermayer wrote:
> > On Thu, Jan 08, 2015 at 07:32:51PM +0530, arwa arif wrote:
> > > On Thu, Jan 8, 2015 at 7:23 PM, Michael Niedermayer <michaelni at gmx.at>
> > > wrote:
> > >
> > > > On Thu, Jan 08, 2015 at 01:43:24PM +0530, arwa arif wrote:
> > > > > On Wed, Jan 7, 2015 at 9:46 PM, Michael Niedermayer <
> michaelni at gmx.at>
> > > > > wrote:
> > > > >
> > > > > > On Wed, Jan 07, 2015 at 03:42:16PM +0100, Stefano Sabatini wrote:
> > > > > > > On date Wednesday 2015-01-07 19:14:49 +0530, arwa arif encoded:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Keep in mind that the difference may be due to the QP
> information
> > > > > > > > > missing in mp=pp7. So you should focus on that (try to
> > > > reset/disable
> > > > > > > > > qp processing in pp7 and see if it works the same as
> mp=pp7).
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > > For qp=0, the results are bitexact. I am not able to figure
> out
> > > > how do
> > > > > > I
> > > > > > > > take care
> > > > > > >
> > > > > > > Isn't qp=0 the default? How do you get (with which parameters)
> mp=pp7
> > > > > > > and pp7 to issue the same output?
> > > > > >
> > > > > > i get the same output for
> > > > > > mp=pp7=10:0 and  pp7=10:0
> > > > > > mp=pp7=10:1 and  pp7=10:1
> > > > > > mp=pp7=10:2 and  pp7=10:2
> > > > > >
> > > > > > the default for mode seems to differ though so the mode has to be
> > > > > > specified for comparing
> > > > > >
> > > > > >
> > > > > But I am getting same ouput for default mode,  i.e,
> > > > > mp=pp7=0:0 and  pp7=0:0
> > > > > mp=pp7=0:1 and  pp7=0:1
> > > > > mp=pp7=0:2 and  pp7=0:2
> > > > >
> > > > > When qp is a non-zero value, the output is different.
> > > >
> > > > it was the same here, how can i reproduce a case where it differs ?
> > > > what input did you use ? what command line ?
> > > >
> > >
> > > I compared it for mp=pp7=30 and pp7=30.
> > > The command line I used was:
> > > ./ffmpeg -i ../a.png -vf pp7=30 -f md5 ../new
> > > ./ffmpeg -i ../a.png -vf mp=pp7=30 -f md5 ../old
> >
> > as the default mode differs you must specify the mode
> > like
> > -vf pp7=30:0
> > -vf mp=pp7=30:0
> > or
> > -vf pp7=30:1
> > -vf mp=pp7=30:1
> > or
> > -vf pp7=30:2
> > -vf mp=pp7=30:2
> >
> > or change the default so it matches
>
> ./ffmpeg -v 0 -i matrixbench_mpeg2.mpg -vf mp=pp7=30:1 -t 1 -f md5 -
> MD5=a96e711815a1006cc3e9faec8e6bee66
>
> ./ffmpeg -v 0 -i matrixbench_mpeg2.mpg -vf pp7=30:1 -t 1 -f md5 -
> MD5=a96e711815a1006cc3e9faec8e6bee66
>
>
They are using mp=pp7=0:0 as default. But, in documentation they have
mentioned that medium thresholding (mp=pp7=0:2) is default. What should I
follow?

[...]
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> During times of universal deceit, telling the truth becomes a
> revolutionary act. -- George Orwell
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list