Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353945 - net-voip/ekiga-3.2.7: H.264 codec missing in video codecs list
Summary: net-voip/ekiga-3.2.7: H.264 codec missing in video codecs list
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 10:11 UTC by Konstantin
Modified: 2014-08-15 10:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2011-02-07 10:11:05 UTC
Ekiga run normaly, but H.264 codec is missing in video codec list.
it seems that this is a compatibility issue opal and ekiga.
See attached debug.

Reproducible: Always

Steps to Reproduce:
1. emerge ekiga
2. run from console (to see debug output) ekiga -d 5 2
3. 

Actual Results:  
x264loader_unix.cxx(57)	H264	DYNA	Failed to load x264_encoder_open

no H.264 codec in video codec list (Edit -> Preferences -> Video -> Codecs)

Expected Results:  
H.264 codec in video codec list

alpha@alpha-mobile ~ $ ekiga -d 5 2
        dyna.cxx(139)		DYNA	Successfully loaded 'libavcodec.so'
        dyna.cxx(390)	MPEG4	DYNA	Successfully loaded libavcodec library and verified functions
       mpeg4.cxx(1993)	MPEG4	Codec	Enabled
        dyna.cxx(139)		DYNA	Successfully loaded 'libavcodec.so'
        dyna.cxx(390)	H263+	DYNA	Successfully loaded libavcodec library and verified functions
   h263-1998.cxx(2103)	H.263	Codec	Enabled with 4 definitions
        dyna.cxx(139)		DYNA	Successfully loaded 'libavcodec.so'
        dyna.cxx(390)	H264	DYNA	Successfully loaded libavcodec library and verified functions
h264pipe_unix.cxx(301)	H264	IPC	PP: Found GPL process executable in  /usr/lib/opal-3.6.8/codecs/video/h264_video_pwplugin_helper
x264loader_unix.cxx(114)	H264	DYNA	Trying to open x264 library 
x264loader_unix.cxx(114)	H264	DYNA	Trying to open x264 library libx264.so
x264loader_unix.cxx(131)	H264	DYNA	Successfully loaded libx264.so
x264loader_unix.cxx(57)	H264	DYNA	Failed to load x264_encoder_open
h264pipe_unix.cxx(113)	H264	IPC	PP: GPL Process returned failure on initialization - plugin disabled
   h264helper_unix.cxxh264-x264.cxx((127838)	)	H264	IPC	CP: Failed to load dynamic library - exitingH264	Codec	Disabled

#emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 06 Feb 2011 09:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif glibc-omitfp gnome gnome-keyring gpm gstreamer gtk hal iconv icq jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session sip spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype type1 udev unicode usb v4l2 vorbis vpau x264 x86 xcb xml xorg xrandr xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Konstantin 2011-02-07 10:19:47 UTC
=================================================================
                        Package Settings
=================================================================

net-voip/ekiga-3.2.7 was built with the following:
USE="dbus eds gnome gstreamer ldap libnotify mmx nls shm xv (-aqua) -avahi -debug -doc -gconf -h323 -kde (-kdeenablefinal) -kontact -static -v4l -xcap"


net-libs/opal-3.6.8-r1 was built with the following:
USE="audio ffmpeg ldap plugins sip ssl video x264 xml -capi -celt -debug -doc -dtmf -examples -fax -h224 -h281 -h323 -iax -ipv6 -ivr -ixj -java -lid -sbc -sipim -srtp -stats -swig -theora -vpb -vxml -wav -x264-static"
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer -fno-visibility-inlines-hidden -D__STDC_CONSTANT_MACROS"
CXXFLAGS="-Os -march=native -pipe -fomit-frame-pointer -fno-visibility-inlines-hidden -D__STDC_CONSTANT_MACROS"


media-video/ffmpeg-0.6_p25767 was built with the following:
USE="3dnow 3dnowext X alsa bzip2 encode hardcoded-tables mmx mmxext mp3 sdl ssse3 threads v4l2 vorbis x264 xvid zlib (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -speex -static-libs -test -theora -v4l -vaapi -vdpau -vpx" VIDEO_CARDS="-nvidia"
CFLAGS="-Os -march=native -pipe -fomit-frame-pointer -fomit-frame-pointer"
CXXFLAGS="-Os -march=native -pipe -fomit-frame-pointer -fomit-frame-pointer"


media-libs/x264-0.0.20101029 was built with the following:
USE="threads -debug -pic"
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-05-01 08:32:00 UTC
This may be cause by bug 305803, but I'm unsure. Fixing that bug requires too many backports so it's better to bump to the most recent release...
Comment 3 Carl Michal 2011-06-13 06:47:45 UTC
I don't think these are the same thing.

I see this problem with ekiga failing to load the x264 library with opal-3.6.8-r2 in the tree, but also with opal-3.6.8-r3 as patched in the solution to that bug.
Comment 4 Carl Michal 2011-06-13 14:37:47 UTC
ok, I take it back.  I had compiled opal without the x264-static flag.

When the x264-static flag is added to opal, the in-tree 3.6.8-r2 does fail to compile, but 3.6.8-r3 in that bug solution solution does compile, and then ekiga loads the 264 plugin successfully.

So perhaps the solution to this bug should be to add a check to ekiga's ebuild - if x264 is enabled, it should check that opal was compiled with x264-static.
Comment 5 Eugen Dedu 2012-11-09 08:45:17 UTC
H264 works upstream.  You should depend on libavcodec-dev (with H264 decoder) and libx264.
Comment 6 Pacho Ramos gentoo-dev 2014-08-15 10:11:35 UTC
should be solved in 4.x, please retry with that