[FFmpeg-devel] [PATCH] add ME_T/ESA to avcodec.h

Baptiste Coudurier baptiste.coudurier
Thu Jun 5 04:58:19 CEST 2008

Loren Merritt wrote:
> On Tue, 3 Jun 2008, Baptiste Coudurier wrote:
>> $subject, and enable it for libx264, I add ME_ESA for exhaustivity too,
>> should I add ME_DIA ?
> TESA = FULL + cmp=satd, following the x264 tradition of selecting certain 
> combinations of cmp functions to specially optimize and forbidding the rest. 
> I'm not particularly suggesting to do it this way, but you should know 
> that TESA is expressable using current options before you add a new one.

Just tried it and I get assertion:
FFmpeg version SVN-r13650, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libmp3lame --enable-libfaac
--enable-liba52 --enable-libx264 --enable-libfaad --enable-libgsm
--enable-nonfree --enable-libamr-nb --enable-libtheora
  libavutil version: 49.7.0
  libavcodec version: 51.57.2
  libavformat version: 52.14.0
  libavdevice version: 52.0.0
  built on Jun  4 2008 15:25:34, gcc: 4.3.1 20080523 (prerelease)
Input #0, mpegvideo, from 'ref.m2v':
  Duration: 00:00:01.98, bitrate: 11385 kb/s
    Stream #0.0: Video: mpeg2video, yuv422p, 720x608 [PAR 1:1 DAR
45:38], 11386 kb/s, 25.00 tb(r)
Output #0, mov, to 'test.mov':
    Stream #0.0: Video: mpeg4, yuv420p, 720x608 [PAR 1:1 DAR 45:38],
q=2-31, 200 kb/s, 25.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
ffmpeg: libavcodec/motion_est_template.c:168: hpel_motion_search:
Assertion `map[(index-(1<<3))&(64-1)] == key' failed.
zsh: abort      ffmpeg -y -i ref.m2v -me full -cmp satd test.mov

ref.m2v is on mplayerhq in incoming.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA

More information about the ffmpeg-devel mailing list