ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <led@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ffmpeg update: help needed.
Date: Mon, 11 Sep 2006 10:54:24 +0300
Message-ID: <200609111054.24500.led@altlinux.ru> (raw)
In-Reply-To: <200609100331.59664.thresh@altlinux.ru>

В сообщении от 10 сентября 2006 02:31 Pavlov Konstantin написал(a):
> Всем привет.
>
> Вот такая ситуация:
> с одной стороны, надо включать в 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
>
>
> Подскажите, что мне с этим делать?
>
> Апстрим невменяем, если что.

Может попробовать при сборке "запихнуть" libswscale.a в libavcodec.so.* (до 
смены soname у последней в апстриме)?

-- 
Led.


      parent reply	other threads:[~2006-09-11  7:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-09 23:31 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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609111054.24500.led@altlinux.ru \
    --to=led@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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