Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100813 - gstreamer-plugins-ffmpeg errors when playing avi/xvid/ac3 files with totem
Summary: gstreamer-plugins-ffmpeg errors when playing avi/xvid/ac3 files with totem
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 07:10 UTC by Pascal de Bruijn
Modified: 2007-06-28 05:58 UTC (History)
1 user (show)

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


Attachments
Totem failure, gst-debug-level=5 (totem.log.bz2,1.45 MB, application/x-bzip)
2005-10-08 14:54 UTC, Jose daLuz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal de Bruijn 2005-07-30 07:10:38 UTC
When I open an AVI file (xvid/ac3) in totem, Totem gives me an error (see below
for more info).

When I open an AVI file with xvid/mp3 it's played just fine. So that leads me to
believe the ac3 audio is causing the error.

Also nautilus is capable of playing the avi/xvid/ac3 file for thumbnailing
purposes just fine, tis is probably because nautilus ignores the ac3 audio.



Reproducible: Always
Steps to Reproduce:
1. Open Totem-1.0.4
2. Open a AVI file with xvid as video codec and ac3 as audio codec


Actual Results:  
Totem could not play 'file:///mytestmovie.avi'.
Internal GStreamer error: negotiation problem. File a bug. 

Expected Results:  
The movie should be played as normal...

tux ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="tux"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info"
KERNEL="linux"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od
s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="4485"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="192.168.2.103 1538 22"
SSH_CONNECTION="192.168.2.103 1538 192.168.2.102 22"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X a52 aac aalib accessibility acl acpi adns alsa avi berkdb bitmap-fonts
bzip2 cdr crypt cscope cups curl dbus dvd dvdr eds emboss encode erandom fam
flac foomaticdb ftp gd gdbm gif gnome gstreamer gtk gtk2 hal howl imagemagick
imlib jpeg libclamav libg++ libwww lm_sensors mad maildir mikmod mng mono
mozilla mp3 mpeg ncurses nls nptl nptlonly objc ogg oggvorbis openal opengl pam
pcre pdflib perl png posix ppds python quicktime quotas readline ruby samba
scanner sdl slang snmp sockets speex spell ssl svg tcpd tetex theora tiff
truetype truetype-fonts type1-fonts usb vorbis x86 xinerama xml xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS
USERLAND KERNEL ELIBC"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

--------------------------------------------------------------------------------

I'm using a gentoo stable machine, with certain ebuilds unmasked, mostly
gnome/gstreamer...

tux ~ # emerge -p gcc glibc gstreamer gst-plugins gst-plugins-ffmpeg

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.3.6  (-altivec) -bootstrap -boundschecking
-build -fortran -gcj -gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64)
-nls* -nocxx -nopie -nossp +objc -static 0 kB
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug +erandom -hardened
(-multilib) -nls* +nptl +nptlonly -pic (-selinux) -userlocales 0 kB
[ebuild   R   ] media-libs/gstreamer-0.8.10  -debug -doc 0 kB
[ebuild   R   ] media-libs/gst-plugins-0.8.10  +alsa -debug -esd -oss 0 kB
[ebuild   R   ] media-plugins/gst-plugins-ffmpeg-0.8.5  0 kB

Total size of downloads: 0 kB

I also tried emerge gst-plugins-ffmpeg-0.8.4 and the issue was exactly the same.
Comment 1 foser (RETIRED) gentoo-dev 2005-07-31 02:35:22 UTC
Is it just one file ? You do have the gst-plugins-a52dec plug-in installed ?
Comment 2 Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-09-14 12:36:29 UTC
Pascal: any reply?
Comment 3 Pascal de Bruijn 2005-09-15 01:09:42 UTC
Hi,

I'm sorry... I'm not using Gentoo anymore at the moment...

I can't remember whether I installed the a52dec gstreamer plugin.

You may close/remove this bug report...

Regards,
Pascal de Bruijn
Comment 4 Jose daLuz 2005-10-08 14:49:27 UTC
I just included a comment with this problem on bug 86675 as I thought that was
the bug I'm running into, but it seems like it's this one instead.  Here is the
comment:
I don't know if this is related, but: Rhythmbox works just fine for me, but I
just masked the xine USE flag for totem to try it out with GStreamer (0.8.11). 
Playing certain AVIs produces the same "pad problem" error, sometimes after a
couple of "Internal GStreamer error: negotiation problem. File a bug" error
dialogs; other AVIs just play.

emerge --info
Portage 2.0.53_rc4 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-ck7 x86_64)
=================================================================
System uname: 2.6.13-ck7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa avi bash-completion berkdb bitmap-fonts cdr crypt
cups curl dbus eds emboss encode esd flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 java jpeg kde ldap libwww lzw
lzw-tiff mad maildir mikmod mono motif mozilla mp3 mpeg ncurses nls nptl ogg
oggvorbis opengl pam pdflib perl pic png python qt quicktime readline ruby samba
sdl speex spell sqlite ssl tcltk tcpd tetex theora tiff truetype-fonts
type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Totem: [ I] media-video/totem (1.2.0-r1):  Media player for GNOME
GStreamer: [ I] media-libs/gstreamer (0.8.11):  Streaming media framework
GStreamer plugins:
[ I] media-libs/gst-plugins (0.8.11):  Basepack of plugins for gstreamer
[ I] media-plugins/gst-plugins-alsa (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-cdparanoia (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-esd (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-faac (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-faad (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-ffmpeg (0.8.6):  FFmpeg based gstreamer plugin
[ I] media-plugins/gst-plugins-flac (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-gnomevfs (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-jpeg (0.8.11):  plug-in to encode and decode jpeg
images
[ I] media-plugins/gst-plugins-lame (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-libpng (0.8.11):  plug-in to encode png images
[ I] media-plugins/gst-plugins-mad (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-mikmod (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-mpeg2dec (0.8.11):  Libmpeg2 based decoder
plug-in for gstreamer
[ I] media-plugins/gst-plugins-ogg (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-pango (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-speex (0.8.11):  GStreamer plugin to allow
encoding and decoding of speex
[ I] media-plugins/gst-plugins-theora (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-vorbis (0.8.11):  plugin for gstreamer
[ I] media-plugins/gst-plugins-xvideo (0.8.11):  plugin for gstreamer

Properties of a file that b0rks GStreamer:
Video Codec ISO MPEG-4 (DivX5, ffmpeg) 25 fps
Audio Codec MPEG layer 2/3 112 kbps
Properties of a file that plays:
Video Codec ISO MPEG-4 (XviD, ffmpeg) 23 fps
Audio Codec MPEG layer 2/3 128 kbps

I am attaching a trace.
Comment 5 Jose daLuz 2005-10-08 14:54:29 UTC
Created attachment 70176 [details]
Totem failure, gst-debug-level=5
Comment 6 Jose daLuz 2005-10-18 17:23:16 UTC
Has there been any progress on this issue?
Comment 7 foser (RETIRED) gentoo-dev 2006-02-26 09:05:53 UTC
no progress i guess, is this still a problem with gst 0.8.12 and the latest gst-plugins-ffmpeg ?

It might just be that these files are/were not supported in this version of gstreamer.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 05:58:33 UTC
Reopen if you can reproduce this w/ >=media-plugins/gst-plugins-ffmpeg-0.10.1-r1 and up-to-date totem.