On 07/05/2011 03:31 AM, Alberto Luaces wrote:
Donn Washburn writes:
This is my first time to join in on OSGs email.
The main purpose was to notify of a error I am getting on a SVN
version on two different OS versions. It shows up on
ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated
causing OSG to fail. I do have it saved so if this is the correct
place to ask I can send it.
Hi Donn,
Yes, it should be helpful that you provide the exact error you are
getting and your ffmpeg version.
Ok will do! osg.err
--
73 de Donn Washburn
307 Savoy Street Email:" n5...@comcast.net "
Sugar Land, TX 77478 LL# 1.281.242.3256
Ham Callsign N5XWB HAMs : " n5...@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]
make[2]: ***
[src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org