Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380695 - media-libs/gst-plugins-bad should ship dtsdec
Summary: media-libs/gst-plugins-bad should ship dtsdec
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 22:53 UTC by Florian Klink
Modified: 2011-11-03 05:33 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 Florian Klink 2011-08-25 22:53:50 UTC
Currently,

gst-plugins-bad (0.10.22) doesn't build the dtsdec plugin, so I don't have audio in some movies when playing with totem.


totem says:

** Message: Missing plugin: gstreamer|0.10|totem|DTS-Decoder|decoder-audio/x-dts, framed=(boolean)true, endianness=(int)4321, block-size=(int)512, frame-size=(int)1006 (DTS-Decoder)
** Message: Missing plugin: gstreamer|0.10|totem|DTS-Decoder|decoder-audio/x-dts, framed=(boolean)true, endianness=(int)4321, block-size=(int)512, frame-size=(int)2012 (DTS-Decoder)
** Message: Automatic missing codec installation not supported (helper script missing)



libgstdtsdec.so, that should come with gst-plugins-bad should fix that. But it's not built in the ebuild. could that be fixed?


emerge --info:

Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.1.0-rc1 x86_64)
=================================================================
System uname: Linux-3.1.0-rc1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 23 Aug 2011 17:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 sunrise flameeyes-overlay lisp roslin wdzierzan kde-sunset
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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/x11 /var/lib/layman/sunrise /var/lib/layman/flameeyes-overlay /var/lib/layman/lisp /var/lib/layman/roslin /var/lib/layman/wdzierzan /var/lib/layman/kde-sunset"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 avahi berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus dri dts fortran gdbm gnome gpm gtk iconv ipv6 jpeg jpeg2k jpg mmx modules mudflap multilib ncurses networkmanager nls nptl nptlonly openmp pam pcre perl png polkit pppd pulseaudio python readline session sse sse2 ssl svg sysfs tcpd tiff truetype unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt" 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 aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon r300 r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2011-08-26 04:07:05 UTC
Thanks for reporting -- I've added a media-plugins/gst-plugins-dts package which provides dtsdec.
Comment 2 Florian Klink 2011-08-26 09:23:43 UTC
Tested it, works! Now I also have audio in totem.

Thanks :-)

Will this be added as a dependency for gst-plugins-meta[dts]?

VLC also has this USE flag for dts support...
Comment 3 Pacho Ramos gentoo-dev 2011-09-12 15:51:39 UTC
+  12 Sep 2011; Pacho Ramos <pacho@gentoo.org> -gst-plugins-meta-0.10-r4.ebuild,
+  gst-plugins-meta-0.10-r6.ebuild:
+  Add a dts USE flag, bug #380695 by Florian Klink. Remove old.
+
Comment 4 Alexander E. Patrakov 2011-10-22 12:35:58 UTC
To the original reporter: I am glad that now you have working DTS audio in the movies with gst-plugins-dts. However, could you please confirm that installing gst-plugins-ffmpeg was not enough?

I am asking because libdca is currently unmaintained upstream, lacks some features like DTS-ES support, decodes some files incorrectly, and all the development is now in ffmpeg.
Comment 5 Florian Klink 2011-10-22 23:08:59 UTC
Nope, gst-plugins-ffmpeg is not enough.

I unmerged gst-plugins-dts, rebuilt ffmpeg and gst-plugins-ffmpeg.
(By the way, it seems to me as if gst-plugins-ffmpeg is using it's own ffmpeg....)

According to the build.log of gst-plugins-ffmpeg, dts support is enabled in the build, but totem still says:

* Message: Missing plugin: gstreamer|0.10|totem|DTS-Decoder|decoder-audio/x-dts, framed=(boolean)true, endianness=(int)4321, block-size=(int)512, frame-size=(int)2012 (DTS-Decoder)
** Message: Automatic missing codec installation not supported (helper script missing)

Sound is then of course missing.
Comment 6 Alexander E. Patrakov 2011-11-03 05:33:33 UTC
This bug is probably a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=608892 , and the resolution is correct. When the upstream bug is closed, the decision to build a libdca-based decoder should be reconsidered, as it will become obsolete.