Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks 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 Changed 5 weeks ago by Atarikid

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 Changed 5 weeks ago by oromit

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

comment:3 Changed 5 weeks ago by Atarikid

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 Changed 5 weeks ago by oromit

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 Changed 5 weeks ago by jamrial

  • Component changed from undetermined to avcodec
  • Priority changed from normal to wish
  • Resolution set to fixed
  • Status changed from new to closed
  • Type changed from defect to enhancement

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 5 weeks ago by jamrial (previous) (diff)

comment:6 Changed 5 weeks ago by Atarikid

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.