[devel] [I] new libav in town

Dubrovskiy Viacheslav slava на tangramltd.com
Вт Авг 16 12:22:21 UTC 2011


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


----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : smime.p7s
Тип     : application/pkcs7-signature
Размер  : 4903 байтов
Описание: п я─п╦п©я┌п╬пЁя─п╟я└п╦я┤п╣я│п╨п╟я▐ п©п╬п╢п©п╦я│я▄ S/MIME
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20110816/c8387a79/attachment-0001.bin>


Подробная информация о списке рассылки Devel