ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavlov Konstantin <thresh@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] ffmpeg update: help needed.
Date: Sun, 10 Sep 2006 14:29:29 +0400
Message-ID: <200609101429.34758.thresh@altlinux.ru> (raw)
In-Reply-To: <20060910095555.GB22147@localhost.localdomain>

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

On Sunday 10 September 2006 13:55, Alexey Tourbin wrote:
> On Sun, Sep 10, 2006 at 03:31:54AM +0400, Pavlov Konstantin wrote:
> > Вот такая ситуация:
> > с одной стороны, надо включать в ffmpeg поддержку swscaler.
> > с другой, если ее включить, то все становится плохо:
> >
> >         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
>
> К сожалению эти символы уже используются различными программами в
> репозитарии.
Ну, это я заметил. :)

> > Т.е., как видим, удалены функции из public api, но soname не изменился.
> > хуже того, обьявления этих функций все еще есть в avcodec.h.
> > Из-за этого становятся нерабочими все программы, которые используют
> > ffmpeg. Пересборка, конечно, помогает, но...
>
> Не ясно, каков механизм, что после пересборки эти функции перестают
> использоваться.  Там в хедерах простыни ifdef/define'ов что ли?
В хедерах как раз нет. Они есть в исходных кодах самой библиотеки. К фатальным 
последствиям приводит включение swscale-библиотеки в сборке 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
> >
> >         4 symbols removed
> > T align_get_bits
> > T check_marker
> > T get_bits_long
> > T show_bits_long
>
> А вот эти почти не используются:
>
> $ grep -f ffmpeg-minus2 ref
> libavformat     /usr/lib/libavformat.so.50.5.0  U       get_bits_long
> $
>
> т.е. это из того же исходного пакета, что и libavcodec.
>
> >         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
> >
> > Подскажите, что мне с этим делать?
>
> Ну, надо разбираться. :)

на http://87.236.24.51/hasher/sisyphus32/ есть собранные пакеты и src.rpm к 
ним.
5987.1 -- "старая версия"
6217 -- "новая" с swscaler:on
6217.1 -- "новая" с swscaler:off.

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

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

  reply	other threads:[~2006-09-10 10:29 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 [this message]
2006-09-11  7:54 ` Led

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=200609101429.34758.thresh@altlinux.ru \
    --to=thresh@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