Perhaps I should downgrade (force older version) ffmpeg, to get in the
first case of the if loop.
Here's the result of ffmpeg --version on my box:

        ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg
        developers
          built on Feb 22 2013 07:18:58 with gcc 4.4.5
          configuration: --enable-libdc1394 --prefix=/usr
        --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared
        --enable-libmp3lame --enable-gpl --enable-libvorbis
        --enable-pthreads --enable-libfaac --enable-libxvid
        --enable-postproc --enable-x11grab --enable-libgsm
        --enable-libtheora --enable-libopencore-amrnb
        --enable-libopencore-amrwb --enable-libx264 --enable-libspeex
        --enable-nonfree --disable-stripping --enable-avfilter
        --enable-libdirac --disable-decoder=libdirac
        --enable-libfreetype --enable-libschroedinger
        --disable-encoder=libschroedinger --enable-version3
        --enable-libopenjpeg --enable-libvpx --enable-librtmp
        --extra-libs=-lgcrypt --disable-altivec --disable-armv5te
        --disable-armv6 --disable-vis
          libavutil    50. 43. 0 / 50. 43. 0
          libavcodec   52.123. 0 / 52.123. 0
          libavformat  52.111. 0 / 52.111. 0
          libavdevice  52.  5. 0 / 52.  5. 0
          libavfilter   1. 80. 0 /  1. 80. 0
          libswscale    0. 14. 1 /  0. 14. 1
          libpostproc  51.  2. 0 / 51.  2. 0

Vincent.

Le mardi 05 mars 2013 à 13:38 +0000, Glynn Clements a écrit :
> Vincent Bain wrote:
> 
> > Thank you Glynn for your answer, I'll trim my configure command.
> > If I ever need to output video, what is the minimum version of avcodec
> > to build against ?
> 
> I don't know.
> 
> Actually, the OSGF library attempts to support older versions:
> 
>       #if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 100, 0)
>               if (url_fopen(&oc->pb, filename, URL_WRONLY) < 0) { 
>       #else
>               if (avio_open(&oc->pb, filename, AVIO_FLAG_WRITE) < 0) {
>       #endif
> 
> So it will use the old API for versions of libavformat prior to
> 52.100.0.
> 
> Presumably that version number should be higher; your error message
> suggest that you're using a newer version but which doesn't define the
> newer macro.
> 
> I have no idea how the package versions (e.g. 5:0.7.15-dmo1)
> correspond to ffmpeg's internal version numbers. E.g. here I have
> ffmpeg-0.10.3, which has:
> 
>       Library         Version         Defined in header
> 
>       libavutil       51.35.100       libavutil/avutil.h
>       libavformat     53.32.100       libavformat/version.h
>       libavcodec      53.61.100       libavcodec/version.h
>       libavdevice     53.4.100        libavdevice/avdevice.h
>       libavfilter     2.61.100        libavfilter/version.h
> 


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to