[MPlayer-users] xvid and divx encoding wth mencoder

dídac valenciano gener bac at omega.resa.es
Mon Jan 13 13:48:07 CET 2003


I tried to had xivd and divx4/5linux to compare it, but I can't.
Maybe the reason it's in the configure file (from CVS). while detecting the 
codecs for encoding, it seems that xvid excludes divx with the else if 
(elif): 
[...] 

echocheck "XviD/DivX4linux encore (for mencoder)"
  cat > $TMPC << EOF
#include <encore2.h>
int main(void) { (void) encore(0, 0, 0, 0); return 0; }
EOF
  if test "$_xvid" != no && test "$_xvidcore" && cc_check -lm "$_xvidcore" ; 
then
    _def_encore='#define HAVE_DIVX4ENCORE 1'
    _ld_encore="$_xvidcore"
    echores "XviD (with $_xvidcore)"
  elif test "$_xvid" != no && cc_check -lm -lxvidcore ; then
    _def_encore='#define HAVE_DIVX4ENCORE 1'
    _ld_encore='-lxvidcore'
    echores "XviD (with libxvidcore.so)"
  elif test "$_divx4linux" != no && cc_check -lm -ldivxencore ; then
    _def_encore='#define HAVE_DIVX4ENCORE 1'
    _ld_encore='-ldivxencore'
    echores "DivX4linux (with libdivxencore.so)"
  else
    _def_encore='#undef HAVE_DIVX4ENCORE'
    echores "no"
  fi
fi

[...]

why we can not have both?

thanks in advance, Dídac.



More information about the MPlayer-users mailing list