On 04/05/2013 05:34 AM, Varol Okan wrote: > On 04/04/2013 04:26 PM, [email protected] wrote: >> g++ -c -m64 -pipe -g -O0 -ggdb3 -Wall -W -D_REENTRANT -DQT_WEBKIT >> -DQDVD_RENDER -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB >> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. >> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork >> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 >> -Iffmpeg-0.6.6/include -Iffmpeg-0.6.6 -I.moc -o .obj/xml_slideshow.o >> ../qdvdauthor/xml_slideshow.cpp >> engine/ffmpeg_enc.cpp: In function ‘int >> Encoder::qrender_avcodec_open(AVCodecContext*, AVCodec*, void*)’: >> engine/ffmpeg_enc.cpp:91:43: error: ‘AVDictionary’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp:91:58: error: expected primary-expression before ‘)’ >> token >> engine/ffmpeg_enc.cpp:91:66: error: ‘avcodec_open2’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp: At global scope: >> engine/ffmpeg_enc.cpp:85:5: warning: unused parameter ‘ppDict’ >> [-Wunused-parameter] >> engine/ffmpeg_enc.cpp: In member function ‘virtual bool >> Encoder::FFmpeg::Media::openStream(QString)’: >> engine/ffmpeg_enc.cpp:150:97: error: ‘avformat_open_input’ was not declared >> in this scope >> engine/ffmpeg_enc.cpp:154:55: error: ‘avformat_find_stream_info’ was not >> declared in this scope >> engine/ffmpeg_enc.cpp: In member function ‘Encoder::FFmpeg::Buffer* >> Encoder::FFmpeg::Audio::decode(AVPacket*)’: >> engine/ffmpeg_enc.cpp:415:41: error: ‘AV_SAMPLE_FMT_U8’ was not declared in >> this scope >> engine/ffmpeg_enc.cpp: In member function ‘Encoder::FFmpeg::Buffer* >> Encoder::FFmpeg::Audio::decodeAudio(bool&)’: >> engine/ffmpeg_enc.cpp:518:3: error: ‘AVSampleFormat’ was not declared in >> this scope >> engine/ffmpeg_enc.cpp:518:18: error: expected ‘;’ before ‘enOutFormat’ >> engine/ffmpeg_enc.cpp:519:18: error: expected ‘;’ before ‘enInFormat’ >> engine/ffmpeg_enc.cpp:521:139: error: ‘enOutFormat’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp:521:152: error: ‘enInFormat’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp: In member function ‘Encoder::FFmpeg::Buffer* >> Encoder::FFmpeg::Audio::decodeAudio(AVPacket*)’: >> engine/ffmpeg_enc.cpp:581:3: error: ‘AVSampleFormat’ was not declared in >> this scope >> engine/ffmpeg_enc.cpp:581:18: error: expected ‘;’ before ‘enOutFormat’ >> engine/ffmpeg_enc.cpp:582:18: error: expected ‘;’ before ‘enInFormat’ >> engine/ffmpeg_enc.cpp:585:141: error: ‘enOutFormat’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp:585:154: error: ‘enInFormat’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp: In member function ‘void >> Encoder::FFmpeg::Vid::setSWScale(int, int, int, int)’: >> engine/ffmpeg_enc.cpp:810:15: error: ‘AVFrame’ has no member named ‘width’ >> engine/ffmpeg_enc.cpp:811:15: error: ‘AVFrame’ has no member named ‘height’ >> engine/ffmpeg_enc.cpp: In member function ‘double >> Encoder::FFmpeg::Vid::guessDuration(AVFormatContext*, int)’: >> engine/ffmpeg_enc.cpp:1239:9: error: ‘guess’ was not declared in this scope >> engine/ffmpeg_enc.cpp: In member function ‘virtual bool >> Encoder::FFmpeg::initStream(QString, Encoder::Encoder::enVideo, >> Encoder::Encoder::enAudio, uint)’: >> engine/ffmpeg_enc.cpp:1354:84: error: ‘AVIO_FLAG_WRITE’ was not declared in >> this scope >> engine/ffmpeg_enc.cpp:1354:100: error: ‘avio_open’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp:1371:46: error: ‘avformat_write_header’ was not >> declared in this scope >> engine/ffmpeg_enc.cpp: In member function ‘virtual void >> Encoder::FFmpeg::endStream()’: >> engine/ffmpeg_enc.cpp:1457:42: error: ‘avio_close’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp: In member function ‘bool >> Encoder::FFmpeg::addVideoStream(int, Encoder::Encoder::enVideo, int)’: >> engine/ffmpeg_enc.cpp:1479:57: error: ‘avformat_new_stream’ was not declared >> in this scope >> engine/ffmpeg_enc.cpp: In member function ‘bool >> Encoder::FFmpeg::OpenVideoEncoder()’: >> engine/ffmpeg_enc.cpp:1631:36: error: ‘fMuxPreload’ was not declared in this >> scope >> engine/ffmpeg_enc.cpp: In member function ‘bool >> Encoder::FFmpeg::addAudioStream(int)’: >> engine/ffmpeg_enc.cpp:1668:57: error: ‘avformat_new_stream’ was not declared >> in this scope >> engine/ffmpeg_enc.cpp:1682:28: error: ‘AV_SAMPLE_FMT_S16’ was not declared >> in this scope >> engine/ffmpeg_enc.cpp: In function ‘int >> Encoder::qrender_avcodec_open(AVCodecContext*, AVCodec*, void*)’: >> engine/ffmpeg_enc.cpp:93:1: warning: control reaches end of non-void >> function [-Wreturn-type] >> make: *** [.obj/ffmpeg_enc.o] Error 1 >> make: *** Waiting for unfinished jobs.... >> /test/Qdvdauthor/qdvdauthor/qrender$ exit >> exit >> >> Script done on Thu 04 Apr 2013 21:19:49 BST > I was trying to find a ffmpeg version from the release repo which would > actually compile. I know for sure 0.5 used to work but no more. > > I think the main problem is/was that the ffmpeg API is changing way to > often to keep up with. Compare that to the command line interface of > ffmpeg, which hardly ever changes ( and that for good reasons ) . > > Anyhow, let me see if Steven can ind and re-submit his patch to get > things compiling again. I will then make sure that I keep a working > source copy of ffmpeg around. > > Varol :) > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > QDVDAuthor-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qdvdauthor-users Found and applied the patch.
Please get the latest nighty tar ball and try again. Varol :) ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ QDVDAuthor-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qdvdauthor-users
