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

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to