Ticket #2355: libdav1d_complete.diff

File libdav1d_complete.diff, 1.9 KB (added by Andrew-R, 7 years ago)
  • configure

     
    797797_joystick=no
    798798crystalhd=auto
    799799_xvid=auto
     800_libdav1d=auto
    800801_xvid_lavc=auto
    801802_x264=auto
    802803_x264_lavc=auto
     
    12491250  --disable-xvid)       _xvid=no        ;;
    12501251  --enable-xvid-lavc)   _xvid_lavc=yes  ;;
    12511252  --disable-xvid-lavc)  _xvid_lavc=no   ;;
     1253  --enable-libdav1d)   _libdav1d=yes  ;;
     1254  --disable-libdav1d)  _libdav1d=no   ;;
    12521255  --enable-x264)        _x264=yes       ;;
    12531256  --disable-x264)       _x264=no        ;;
    12541257  --enable-x264-lavc)   _x264_lavc=yes  ;;
     
    74057408fi
    74067409echores "$_xvid"
    74077410
     7411echocheck "libdav1d"
     7412if test "$_libdav1d" = auto && test "$ffmpeg_a" = yes ; then
     7413  _libdav1d=no
     7414  header_check dav1d/dav1d.h -ldav1d $ld_dl $ld_pthread && _libdav1d=yes
     7415fi
     7416
     7417if test "$_libdav1d" = yes && test "$ffmpeg_a" = yes; then
     7418  def_libdav1d='#define CONFIG_LIBDAV1D 1'
     7419  libavdecoders="$libavdecoders LIBDAV1D_DECODER"
     7420  extra_ldflags="$extra_ldflags -ldav1d"
     7421else
     7422  def_libdav1d='#undef CONFIG_LIBDAV1D'
     7423  #nocodecmodules="libdav1d $nocodecmodules"
     7424fi
     7425echores "$_libdav1d"
     7426
     7427
     7428
     7429
    74087430echocheck "Xvid two pass plugin"
    74097431if test "$_mencoder" = yes && test "$_xvid" = yes && test "$_xvid_lavc" = auto ; then
    74107432  statement_check xvid.h 'xvid_plugin_2pass2_t s; s.vbv_size = 0' && _xvid_lavc=yes
  • etc/codecs.conf

     
    88;=============================================================================
    99;                   VIDEO CODECS
    1010;=============================================================================
     11videocodec av1
     12  info "AV1"
     13  status working
     14  driver ffmpeg
     15  dll libdav1d
     16  format 0x31305641
     17  format 0x31307661
     18  out YV12
    1119
    1220videocodec ffiff
    1321  info "FFmpeg IFF ANIM/ILBM/PBM/RGB8/RGBN"