Sun 11 Sep 2011 08:21:19 PM UTC, comment #6:
I'm compiling gnash against-0.8.2 at the moment.
Compiler output related to ffmpeg part:
[code]
make[2]: Вход в каталог `/tmp/tgz/gnash/libmedia'
CXX libgnashmedia_la-AudioDecoderSimple.lo
CXX libgnashmedia_la-AudioResampler.lo
CXX libgnashmedia_la-FLVParser.lo
CXX libgnashmedia_la-MediaHandler.lo
CXX libgnashmedia_la-MediaParser.lo
CXX libgnashmedia_la-AudioDecoderFfmpeg.lo
CXX libgnashmedia_la-AudioInputFfmpeg.lo
CXX libgnashmedia_la-AudioResamplerFfmpeg.lo
In file included from ffmpeg/AudioDecoderFfmpeg.cpp:25:0:
ffmpeg/MediaParserFfmpeg.h:156:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:218)
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)':
ffmpeg/AudioDecoderFfmpeg.cpp:510:27: warning: cast from type 'const uint8_t' to type 'uint8_t' casts away qualifiers
CXX libgnashmedia_la-MediaHandlerFfmpeg.lo
In file included from ffmpeg/MediaHandlerFfmpeg.cpp:26:0:
ffmpeg/MediaParserFfmpeg.h:156:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:218)
CXX libgnashmedia_la-MediaParserFfmpeg.lo
In file included from ffmpeg/MediaParserFfmpeg.cpp:21:0:
ffmpeg/MediaParserFfmpeg.h:156:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:218)
ffmpeg/MediaParserFfmpeg.cpp: In member function 'void gnash::media::ffmpeg::MediaParserFfmpeg::initializeParser()':
ffmpeg/MediaParserFfmpeg.cpp:368:5: warning: 'int init_put_byte(AVIOContext, unsigned char, int, int, void, int ()(void, uint8_t, int), int ()(void, uint8_t, int), int64_t ()(void*, int64_t, int))' is deprecated (declared at /usr/include/libavformat/avio.h:220)
ffmpeg/MediaParserFfmpeg.cpp:376:5: warning: 'int init_put_byte(AVIOContext, unsigned char, int, int, void, int ()(void, uint8_t, int), int ()(void, uint8_t, int), int64_t ()(void*, int64_t, int))' is deprecated (declared at /usr/include/libavformat/avio.h:220)
ffmpeg/MediaParserFfmpeg.cpp:378:16: warning: 'AVIOContext::is_streamed' is deprecated (declared at /usr/include/libavformat/avio.h:68)
ffmpeg/MediaParserFfmpeg.cpp:378:16: warning: 'AVIOContext::is_streamed' is deprecated (declared at /usr/include/libavformat/avio.h:68)
ffmpeg/MediaParserFfmpeg.cpp:392:8: warning: 'AVFormatParameters::prealloced_context' is deprecated (declared at /usr/include/libavformat/avformat.h:257)
ffmpeg/MediaParserFfmpeg.cpp:392:8: warning: 'AVFormatParameters::prealloced_context' is deprecated (declared at /usr/include/libavformat/avformat.h:257)
ffmpeg/MediaParserFfmpeg.cpp:394:9: warning: 'int av_open_input_stream(AVFormatContext*, AVIOContext, const char, AVInputFormat, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1072)
ffmpeg/MediaParserFfmpeg.cpp:394:74: warning: 'int av_open_input_stream(AVFormatContext*, AVIOContext, const char, AVInputFormat, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1072)
ffmpeg/MediaParserFfmpeg.cpp:402:17: warning: 'AVMetadata' is deprecated (declared at /usr/include/libavformat/avformat.h:131)
ffmpeg/MediaParserFfmpeg.cpp:404:24: warning: 'AVMetadataTag' is deprecated (declared at /usr/include/libavformat/avformat.h:132)
ffmpeg/MediaParserFfmpeg.cpp:404:30: warning: 'AVDictionaryEntry* av_metadata_get(AVDictionary, const char, const AVDictionaryEntry*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:145)
ffmpeg/MediaParserFfmpeg.cpp:405:39: warning: 'AVDictionaryEntry* av_metadata_get(AVDictionary, const char, const AVDictionaryEntry*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:145)
CXX libgnashmedia_la-VideoConverterFfmpeg.lo
CXX libgnashmedia_la-VideoDecoderFfmpeg.lo
In file included from ffmpeg/VideoDecoderFfmpeg.cpp:31:0:
ffmpeg/MediaParserFfmpeg.h:156:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:218)
ffmpeg/VideoDecoderFfmpeg.cpp: In member function 'std::auto_ptr<gnash::image::GnashImage> gnash::media::ffmpeg::VideoDecoderFfmpeg::decode(const uint8_t*, uint32_t)':
ffmpeg/VideoDecoderFfmpeg.cpp:362:27: warning: cast from type 'const uint8_t' to type 'uint8_t' casts away qualifiers
CXX libgnashmedia_la-VideoInputFfmpeg.lo
CXX libgnashmedia_la-AudioDecoderSpeex.lo
CXXLD libgnashmedia.la
make[2]: Выход из каталога `/tmp/tgz/gnash/libmedia'
[/code]
|
Sat 02 Jul 2011 05:08:17 PM UTC, original submission:
I've tried to compile gnash from master branch, but it failed with the following errors:
CXX libgnashmedia_la-AudioDecoderFfmpeg.lo
In file included from ffmpeg/AudioDecoderFfmpeg.cpp:25:0:
ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:218)
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)':
ffmpeg/AudioDecoderFfmpeg.cpp:553:52: error: 'avcodec_decode_audio2' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'int gnash::media::ffmpeg::AudioDecoderFfmpeg::parseInput(const uint8_t, uint32_t, const uint8_t, int)':
ffmpeg/AudioDecoderFfmpeg.cpp:667:25: error: 'av_parser_parse' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp:700:1: warning: control reaches end of non-void function
make[2]: *** [libgnashmedia_la-AudioDecoderFfmpeg.lo] Ошибка 1
make[2]: Выход из каталога `/tmp/tgz/gnash/libmedia'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/tmp/tgz/gnash'
make: *** [all] Ошибка 2
|