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

Michael Niedermayer michaelni at gmx.at
Thu Jan 8 16:03:18 CET 2015


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150108/967a1ea8/attachment.asc>


More information about the ffmpeg-devel mailing list