ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] ffmpeg update: help needed.
@ 2006-09-09 23:31 Pavlov Konstantin
  2006-09-10  8:39 ` [devel] ffmpeg update: help needed. [JT] Vitaly Lipatov
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Pavlov Konstantin @ 2006-09-09 23:31 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 4806 bytes --]

Всем привет.

Вот такая ситуация:
с одной стороны, надо включать в ffmpeg поддержку swscaler.
с другой, если ее включить, то все становится плохо:
17.i686.rpm
        common sonames:
libavcodec.so.51        /usr/lib/libavcodec.so.51.11.0  /usr/lib/libavcodec.so.51.14.0
libavutil.so.49 /usr/lib/libavutil.so.49.0.0    /usr/lib/libavutil.so.49.0.0

--- libavcodec-0.5.0-alt1.svn5987.1/libavcodec.so.51    2006-09-09 14:36:29 
+0400
+++ libavcodec-0.5.0-alt1.svn6217/libavcodec.so.51      2006-09-10 02:01:52 
+0400
@@ -64,3 +64,2 @@
 alac_decoder   D
-align_get_bits T
 align_put_bits T
@@ -74,2 +73,3 @@
 audio_resample_init    T
+av_audio_convert       T
 av_bitstream_filter_close      T
@@ -159,3 +159,2 @@
 cavsvideo_parser       D
-check_marker   T
 cinepak_decoder        D
@@ -408,3 +407,2 @@
 free_vlc       T
-get_bits_long  T
 h261_decoder   D
@@ -430,3 +428,2 @@
 idcin_decoder  D
-img_convert    T
 img_copy       T
@@ -435,6 +432,2 @@
 img_pad        T
-img_resample   T
-img_resample_close     T
-img_resample_full_init T
-img_resample_init      T
 indeo2_decoder D
@@ -583,3 +576,2 @@
 shorten_decoder        D
-show_bits_long T
 simple_idct    T
@@ -603,5 +595,2 @@
 svq3_decoder   D
-sws_freeContext        T
-sws_getContext T
-sws_scale      T
 tab_frw_01234567_sse2  D
@@ -618,2 +607,3 @@
 vmdvideo_decoder       D
+vmnc_decoder   D
 vorbis_decoder D
@@ -621,2 +611,9 @@
 vp3_decoder    D
+vp56_decode_frame      T
+vp56_free      T
+vp56_init      T
+vp56_init_dequant      T
+vp5_decoder    D
+vp6_decoder    D
+vp6f_decoder   D
 vqa_decoder    D

        12 symbols removed
T align_get_bits
T check_marker
T get_bits_long
T img_convert
T img_resample
T img_resample_close
T img_resample_full_init
T img_resample_init
T show_bits_long
T sws_freeContext
T sws_getContext
T sws_scale

        9 symbols added
D vmnc_decoder
D vp5_decoder
D vp6_decoder
D vp6f_decoder
T av_audio_convert
T vp56_decode_frame
T vp56_free
T vp56_init
T vp56_init_dequant

# template for libavcodec.so.51 version script
LIBAVCODEC_0.5.0 {
    global:
        av_audio_convert;
        vmnc_decoder;
        vp56_decode_frame;
        vp56_free;
        vp56_init;
        vp56_init_dequant;
        vp5_decoder;
        vp6_decoder;
        vp6f_decoder;
};

libavutil.so.49 definitions unchanged

vim:ft=diff
thresh@exchange repo/i686/RPMS.hasher $

Т.е., как видим, удалены функции из public api, но soname не изменился. хуже 
того, обьявления этих функций все еще есть в avcodec.h.
Из-за этого становятся нерабочими все программы, которые используют ffmpeg. 
Пересборка, конечно, помогает, но...

Пересобираем без swscaler, становится несколько лучше, но все же:

thresh@exchange repo/i686/RPMS.hasher $ rpmsodiff 
libavcodec-0.5.0-alt1.svn5987.1.i686.rpm 
libavcodec-0.5.0-alt1.svn6217.1.i686.rpm
        common sonames:
libavcodec.so.51        /usr/lib/libavcodec.so.51.11.0  /usr/lib/libavcodec.so.51.14.0
libavutil.so.49 /usr/lib/libavutil.so.49.0.0    /usr/lib/libavutil.so.49.0.0

--- libavcodec-0.5.0-alt1.svn5987.1/libavcodec.so.51    2006-09-09 14:36:29 
+0400
+++ libavcodec-0.5.0-alt1.svn6217.1/libavcodec.so.51    2006-09-10 02:21:11 
+0400
@@ -64,3 +64,2 @@
 alac_decoder   D
-align_get_bits T
 align_put_bits T
@@ -74,2 +73,3 @@
 audio_resample_init    T
+av_audio_convert       T
 av_bitstream_filter_close      T
@@ -159,3 +159,2 @@
 cavsvideo_parser       D
-check_marker   T
 cinepak_decoder        D
@@ -408,3 +407,2 @@
 free_vlc       T
-get_bits_long  T
 h261_decoder   D
@@ -583,3 +581,2 @@
 shorten_decoder        D
-show_bits_long T
 simple_idct    T
@@ -618,2 +615,3 @@
 vmdvideo_decoder       D
+vmnc_decoder   D
 vorbis_decoder D
@@ -621,2 +619,9 @@
 vp3_decoder    D
+vp56_decode_frame      T
+vp56_free      T
+vp56_init      T
+vp56_init_dequant      T
+vp5_decoder    D
+vp6_decoder    D
+vp6f_decoder   D
 vqa_decoder    D

        4 symbols removed
T align_get_bits
T check_marker
T get_bits_long
T show_bits_long

        9 symbols added
D vmnc_decoder
D vp5_decoder
D vp6_decoder
D vp6f_decoder
T av_audio_convert
T vp56_decode_frame
T vp56_free
T vp56_init
T vp56_init_dequant

# template for libavcodec.so.51 version script
LIBAVCODEC_0.5.0 {
    global:
        av_audio_convert;
        vmnc_decoder;
        vp56_decode_frame;
        vp56_free;
        vp56_init;
        vp56_init_dequant;
        vp5_decoder;
        vp6_decoder;
        vp6f_decoder;
};

libavutil.so.49 definitions unchanged

vim:ft=diff


Подскажите, что мне с этим делать?

Апстрим невменяем, если что.

-- 
Pavlov Konstantin,
ALT Linux Team,
VideoLAN Team,
jid: thresh@altlinux.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-11 11:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-09 23:31 [devel] ffmpeg update: help needed Pavlov Konstantin
2006-09-10  8:39 ` [devel] ffmpeg update: help needed. [JT] Vitaly Lipatov
2006-09-11  7:46   ` Led
2006-09-11  8:11     ` Vitaly Lipatov
2006-09-11  8:25       ` Led
2006-09-11  9:22       ` Pavlov Konstantin
2006-09-11 10:42     ` Igor Vlasenko
2006-09-11 11:18       ` Led
2006-09-10  9:55 ` [devel] ffmpeg update: help needed Alexey Tourbin
2006-09-10 10:29   ` Pavlov Konstantin
2006-09-11  7:54 ` Led

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