[FFmpeg-user] several git version of ffmpeg

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Jul 5 18:29:13 CEST 2011


On date Tuesday 2011-07-05 11:21:53 -0500, Donn Washburn encoded:
> Hello Group;
> 
> I have been trying to complie a version of OpenSceneGraph for Flightgear.
> The cmake app, and ccmake app show it found ffmpeg so I was going
> with it because I remember from past years "old version of ffmpeg"
> coming from ffmpeg.  I think a header file is the problem.  Included
> is the OSG output from 98 percent to Error.
> 
> Is this problem a ffmpeg or osg problem
> -- 
> 73 de Donn Washburn
> 307 Savoy Street    Email:" n5xwb at comcast.net "
> Sugar Land, TX 77478 LL# 1.281.242.3256
> Ham Callsign N5XWB   HAMs : " n5xwb at arrl.net "
> VoIP via Skype:n5xwbg  BMWMOA #:4146 Ambassador
>       " http://counter.li.org " #279316

> [ 96%] Built target osgdb_txp
> [ 96%] Built target osgdb_xine
> [ 96%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o
> In file included from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0,
>                  from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
>                  from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9,
>                  from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5,
>                  from /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:2:
> /usr/include/libavcodec/avcodec.h:528:27: warning: attribute ignored in declaration of �enum AVLPCType� [enabled by default]
> /usr/include/libavcodec/avcodec.h:528:27: warning: attribute for �enum AVLPCType� must follow the �enum� keyword [enabled by default]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �bool osgFFmpeg::FFmpegDecoder::open(const string&, osgFFmpeg::FFmpegParameters*)�:
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:57:26: warning: �AVFormatParameters::channel� is deprecated (declared at /usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:57:26: warning: �AVFormatParameters::channel� is deprecated (declared at /usr/include/libavformat/avformat.h:251) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:58:26: warning: �AVFormatParameters::standard� is deprecated (declared at /usr/include/libavformat/avformat.h:252) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:58:26: warning: �AVFormatParameters::standard� is deprecated (declared at /usr/include/libavformat/avformat.h:252) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:60:26: warning: �AVFormatParameters::width� is deprecated (declared at /usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:60:26: warning: �AVFormatParameters::width� is deprecated (declared at /usr/include/libavformat/avformat.h:248) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:61:26: warning: �AVFormatParameters::height� is deprecated (declared at /usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:61:26: warning: �AVFormatParameters::height� is deprecated (declared at /usr/include/libavformat/avformat.h:249) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:66:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:66:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:67:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:67:26: warning: �AVFormatParameters::time_base� is deprecated (declared at /usr/include/libavformat/avformat.h:245) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:25: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:106: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:94:17: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:94:96: warning: �int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)� is deprecated (declared at /usr/include/libavformat/avformat.h:1094) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:111:9: warning: �void dump_format(AVFormatContext*, int, const char*, int)� is deprecated (declared at /usr/include/libavformat/avformat.h:1554) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:111:65: warning: �void dump_format(AVFormatContext*, int, const char*, int)� is deprecated (declared at /usr/include/libavformat/avformat.h:1554) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findAudioStream()�:
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:211:64: error: �CODEC_TYPE_AUDIO� was not declared in this scope
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �void osgFFmpeg::FFmpegDecoder::findVideoStream()�:
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:229:64: error: �CODEC_TYPE_VIDEO� was not declared in this scope
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function �bool osgFFmpeg::FFmpegDecoder::readNextPacketNormal()�:
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:269:17: warning: �int url_ferror(AVIOContext*)� is deprecated (declared at /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations]
> /mnt/sda7/fgfs/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:269:48: warning: �int url_ferror(AVIOContext*)� is deprecated (declared at /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations]

You need to update the OSG code, it is using an old define which was
deprecated and removed since the last major bump (CODEC_TYPE_* =>
AVMEDIA_TYPE_*). Or you can simply add some evil define for
re-introducing the old symbols.
-- 
ffmpeg-user random tip #8
Multimedia related stuff web site promo:
http://wiki.multimedia.cx/


More information about the ffmpeg-user mailing list