* [devel] [I] new libav in town @ 2011-08-02 8:57 Sergey Bolshakov 2011-08-03 8:19 ` Slava Semushin ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Sergey Bolshakov @ 2011-08-02 8:57 UTC (permalink / raw) To: devel Привет. Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. Поскольку API у libav несколько отличается, прогнозируется некоторый слом со сборкой зависимых пакетов, прошу обращаться за содействием в починке, если таковое понадобится. Успехов. -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-02 8:57 [devel] [I] new libav in town Sergey Bolshakov @ 2011-08-03 8:19 ` Slava Semushin 2011-08-03 8:22 ` REAL 2011-08-09 2:16 ` Dubrovskiy Viacheslav 2011-08-16 12:22 ` Dubrovskiy Viacheslav 2 siblings, 1 reply; 15+ messages in thread From: Slava Semushin @ 2011-08-03 8:19 UTC (permalink / raw) To: ALT Linux Team development discussions 2 августа 2011 г. 15:57 пользователь Sergey Bolshakov <sbolshakov@altlinux.ru> написал: > Привет. > Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. > Поскольку API у libav несколько отличается, прогнозируется > некоторый слом со сборкой зависимых пакетов, прошу обращаться > за содействием в починке, если таковое понадобится. У меня сегодня mpd-mini перестал собираться со следующей ошибкой: src/decoder/ffmpeg_decoder_plugin.c: In function 'ffmpeg_find_audio_stream': src/decoder/ffmpeg_decoder_plugin.c:159:7: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) src/decoder/ffmpeg_decoder_plugin.c:159:7: note: each undeclared identifier is reported only once for each function it appears in src/decoder/ffmpeg_decoder_plugin.c: In function 'ffmpeg_send_packet': src/decoder/ffmpeg_decoder_plugin.c:207:3: warning: implicit declaration of function 'avcodec_decode_audio2' make[1]: *** [src/decoder/src_mpd-ffmpeg_decoder_plugin.o] Error 1 Это к тебе? Можешь подсказать как чинить? TIA -- Slava Semushin ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 8:19 ` Slava Semushin @ 2011-08-03 8:22 ` REAL 2011-08-03 9:26 ` Sergey Bolshakov 2011-08-03 9:34 ` Sergey Kurakin 0 siblings, 2 replies; 15+ messages in thread From: REAL @ 2011-08-03 8:22 UTC (permalink / raw) To: ALT Linux Team development discussions 03.08.2011 15:19, Slava Semushin пишет: >> Поскольку API у libav несколько отличается, прогнозируется >> некоторый слом со сборкой зависимых пакетов, прошу обращаться >> за содействием в починке, если таковое понадобится. > > У меня сегодня mpd-mini перестал собираться со следующей ошибкой: > [...] > src/decoder/ffmpeg_decoder_plugin.c:159:7: error: 'CODEC_TYPE_AUDIO' > undeclared (first use in this function) У меня такая же фигня :) -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 8:22 ` REAL @ 2011-08-03 9:26 ` Sergey Bolshakov 2011-08-03 9:35 ` Slava Semushin 2011-08-03 9:34 ` Sergey Kurakin 1 sibling, 1 reply; 15+ messages in thread From: Sergey Bolshakov @ 2011-08-03 9:26 UTC (permalink / raw) To: devel >>>>> "REAL" == REAL <real-Vp35VocZdIU@public.gmane.org> writes: > 03.08.2011 15:19, Slava Semushin пишет: >>> Поскольку API у libav несколько отличается, прогнозируется >>> некоторый слом со сборкой зависимых пакетов, прошу обращаться >>> за содействием в починке, если таковое понадобится. >> >> У меня сегодня mpd-mini перестал собираться со следующей ошибкой: >> > [...] >> src/decoder/ffmpeg_decoder_plugin.c:159:7: error: 'CODEC_TYPE_AUDIO' >> undeclared (first use in this function) > У меня такая же фигня :) s,CODEC_TYPE_,AVMEDIA_TYPE_, -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 9:26 ` Sergey Bolshakov @ 2011-08-03 9:35 ` Slava Semushin 2011-08-03 12:50 ` Konstantin Pavlov 0 siblings, 1 reply; 15+ messages in thread From: Slava Semushin @ 2011-08-03 9:35 UTC (permalink / raw) To: ALT Linux Team development discussions 3 августа 2011 г. 16:26 пользователь Sergey Bolshakov <sbolshakov@altlinux.ru> написал: [...] > s,CODEC_TYPE_,AVMEDIA_TYPE_, Я правильно понимаю, что разлом связан с новой версией ffmpeg и изменении в нём API? В таком случае, если не сложно, можешь показать идеалогически правильный патч, который можно было бы отправить в апстрим mpd? Вроде #ifdef FFMPEG_VERSION <= FFMPGED_OLD_VERSION old code with CODEC_TYPE_AUDIO #else new code with AVMEDIA_TYPE_AUDIO #endif (Если это сложно, то попробую сам на досуге в сырцы слазить.) -- Slava Semushin ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 9:35 ` Slava Semushin @ 2011-08-03 12:50 ` Konstantin Pavlov 0 siblings, 0 replies; 15+ messages in thread From: Konstantin Pavlov @ 2011-08-03 12:50 UTC (permalink / raw) To: devel On Wed, Aug 03, 2011 at 04:35:32PM +0700, Slava Semushin wrote: > 3 августа 2011 г. 16:26 пользователь Sergey Bolshakov > <sbolshakov@altlinux.ru> написал: > [...] > > s,CODEC_TYPE_,AVMEDIA_TYPE_, > > Я правильно понимаю, что разлом связан с новой версией ffmpeg и > изменении в нём API? В таком случае, если не сложно, можешь показать > идеалогически правильный патч, который можно было бы отправить в > апстрим mpd? > > Вроде > > #ifdef FFMPEG_VERSION <= FFMPGED_OLD_VERSION > old code with CODEC_TYPE_AUDIO > #else > new code with AVMEDIA_TYPE_AUDIO > #endif > > (Если это сложно, то попробую сам на досуге в сырцы слазить.) http://git.videolan.org/?p=vlc.git;a=commit;h=4308323da50d235ef4ac87cd1a0444f6c4f7aba4 -- Konstantin Pavlov VideoLAN team ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 8:22 ` REAL 2011-08-03 9:26 ` Sergey Bolshakov @ 2011-08-03 9:34 ` Sergey Kurakin 2011-08-04 11:09 ` Sergey Kurakin 1 sibling, 1 reply; 15+ messages in thread From: Sergey Kurakin @ 2011-08-03 9:34 UTC (permalink / raw) To: ALT Linux Team development discussions On 03/08/11 12:22, REAL wrote: > 03.08.2011 15:19, Slava Semushin пишет: >> src/decoder/ffmpeg_decoder_plugin.c:159:7: error: 'CODEC_TYPE_AUDIO' >> undeclared (first use in this function) > > У меня такая же фигня :) AVMEDIA_TYPE_AUDIO Вы же про blender спрашиваете? Сборку я уже починил, проверил в этом самом месте и сейчас отправлю в Сизиф. -- WBR, Sergey Kurakin ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-03 9:34 ` Sergey Kurakin @ 2011-08-04 11:09 ` Sergey Kurakin 0 siblings, 0 replies; 15+ messages in thread From: Sergey Kurakin @ 2011-08-04 11:09 UTC (permalink / raw) To: ALT Linux Team development discussions On 03/08/11 13:34, Sergey Kurakin wrote: > On 03/08/11 12:22, REAL wrote: >> У меня такая же фигня :) > Вы же про blender спрашиваете? Сборку я уже починил, проверил в этом > самом месте и сейчас отправлю в Сизиф. Обманул. Blender, починенный и собиравшийся на позавчерашнем Сизифе, не собирается на вчерашнем. Теперь кроме констант, выплыло еще такое: source/blender/src/buttons_scene.c:2726:9: error: incompatible types when assigning to type 'int' from type 'const union <anonymous>' Для 2.57-2.58 это как-то лечат, буду смотреть... -- WBR, Sergey Kurakin ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-02 8:57 [devel] [I] new libav in town Sergey Bolshakov 2011-08-03 8:19 ` Slava Semushin @ 2011-08-09 2:16 ` Dubrovskiy Viacheslav 2011-08-09 6:37 ` Sergey Bolshakov 2011-08-16 12:22 ` Dubrovskiy Viacheslav 2 siblings, 1 reply; 15+ messages in thread From: Dubrovskiy Viacheslav @ 2011-08-09 2:16 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 3783 bytes --] 02.08.2011 04:57, Sergey Bolshakov пишет: > Привет. > Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. > Поскольку API у libav несколько отличается, прогнозируется > некоторый слом со сборкой зависимых пакетов, прошу обращаться > за содействием в починке, если таковое понадобится. Как такое чинить? g++ -o build/src/mgui/ffviewer.o -c -Wall -W -Wno-reorder -O2 -g -DBOOST_FILESYSTEM_VERSION=2 -ansi -DBOOST_SP_USE_QUICK_ALLOCATOR -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEXT_BOOST -Ibuild/src -Isrc -Ilibs/boost-logging -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 src/mgui/ffviewer.cpp src/mgui/ffviewer.cpp: In function 'void DumpIFile(AVFormatContext*, int, const std::string&)': src/mgui/ffviewer.cpp:261:5: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1461) src/mgui/ffviewer.cpp:261:50: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1461) src/mgui/ffviewer.cpp: In function 'bool OpenInfo(FFData&, const char*, std::string&)': src/mgui/ffviewer.cpp:316:18: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) src/mgui/ffviewer.cpp:316:75: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) src/mgui/ffviewer.cpp:321:14: error: 'AVERROR_NOENT' was not declared in this scope src/mgui/ffviewer.cpp:326:14: error: 'AVERROR_NOFMT' was not declared in this scope src/mgui/ffviewer.cpp:329:14: error: 'AVERROR_UNKNOWN' was not declared in this scope src/mgui/ffviewer.cpp: In function 'bool IsInHurry(AVCodecContext*)': src/mgui/ffviewer.cpp:528:17: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In constructor 'HurryModeEnabler::HurryModeEnabler(AVCodecContext*)': src/mgui/ffviewer.cpp:538:14: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In destructor 'HurryModeEnabler::~HurryModeEnabler()': src/mgui/ffviewer.cpp:558:14: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In function 'void DoVideoDecode(FFViewer&, int&, AVPacket*)': src/mgui/ffviewer.cpp:613:7: warning: suggest explicit braces to avoid ambiguous 'else' src/mgui/ffviewer.cpp: In function 'bool IsInHurry(AVCodecContext*)': src/mgui/ffviewer.cpp:529:1: warning: control reaches end of non-void function scons: *** [build/src/mgui/ffviewer.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /usr/src/tmp/rpm-tmp.31132 (%build) -- WBR, Dubrovskiy Viacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 6229 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-09 2:16 ` Dubrovskiy Viacheslav @ 2011-08-09 6:37 ` Sergey Bolshakov 0 siblings, 0 replies; 15+ messages in thread From: Sergey Bolshakov @ 2011-08-09 6:37 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 455 bytes --] >>>>> "Dubrovskiy" == Dubrovskiy Viacheslav <slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes: > 02.08.2011 04:57, Sergey Bolshakov пишет: >> Привет. >> Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. >> Поскольку API у libav несколько отличается, прогнозируется >> некоторый слом со сборкой зависимых пакетов, прошу обращаться >> за содействием в починке, если таковое понадобится. > Как такое чинить? see attached patch [-- Attachment #2: 0001-adapt-for-libav-0.7.patch --] [-- Type: text/x-patch, Size: 3293 bytes --] >From 6d2db6bcfa14fa84655d85787caf1fbaf470b6be Mon Sep 17 00:00:00 2001 From: Sergey Bolshakov <sbolshakov@altlinux.org> Date: Wed, 22 Jun 2011 14:54:42 +0400 Subject: [PATCH] adapt for libav-0.7 --- src/mgui/ffviewer.cpp | 15 ++++++--------- src/mgui/project/media-browser.cpp | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/mgui/ffviewer.cpp b/src/mgui/ffviewer.cpp index 30d65a7..c2d9cc6 100644 --- a/src/mgui/ffviewer.cpp +++ b/src/mgui/ffviewer.cpp @@ -315,15 +315,15 @@ bool OpenInfo(FFData& ffi, const char* fname, std::string& err_str) { switch( av_res ) { - case AVERROR_NOENT: + case AVERROR(ENOENT): // :TODO: решить, ставить в конце точки или нет (сообщения пользователю // показывается не HIG-ого) err_str = _("No such file"); break; - case AVERROR_NOFMT: + case AVERROR(EILSEQ): err_str = _("Unknown file format"); break; - case AVERROR_UNKNOWN: + case AVERROR(EINVAL): default: err_str = boost::format("FFmpeg unknown error: %1%") % av_res % bf::stop; break; @@ -351,13 +351,13 @@ bool OpenInfo(FFData& ffi, const char* fname, std::string& err_str) { AVStream* strm = ic->streams[i]; AVCodecContext* avctx = strm->codec; - if( SetIndex(video_idx, i, avctx->codec_type == CODEC_TYPE_VIDEO) ) + if( SetIndex(video_idx, i, avctx->codec_type == AVMEDIA_TYPE_VIDEO) ) ; else // для демиксера имеет значение только NONE и ALL strm->discard = AVDISCARD_ALL; - SetIndex(audio_idx, i, avctx->codec_type == CODEC_TYPE_AUDIO); + SetIndex(audio_idx, i, avctx->codec_type == AVMEDIA_TYPE_AUDIO); } if( video_idx == -1 ) @@ -522,7 +522,7 @@ static double TS2Time(int64_t ts, FFViewer& ffv) static bool IsInHurry(AVCodecContext* dec) { - return dec->hurry_up != 0; + return dec->skip_frame != AVDISCARD_DEFAULT; } struct HurryModeEnabler @@ -531,8 +531,6 @@ struct HurryModeEnabler HurryModeEnabler(AVCodecContext* dec_): dec(dec_) { - // как признак (хоть и устаревший) - dec->hurry_up = 1; // Прирост скорости (h264): // - AVDISCARD_NONREF: 2x // - AVDISCARD_BIDIR: для h264 (и других современных кодеков?) разница в скорости @@ -552,7 +550,6 @@ struct HurryModeEnabler } ~HurryModeEnabler() { - dec->hurry_up = 0; dec->skip_frame = AVDISCARD_DEFAULT; //dec->skip_idct = AVDISCARD_DEFAULT; //dec->skip_loop_filter = AVDISCARD_DEFAULT; diff --git a/src/mgui/project/media-browser.cpp b/src/mgui/project/media-browser.cpp index 541dc81..c50fe11 100644 --- a/src/mgui/project/media-browser.cpp +++ b/src/mgui/project/media-browser.cpp @@ -232,7 +232,7 @@ RTCache& GetRTC(VideoItem vi) for( int i=0; i < (int)ic->nb_streams; i++ ) { AVCodecContext* avctx = ic->streams[i]->codec; - if( avctx->codec_type == CODEC_TYPE_AUDIO ) + if( avctx->codec_type == AVMEDIA_TYPE_AUDIO ) rtc.audioNum++; } -- 1.7.5.4 [-- Attachment #3: Type: text/plain, Size: 5 bytes --] -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-02 8:57 [devel] [I] new libav in town Sergey Bolshakov 2011-08-03 8:19 ` Slava Semushin 2011-08-09 2:16 ` Dubrovskiy Viacheslav @ 2011-08-16 12:22 ` Dubrovskiy Viacheslav 2011-08-16 13:10 ` Sergey Bolshakov 2 siblings, 1 reply; 15+ messages in thread From: Dubrovskiy Viacheslav @ 2011-08-16 12:22 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 10140 bytes --] 02.08.2011 04:57, Sergey Bolshakov пишет: > Привет. > Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. > Поскольку API у libav несколько отличается, прогнозируется > некоторый слом со сборкой зависимых пакетов, прошу обращаться > за содействием в починке, если таковое понадобится. Что-то не могу побороть dvdstyler. g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" -DPACKAGE_VERSION=\"1.8.4.2\" -DPACKAGE_STRING=\"DVDStyler\ 1.8.4.2\" -DPACKAGE_BUGREPORT=\"www.dvdstyler.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dvdstyler\" -DVERSION=\"1.8.4.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGNOME2 -I/usr/include/ffmpeg -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -I.. -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGNOME2 -I/usr/include/ffmpeg -DHAVE_LIBUDEV -DDATADIR=\"/usr/share/dvdstyler\" -c -o mediatrc_ffmpeg.o mediatrc_ffmpeg.cpp In file included from mediatrc_ffmpeg.cpp:11:0: mediatrc_ffmpeg.h:18:0: warning: "INT64_C" redefined /usr/include/stdint.h:296:0: note: this is the location of the previous definition mediatrc_ffmpeg.h:19:0: warning: "UINT64_C" redefined /usr/include/stdint.h:306:0: note: this is the location of the previous definition mediatrc_ffmpeg.h:21:0: warning: "__STDC_CONSTANT_MACROS" redefined <command-line>:0:0: note: this is the location of the previous definition In file included from mediatrc_ffmpeg.cpp:11:0: mediatrc_ffmpeg.h:177:17: warning: 'AVMetadata' is deprecated (declared at /usr/include/libavformat/avformat.h:134) mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::AddInputFile(const wxString&, bool, bool, bool)': mediatrc_ffmpeg.cpp:549:8: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) mediatrc_ffmpeg.cpp:549:78: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::SetOutputFile(const wxString&, VideoFormat, wxArrayInt, wxArrayInt, int, bool, int)': mediatrc_ffmpeg.cpp:745:2: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:745:45: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:746:2: warning: 'void av_metadata_free(AVDictionary**)' is deprecated (declared at /usr/include/libavformat/avformat.h:181) mediatrc_ffmpeg.cpp:746:28: warning: 'void av_metadata_free(AVDictionary**)' is deprecated (declared at /usr/include/libavformat/avformat.h:181) mediatrc_ffmpeg.cpp:753:25: error: 'AVERROR_NUMEXPECTED' was not declared in this scope mediatrc_ffmpeg.cpp:759:6: warning: 'int url_exist(const char*)' is deprecated (declared at /usr/include/libavformat/avio.h:346) mediatrc_ffmpeg.cpp:759:47: warning: 'int url_exist(const char*)' is deprecated (declared at /usr/include/libavformat/avio.h:346) mediatrc_ffmpeg.cpp:772:6: warning: 'int av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1339) mediatrc_ffmpeg.cpp:772:30: warning: 'int av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1339) mediatrc_ffmpeg.cpp: In member function 'void wxFfmpegMediaTranscoder::PrintError(const wxString&, int)': mediatrc_ffmpeg.cpp:787:7: error: 'AVERROR_NUMEXPECTED' was not declared in this scope mediatrc_ffmpeg.cpp:796:7: error: 'AVERROR_NOFMT' was not declared in this scope mediatrc_ffmpeg.cpp: In function 'void choose_pixel_fmt(AVStream*, AVCodec*)': mediatrc_ffmpeg.cpp:824:44: error: 'FF_COMPLIANCE_INOFFICIAL' was not declared in this scope mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::AddVideoStream(AVFormatContext*, int, VideoFormat, int, bool)': mediatrc_ffmpeg.cpp:1062:3: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp:1062:64: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::AddAudioStream(AVFormatContext*, int, AudioFormat, int)': mediatrc_ffmpeg.cpp:1137:3: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp:1137:64: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::AddSubtitleStream(AVFormatContext*, int, SubtitleFormat)': mediatrc_ffmpeg.cpp:1184:3: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp:1184:67: warning: 'int av_metadata_set2(AVDictionary**, const char*, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:160) mediatrc_ffmpeg.cpp: In member function 'int wxFfmpegMediaTranscoder::CopyChapters(int, int)': mediatrc_ffmpeg.cpp:1262:13: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:1262:67: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaTranscoder::Run(bool&)': mediatrc_ffmpeg.cpp:1492:4: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:1492:86: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:1719:4: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:1719:101: warning: 'void av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:176) mediatrc_ffmpeg.cpp:1757:7: warning: 'int av_write_header(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) mediatrc_ffmpeg.cpp:1757:25: warning: 'int av_write_header(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::OutputPacket(AVInputStream*, int, AVOutputStream**, int, const AVPacket*, int, uint8_t*)': mediatrc_ffmpeg.cpp:2040:12: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2040:65: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2351:21: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2351:63: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::DoAudioOut(AVFormatContext*, AVOutputStream*, AVInputStream*, unsigned char*, int)': mediatrc_ffmpeg.cpp:2453:13: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2453:55: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2454:13: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp:2454:55: warning: 'int av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at /usr/include/libavutil/samplefmt.h:68) mediatrc_ffmpeg.cpp: In member function 'bool wxFfmpegMediaTranscoder::DoVideoOut(AVFormatContext*, AVOutputStream*, AVInputStream*, AVFrame*, int*, int, uint8_t*)': mediatrc_ffmpeg.cpp:2790:29: error: invalid conversion from 'int' to 'AVPictureType' make[2]: *** [mediatrc_ffmpeg.o] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2/src' make: *** [all-recursive] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.30439 (%build) Помогите плиз. Собираю из ssh://git.alt/people/dubrsl/packages/dvdstyler.git -- WBR, Dubrovskiy Viacheslav [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 4903 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-16 12:22 ` Dubrovskiy Viacheslav @ 2011-08-16 13:10 ` Sergey Bolshakov 2011-08-16 13:15 ` Dubrovskiy Viacheslav 0 siblings, 1 reply; 15+ messages in thread From: Sergey Bolshakov @ 2011-08-16 13:10 UTC (permalink / raw) To: devel >>>>> "Dubrovskiy" == Dubrovskiy Viacheslav <slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes: [skipped] > Помогите плиз. > Собираю из ssh://git.alt/people/dubrsl/packages/dvdstyler.git Сборка на сизифе прекращается ещё на стадии configure: --- %< --- checking for wxWindows version >= 2.8.7... yes (version 2.9.3) checking for wxSVG... no configure: error: *** missing wxSVG library >= 1.0.10 *** error: Bad exit status from /usr/src/tmp/rpm-tmp.8621 (%build) --- %< --- -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-16 13:10 ` Sergey Bolshakov @ 2011-08-16 13:15 ` Dubrovskiy Viacheslav 2011-08-16 13:50 ` Sergey Bolshakov 0 siblings, 1 reply; 15+ messages in thread From: Dubrovskiy Viacheslav @ 2011-08-16 13:15 UTC (permalink / raw) To: ALT Linux Team development discussions 16.08.2011 09:10, Sergey Bolshakov пишет: >>>>>> "Dubrovskiy" == Dubrovskiy Viacheslav<slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes: > [skipped] > > > Помогите плиз. > > Собираю из ssh://git.alt/people/dubrsl/packages/dvdstyler.git > > Сборка на сизифе прекращается ещё на стадии configure: > --- %< --- > checking for wxWindows version>= 2.8.7... yes (version 2.9.3) > checking for wxSVG... no > configure: error: *** missing wxSVG library>= 1.0.10 *** > error: Bad exit status from /usr/src/tmp/rpm-tmp.8621 (%build) > --- %< --- wxsvg-1.0.10-alt1 собрал в задании http://git.altlinux.org/tasks/52354/ -- WBR, Dubrovskiy Viacheslav ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-16 13:15 ` Dubrovskiy Viacheslav @ 2011-08-16 13:50 ` Sergey Bolshakov 2011-08-16 14:31 ` Dubrovskiy Viacheslav 0 siblings, 1 reply; 15+ messages in thread From: Sergey Bolshakov @ 2011-08-16 13:50 UTC (permalink / raw) To: devel >>>>> "Dubrovskiy" == Dubrovskiy Viacheslav <slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes: >> Сборка на сизифе прекращается ещё на стадии configure: >> --- %< --- >> checking for wxWindows version>= 2.8.7... yes (version 2.9.3) >> checking for wxSVG... no >> configure: error: *** missing wxSVG library>= 1.0.10 *** >> error: Bad exit status from /usr/src/tmp/rpm-tmp.8621 (%build) >> --- %< --- > wxsvg-1.0.10-alt1 > собрал в задании http://git.altlinux.org/tasks/52354/ У меня для Вас плохие новости: $ ssh git task show 52354 id=52354 locked=no shared=no test_only=no repo=sisyphus owner=dubrsl state=FAILED try=1 iter=1 100:srpm=wxsvg-1.0.10-alt1.src.rpm 100:userid=dubrsl -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [devel] [I] new libav in town 2011-08-16 13:50 ` Sergey Bolshakov @ 2011-08-16 14:31 ` Dubrovskiy Viacheslav 0 siblings, 0 replies; 15+ messages in thread From: Dubrovskiy Viacheslav @ 2011-08-16 14:31 UTC (permalink / raw) To: ALT Linux Team development discussions 16.08.2011 09:50, Sergey Bolshakov пишет: >>>>>> "Dubrovskiy" == Dubrovskiy Viacheslav<slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes: > >> Сборка на сизифе прекращается ещё на стадии configure: > >> --- %< --- > >> checking for wxWindows version>= 2.8.7... yes (version 2.9.3) > >> checking for wxSVG... no > >> configure: error: *** missing wxSVG library>= 1.0.10 *** > >> error: Bad exit status from /usr/src/tmp/rpm-tmp.8621 (%build) > >> --- %< --- > > wxsvg-1.0.10-alt1 > > собрал в задании http://git.altlinux.org/tasks/52354/ > > У меня для Вас плохие новости: > $ ssh git task show 52354 > id=52354 locked=no shared=no test_only=no repo=sisyphus owner=dubrsl state=FAILED try=1 iter=1 > 100:srpm=wxsvg-1.0.10-alt1.src.rpm > 100:userid=dubrsl опять из-за различий во временной зоне не проходит проверка на наследование :( И я постоянно забываю ставить TZ=UTC перед созданием srpm :( Если вас не затруднит, проверьте с тем что собралось http://git.altlinux.org/tasks/52354/build/100/i586/rpms/ Я вечером с работы приеду и пересоберу этот пакет. -- WBR, Dubrovskiy Viacheslav ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2011-08-16 14:31 UTC | newest] Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-02 8:57 [devel] [I] new libav in town Sergey Bolshakov 2011-08-03 8:19 ` Slava Semushin 2011-08-03 8:22 ` REAL 2011-08-03 9:26 ` Sergey Bolshakov 2011-08-03 9:35 ` Slava Semushin 2011-08-03 12:50 ` Konstantin Pavlov 2011-08-03 9:34 ` Sergey Kurakin 2011-08-04 11:09 ` Sergey Kurakin 2011-08-09 2:16 ` Dubrovskiy Viacheslav 2011-08-09 6:37 ` Sergey Bolshakov 2011-08-16 12:22 ` Dubrovskiy Viacheslav 2011-08-16 13:10 ` Sergey Bolshakov 2011-08-16 13:15 ` Dubrovskiy Viacheslav 2011-08-16 13:50 ` Sergey Bolshakov 2011-08-16 14:31 ` Dubrovskiy Viacheslav
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git