[MEncoder-users] Enable mbtree

Баймуратов Г. М. flibustier at gmail.com
Mon Jan 25 22:48:37 CET 2010


I can't say that I need the smallest file size. It's more like I need the
smallest file at certain quality :)
So for me it is more important to get high quality file (at reasonable sizes
of course). So, at this point, I think that is the best solution.

The next step, I think should be using 2pass encoding, crf/slow-firstpass at
first pass, get bitrate from output, then use it second pass.

I've added rc-lookahead, just before your e-mail :)

On Tue, Jan 26, 2010 at 12:41 AM, Grozdan <neutrino8 at gmail.com> wrote:

> On Mon, Jan 25, 2010 at 10:27 PM, Баймуратов Г. М. <flibustier at gmail.com>
> wrote:
> > Hardcoding bitrate is not so good me, I'm having batch encoding, so crf
> > gives me more "viewable" quality.
> > About bframes you are right, I'll cut it to 16.
> > Thank you for advices and help. I'll certainly use them.
>
> Why is it not good? If you want to target a specific file size, you
> most definitely want to use a 2 or 3 pass, even in batch mode. With
> crf, every file in batch mode will have a different file size, unless
> all you files are exactly the same. Also, sometimes crf can "blow up"
> bitrates on specific types of content (ie, one with lots of moving
> small details, luminescent-like colors, lots of overall picture
> complexity, noise, etc). Of course, the downside of this is that you
> may need to specify a different bitrate for each file and this can be
> a bit hard in batch mode
>
> if you want to further increase quality, then increase the value of
> rc_lookahead (used by mbtree and vbv ratecontrol) from 40 (default) to
> something like 100 or so (it gets clipped to keyint value)
>
> >
> > On Tue, Jan 26, 2010 at 12:19 AM, Grozdan <neutrino8 at gmail.com> wrote:
> >
> >> On Mon, Jan 25, 2010 at 10:08 PM, Баймуратов Г. М. <
> flibustier at gmail.com>
> >> wrote:
> >> > Yes, I've enough time for encoding and I need the highest quality at
> >> lowest
> >> > file size
> >>
> >> If you want small file sizes, why do you use an encoding mode which is
> >> hard to predict what file size it'll produce? Go for 2 or 3 pass
> >> encoding. With CRF you can't predict easily what your final file size
> >> will be
> >>
> >> Also, your bframes=32 will be clipped to 16 internally as 16 is the
> >> maximum. Furthermore, it's doubtful that the encoder will use all 16
> >> bframes with b-adapt=2 (unless you're encoding anime), so you're just
> >> wasting time/cycles for no good reason. Also TESA is placebo, you
> >> won't be able to spot any difference between UMH and TESA, not unless
> >> you use a magnifying glass or have alien eyes :)
> >>
> >> >
> >> > Do I need to add :mbtree: to parameters?
> >> >
> >> >
> >> > On Tue, Jan 26, 2010 at 12:06 AM, Grozdan <neutrino8 at gmail.com>
> wrote:
> >> >
> >> >> On Mon, Jan 25, 2010 at 10:00 PM, Баймуратов Г. М. <
> >> flibustier at gmail.com>
> >> >> wrote:
> >> >> > How could I know if mbtree is enabled?
> >> >> >
> >> >> > Forum on doom9 says that there should be stats.mbtree in folder,
> where
> >> >> file
> >> >> > is encoding, but I don't see it
> >> >> >
> >> >> > These are x264 encoding options
> >> >> > -x264encopts
> >> >> >
> >> >>
> >>
> crf=20:subme=10:frameref=16:bframes=32:b_adapt=2:b_pyramid=normal:weightp=2:partitions=all:8x8dct:direct_pred=auto:me=tesa:trellis=2:merange=32:aq-mode=4:threads=auto:analyse=all
> >> >> >
> >> >> > Does it require manual turning on?
> >> >>
> >> >> Add mbtree to your options. Also....
> >> >>
> >> >> bframes=32?
> >> >> b_adapt=2?
> >> >> me=tesa?
> >> >>
> >> >> is there something wrong with you or do you just love using insane
> >> >> option params?
> >> >>
> >> >> >
> >> >> > --
> >> >> > Баймуратов Гаяр
> >> >> > icq: 1931143
> >> >> > _______________________________________________
> >> >> > MEncoder-users mailing list
> >> >> > MEncoder-users at mplayerhq.hu
> >> >> > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >> >> _______________________________________________
> >> >> MEncoder-users mailing list
> >> >> MEncoder-users at mplayerhq.hu
> >> >> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Баймуратов Гаяр
> >> > icq: 1931143
> >> > _______________________________________________
> >> > MEncoder-users mailing list
> >> > MEncoder-users at mplayerhq.hu
> >> > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >> _______________________________________________
> >> MEncoder-users mailing list
> >> MEncoder-users at mplayerhq.hu
> >> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >>
> >
> >
> >
> > --
> > Баймуратов Гаяр
> > icq: 1931143
> > _______________________________________________
> > MEncoder-users mailing list
> > MEncoder-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



-- 
Баймуратов Гаяр
icq: 1931143


More information about the MEncoder-users mailing list