Can you please try to uncomment the following line in qrender/local_ffmpeg.sh
#whichLib=`wget --spider http://qdvdauthor.sf.net/ffmpeg_location.txt 2>&1 | grep "200 OK"` This will basically point to the last known good ffmpeg library or qrender Varol Okan On 08/08/2013 11:03 AM, Jurgen wrote: > Hello everybody, > > I tried to compile the newest cvs but received an error. > I paste the last part of the outcome below. See the attachment for the > whole outcome. > > -------------LAST PART OF THE OUTCOME > START-------------------------------- > > engine/ffmpeg_enc.cpp:292:25: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' > was not declared in this scope > engine/ffmpeg_enc.cpp: In constructor > 'Encoder::FFmpeg::Audio::Audio(unsigned int)': > engine/ffmpeg_enc.cpp:305:24: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' > was not declared in this scope > engine/ffmpeg_enc.cpp: In member function 'virtual void > Encoder::FFmpeg::Audio::closeStream()': > engine/ffmpeg_enc.cpp:341:5: warning: 'void > audio_resample_close(ReSampleContext*)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4251) [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:341:40: warning: 'void > audio_resample_close(ReSampleContext*)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4251) [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decode(AVPacket*)': > engine/ffmpeg_enc.cpp:388:17: warning: 'int > avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:3692) > [-Wdeprecated-declarations] > > engine/ffmpeg_enc.cpp:388:97: warning: 'int > avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:3692) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::resample()': > engine/ffmpeg_enc.cpp:438:18: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:438:104: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::resample(AVPacket*)': > engine/ffmpeg_enc.cpp:460:18: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:460:104: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decodeAudio(bool&)': > engine/ffmpeg_enc.cpp:527:25: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations] > > engine/ffmpeg_enc.cpp:527:179: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decodeAudio(AVPacket*)': > engine/ffmpeg_enc.cpp:591:27: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:591:181: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp: In member function 'AVPacket* > Encoder::FFmpeg::Vid::hasRemainingAudio(AVStream*)': > engine/ffmpeg_enc.cpp:871:97: error: cannot convert 'uint8_t* {aka > unsigned char*}' to 'AVPacket*' in argument passing > engine/ffmpeg_enc.cpp: In member function 'AVPacket* > Encoder::FFmpeg::Vid::getNextPacket(AVStream*, AVStream*, int&)': > engine/ffmpeg_enc.cpp:908:23: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:908:114: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:930:27: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:930:118: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:996:20: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:996:111: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > > engine/ffmpeg_enc.cpp:1033:101: error: cannot convert 'uint8_t* {aka > unsigned char*}' to 'AVPacket*' in argument passing > engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::addVideoStream(int, Encoder::Encoder::enVideo, int)': > engine/ffmpeg_enc.cpp:1519:30: error: 'CodecID' was not declared in > this scope > engine/ffmpeg_enc.cpp:1519:38: error: expected ';' before 'iCodecID' > engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::addAudioStream(int)': > engine/ffmpeg_enc.cpp:1704:29: error: 'CodecID' was not declared in > this scope > engine/ffmpeg_enc.cpp:1704:37: error: expected ';' before 'iCodecID' > engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::writeAudioFrame(float)': > engine/ffmpeg_enc.cpp:1776:36: error: 'const struct AVCodec' has no > member named 'encode' > engine/ffmpeg_enc.cpp:1782:36: error: 'const struct AVCodec' has no > member named 'encode' > engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::writeVideoFrame()': > engine/ffmpeg_enc.cpp:1806:19: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > engine/ffmpeg_enc.cpp:1806:91: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations] > make: *** [.obj/ffmpeg_enc.o] Error 1 > make: *** Waiting for unfinished jobs.... > /engine/ffmpeg_enc.cpp:292:25: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' > was not declared in this scope// > //engine/ffmpeg_enc.cpp: In constructor > 'Encoder::FFmpeg::Audio::Audio(unsigned int)':// > //engine/ffmpeg_enc.cpp:305:24: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' > was not declared in this scope// > //engine/ffmpeg_enc.cpp: In member function 'virtual void > Encoder::FFmpeg::Audio::closeStream()':// > //engine/ffmpeg_enc.cpp:341:5: warning: 'void > audio_resample_close(ReSampleContext*)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4251) [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:341:40: warning: 'void > audio_resample_close(ReSampleContext*)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4251) [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decode(AVPacket*)':// > //engine/ffmpeg_enc.cpp:388:17: warning: 'int > avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:3692) > [-Wdeprecated-declarations]// > // > //engine/ffmpeg_enc.cpp:388:97: warning: 'int > avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:3692) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::resample()':// > //engine/ffmpeg_enc.cpp:438:18: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:438:104: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::resample(AVPacket*)':// > //engine/ffmpeg_enc.cpp:460:18: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:460:104: warning: 'int > audio_resample(ReSampleContext*, short int*, short int*, int)' is > deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4242) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decodeAudio(bool&)':// > //engine/ffmpeg_enc.cpp:527:25: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations]// > // > //engine/ffmpeg_enc.cpp:527:179: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'Encoder::FFmpeg::Buffer* > Encoder::FFmpeg::Audio::decodeAudio(AVPacket*)':// > //engine/ffmpeg_enc.cpp:591:27: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:591:181: warning: 'ReSampleContext* > av_audio_resample_init(int, int, int, int, AVSampleFormat, > AVSampleFormat, int, int, int, double)' is deprecated (declared at > ffmpeg/include/libavcodec/avcodec.h:4234) [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp: In member function 'AVPacket* > Encoder::FFmpeg::Vid::hasRemainingAudio(AVStream*)':// > //engine/ffmpeg_enc.cpp:871:97: error: cannot convert 'uint8_t* {aka > unsigned char*}' to 'AVPacket*' in argument passing// > //engine/ffmpeg_enc.cpp: In member function 'AVPacket* > Encoder::FFmpeg::Vid::getNextPacket(AVStream*, AVStream*, int&)':// > //engine/ffmpeg_enc.cpp:908:23: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:908:114: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:930:27: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:930:118: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:996:20: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:996:111: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > // > //engine/ffmpeg_enc.cpp:1033:101: error: cannot convert 'uint8_t* {aka > unsigned char*}' to 'AVPacket*' in argument passing// > //engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::addVideoStream(int, Encoder::Encoder::enVideo, int)':// > //engine/ffmpeg_enc.cpp:1519:30: error: 'CodecID' was not declared in > this scope// > //engine/ffmpeg_enc.cpp:1519:38: error: expected ';' before 'iCodecID'// > //engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::addAudioStream(int)':// > //engine/ffmpeg_enc.cpp:1704:29: error: 'CodecID' was not declared in > this scope// > //engine/ffmpeg_enc.cpp:1704:37: error: expected ';' before 'iCodecID'// > //engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::writeAudioFrame(float)':// > //engine/ffmpeg_enc.cpp:1776:36: error: 'const struct AVCodec' has no > member named 'encode'// > //engine/ffmpeg_enc.cpp:1782:36: error: 'const struct AVCodec' has no > member named 'encode'// > //engine/ffmpeg_enc.cpp: In member function 'bool > Encoder::FFmpeg::writeVideoFrame()':// > //engine/ffmpeg_enc.cpp:1806:19: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //engine/ffmpeg_enc.cpp:1806:91: warning: 'int > avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)' > is deprecated (declared at ffmpeg/include/libavcodec/avcodec.h:4155) > [-Wdeprecated-declarations]// > //make: *** [.obj/ffmpeg_enc.o] Error 1// > //make: *** Waiting for unfinished jobs..../// > > -------------LAST PART OF THE OUTCOME ENDS-------------------------------- > > I hope someone can make sense out of this? > > Kind regards, > Jurgen ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ QDVDAuthor-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qdvdauthor-users
