Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6771 closed enhancement (fixed)

-me_method renamed to -motion-est ???

Reported by: Atarikid Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

In the latest daily builds the command Set motion estimation method name has been changed from
-me_method renamed to -motion-est

Any good reason for this? Not intended bug/typo?

This kills about any FE available for Windows.

Change History (6)

comment:1 by Atarikid, 6 years ago

On a side note: me_range is still the same. So in the end renaming me_method is not keeping consistency at all.

comment:2 by Timo R., 6 years ago

It was deprecated two years ago via 4b6b1082a73907c7c3de2646c6398bc61320f2c6
And as master recently had its major version bumped, it was automatically disabled.

comment:3 by Atarikid, 6 years ago

I see. So basically you now have to use -motion-est instead?
I also noticed many options of -me_method or not available for -motion-est, is this correct?

comment:4 by Timo R., 6 years ago

Those are the options that are under that deprecation flag:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/options_table.h;h=2ac37c3ff17e40df9a58e4351479e574f22786d3;hb=HEAD#l94

You should have been using the new options for the past 2 years.

comment:5 by James, 6 years ago

Component: undeterminedavcodec
Priority: normalwish
Resolution: fixed
Status: newclosed
Type: defectenhancement

Replying to Atarikid:

I see. So basically you now have to use -motion-est instead?

The global field in AVCodecContext and the corresponding global option "me_method" were removed as oromit mentioned. For the sake of consistency, i've just added a "me_method" alias for the motion-est option in libx264 in 7bbe33b0526723f0a20c27e3b8d03b186b27fdf6, which i assume is the encoder you were using.

Replying to Atarikid:

I also noticed many options of -me_method or not available for -motion-est, is this correct?

The global me_method had a lot of values that might or might have not been used by some encoders. libx264 only used the ones listed for motion-est, and that's what's available now.

Last edited 6 years ago by James (previous) (diff)

comment:6 by Atarikid, 6 years ago

Thanks for explanation and adding the alias.

But sooner or later I will need to change my script anyway. :-)

Note: See TracTickets for help on using tickets.