Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158774 - can't play m4a (aac) files with gstreamer
Summary: can't play m4a (aac) files with gstreamer
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 15:45 UTC by Daniel Drake (RETIRED)
Modified: 2006-12-30 21:17 UTC (History)
1 user (show)

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


Attachments
gst-inspect-0.10 output (inspect.txt,23.60 KB, patch)
2006-12-21 15:46 UTC, Daniel Drake (RETIRED)
Details | Diff
gst-launch debug output (log,53.97 KB, text/plain)
2006-12-21 15:51 UTC, Daniel Drake (RETIRED)
Details
gst-launch debug output from faad decoder (log,32.80 KB, text/plain)
2006-12-21 15:53 UTC, Daniel Drake (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2006-12-21 15:45:02 UTC
Here's one you can try:
http://www.xciv.org/~meta/audio-shootout/emerge.m4a

It plays fine with mplayer, and faad can decode it to wav just fine.

# gst-launch-0.10 filesrc location=emerge.m4a ! decodebin ! audioconvert ! audioresample ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/filesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(1614): gst_base_src_loop (): /pipeline0/filesrc0:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

This is with:
 media-libs/gstreamer-0.10.11
 media-libs/gst-plugins-base-0.10.11
 media-plugins/gst-plugins-faad-0.10.1

Portage 2.1.2_rc3-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19 i686)
=================================================================
System uname: 2.6.19 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.7
Last Sync: Thu, 21 Dec 2006 21:00:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata.xml --exclude=ChangeLog"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bash-completion cairo cdr custom-cflags daap dbus dri dvd dvdr dvdread elibc_glibc firefox gnome gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics jpeg kernel_linux libnotify linguas_en_GB mad mmx mono mozbranding moznocompose moznoirc moznomail mp3 no-old-linux nptl nptlonly opengl pdf png rtc sse sse2 ssl svg tiff truetype truetype-fonts userland_GNU video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga xorg xvid"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-12-21 15:46:26 UTC
Created attachment 104543 [details, diff]
gst-inspect-0.10 output

I should also mention that I'm not sure whether this is a new bug or regression, I haven't tried to play an m4a file for several months.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-12-21 15:51:29 UTC
Created attachment 104544 [details]
gst-launch debug output

Output of
gst-launch-0.10 --gst-debug-level=3 filesrc location=emerge.m4a ! decodebin  !  audioconvert ! audioresample ! alsasink
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-12-21 15:53:22 UTC
Created attachment 104545 [details]
gst-launch debug output from faad decoder

Output of 
gst-launch-0.10 --gst-debug-level=3 filesrc location=emerge.m4a ! faad !  audioconvert ! audioresample ! alsasink
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2006-12-30 15:47:14 UTC
The problem is that to decode m4a files, you also need the qtdemux plugin.. Part of the gst-plugins-bad package. Which rhythmbox should require too. Once I install gst-plugins-bad, I can play my m4a files.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-12-30 21:17:15 UTC
Thanks, that fixes it.