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

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

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

К сожалению эти символы уже используются различными программами в
репозитарии.

at@mash ~/.qa-robot/bad_elf_symbols $ cat ffmpeg-minus
align_get_bits
check_marker
get_bits_long
img_convert
img_resample
img_resample_close
img_resample_full_init
img_resample_init
show_bits_long
sws_freeContext
sws_getContext
sws_scale
at@mash ~/.qa-robot/bad_elf_symbols $ grep -f ffmpeg-minus ref
libavformat     /usr/lib/libavformat.so.50.5.0  U       get_bits_long
cinelerra       /usr/bin/cinelerra      U       img_convert
ffmpeg-vhook    /usr/lib/vhook/fish.so  U       img_convert
ffmpeg-vhook    /usr/lib/vhook/imlib2.so        U       img_convert
ffmpeg-vhook    /usr/lib/vhook/null.so  U       img_convert
ffmpeg-vhook    /usr/lib/vhook/ppm.so   U       img_convert
ffmpeg-vhook    /usr/lib/vhook/watermark.so     U       img_convert
ffmpeg2theora   /usr/bin/ffmpeg2theora  U       img_convert
mpeg4ip-player-plugins  /usr/lib/mp4player/ffmpeg_video_plugin.so       U       img_convert
transcode       /usr/lib/transcode/export_ffmpeg.so     U       img_convert
vdr-osdpip      /usr/lib/vdr/libvdr-osdpip.so.1.3.22    U       img_convert
vlc-plugin-ffmpeg       /usr/lib/vlc/codec/libffmpeg_plugin.so  U       img_convert
ffmpeg2theora   /usr/bin/ffmpeg2theora  U       img_resample
vdr-osdpip      /usr/lib/vdr/libvdr-osdpip.so.1.3.22    U       img_resample
vlc-plugin-ffmpeg       /usr/lib/vlc/codec/libffmpeg_plugin.so  U       img_resample
vdr-osdpip      /usr/lib/vdr/libvdr-osdpip.so.1.3.22    U       img_resample_close
vlc-plugin-ffmpeg       /usr/lib/vlc/codec/libffmpeg_plugin.so  U       img_resample_close
ffmpeg2theora   /usr/bin/ffmpeg2theora  U       img_resample_full_init
vdr-osdpip      /usr/lib/vdr/libvdr-osdpip.so.1.3.22    U       img_resample_full_init
vlc-plugin-ffmpeg       /usr/lib/vlc/codec/libffmpeg_plugin.so  U       img_resample_full_init
vlc-plugin-ffmpeg       /usr/lib/vlc/codec/libffmpeg_plugin.so  U       img_resample_init
ffmpeg  /usr/bin/ffmpeg U       sws_freeContext
ffmpeg  /usr/bin/ffmpeg U       sws_getContext
ffplay  /usr/bin/ffplay U       sws_getContext
ffmpeg  /usr/bin/ffmpeg U       sws_scale
ffplay  /usr/bin/ffplay U       sws_scale
at@mash ~/.qa-robot/bad_elf_symbols $ 

>         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

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

Не ясно, каков механизм, что после пересборки эти функции перестают
использоваться.  Там в хедерах простыни ifdef/define'ов что ли?

> Пересобираем без 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

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

Ну, надо разбираться. :)

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

  parent reply	other threads:[~2006-09-10  9:55 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 ` Alexey Tourbin [this message]
2006-09-10 10:29   ` [devel] ffmpeg update: help needed Pavlov Konstantin
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=20060910095555.GB22147@localhost.localdomain \
    --to=at@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