Xine produces video but no sound. The same files work fine with mplayer without adjusting mixers, and xmms, sox, ogg123 etc. are all OK. I use OSS for everything. xine --audio-driver oss videocd.mpg makes no difference. Xine reports no errors regarding audio: 73 $ xine videocd.mpg This is xine (X11 gui) - a free video player v0.9.19 (c) 2000-2003 by G. Bartsch and the xine project team. Built with xine library 1.0.0 (1-beta8) Found xine library version: 1.0.0 (1-beta8). XServer Vendor: Gentoo Linux (XFree86 4.3.0, revision r1). Release: 40300000, Protocol Version: 11, Revision: 0, Available Screen(s): 1, using 0 Depth: 16. XShmQueryVersion: 1.1. -[ xiTK version 0.10.2 ]- -[ xiTK will use XShm ]- -[ WM type: (GnomeCompliant) dtwm ]- Display is not using Xinerama. main: probing <aadxr3> video output plugin load_plugins: failed to load video output plugin <aadxr3> main: probing <dxr3> video output plugin video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or directory) load_plugins: failed to load video output plugin <dxr3> main: probing <xv> video output plugin vo_scale: invalid ratio, using 4:3 vo_scale: unknown aspect ratio (0) in stream => using 4:3 Reproducible: Always Steps to Reproduce: 1.xine <filename> - doesn't work 2.mplayer <filename> - works 3. Actual Results: see above Expected Results: er, made some noise. 11 $ emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://mirrors.sunsite.dk/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/init.d /etc/xfce /etc/X11/xkb /etc/gconf /etc/env.d" PORTDIR="/mnt/scratch/portage" DISTDIR="/mnt/scratch/portage/distfiles" PKGDIR="/mnt/scratch/portage/packages" PORTAGE_TMPDIR="/mnt/scratch/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex bonobo svga java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl aalib cdr dga directfb doc dvd fbcon gtkhtml lirc mbox mozilla mysql nas odbc plotutils postgres samba sse tcltk usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
Try specifying the audio plugin explicitely with the -A command line option. You can see a list of available plugins by typing "xine --help". Remove ~/.xine before doing this.
-A is the same as --audio-driver according to xine --help. Anyway, it didn't make any difference . . .
Sorry I didn't see the --audio-driver thing in your original post. Do you have audio drivers loaded in the kernel? I see that you have "alsa" in your USE flags: are you using the ALSA sound drivers? Do you have alsa-oss package installed? I need more info to chew on (e.g. lsmod, etc.).
BTW, what does "xine --help" list as available audio plugins?
Hmm, I disabled alsa in the use flag generator, so not sure why it's there. I'll do it properly now and remerge xine when this update is finished. I suspect you might be onto something there . . . BTW just checked the GUI and oss is selected there, too. 1 $ xine --help Usage: xine [OPTIONS]... [MRL] OPTIONS are: -v, --version Display version. -V, --video-driver <drv> Select video driver by id. Available drivers: dxr3 aadxr3 xv SyncFB aa xshm none sdl vidix vidixfb fb -A, --audio-driver <drv> Select audio driver by id. Available drivers: null alsa oss arts esd
rebuilding didn't help BTW
I couldn't reproduce this bug. Ian: are you still having this issue? Maybe removing ~/.xine and reemerging a newer version would help?
rm -rf ~/.xine* - no sound emerge xine-ui - no sound only xine is affected, all other applications work perfectly - ?!?!?!?!?!? 240 $ emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/init.d /etc/xfce /etc/X11/xkb /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/monster/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline tetex aalib nas bonobo svga tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla ldap cdr dga doc dvd faad fbcon lirc mbox mozcalendar mozp3p mozsvg mozxmlterm oav odbc plotutils samba sse usb -alsa -arts -gnome -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
Try this: emerge -C xine-ui emerge -C xine-lib emerge xine-lib After you do that last line, right after xine is done doing `configure` you will see something like this: xine-lib summary: ---------------- * input plugins: - file - net - stdin_fifo - rtp - http - mms - pnm - rtsp - dvb - dvd - vcd - cdda - gnome-vfs - v4l * demultiplexer plugins: <...snip...> * audio driver plugins: - oss (Open Sound System) - esd (Enlightened Sound Daemon) --- Right after you see that last part, hit CTRL-C to stop the emerge, and paste the xine-lib summary here.
HTH, xine-lib summary: ---------------- * input plugins: - file - net - stdin_fifo - rtp - http - mms - pnm - rtsp - dvb - dvd - vcd - cdda - gnome-vfs - v4l * demultiplexer plugins: - avi - mpeg - mpeg_block - mpeg_audio - mpeg_elem - mpeg_pes - mpeg_ts - qt/mpeg-4 - film - roq - fli - smjpeg - idcin - wav - wc3 mve - voc - vqa - aiff - cdda - snd/au - yuv4mpeg2 - real/realaudio - ea wve - raw dv - interplay mve - psx str - ws aud - pva - vox - nsf - ac3 - asf - ogg - mng * video decoder plugins: - mpeg2 - ffmpeg - cyuv - divx4 - cinepak - msvc - fli - msrle - rgb - yuv - roqvideo - svq1 - idcin - smc - rpza - wc3video - qtrle - interplayvideo - dxr3_video - w32dll - png * audio decoder plugins: - a52/ra-dnet - dts - mad - adpcm - linear pcm - roqaudio - log pcm - gsm610 - ffmpeg - interplayaudio - nosefart - vorbis - w32dll - faad * subtitle decoder plugins: - spu - spucc - sputext - dxr3_spu * post effect plugins: * planar video effects: - invert * SFX: - goom - oscope - fftscope - mosaico * video driver plugins: - XShm (X11 shared memory) - SyncFB (for Matrox G200/G400 cards) - Xv (XVideo *static*) - OpenGL - aa (Ascii ART) - fb (Linux framebuffer device) - sdl (Simple DirectMedia Layer) - directfb (DirectFB driver) - dxr3 (Hollywood+ and Creative dxr3, both mpeg and non-mpeg video) - vidix (X11 and framebuffer support) * audio driver plugins: - oss (Open Sound System) - esd (Enlightened Sound Daemon) - arts (aRts - KDE soundserver) ---
Just tried unmerging and remerging xine-lib and xine-ui again, also blew away ~/.xine. Still no sound, no errors! Any ideas gratefully accepted. media-video/xine-ui-0.9.21 media-libs/xine-lib-1_beta12
Retiring as a Gentoo developer.
Since this bug is rather ancient I'd like to know if this still is a problem.
Just checked again ( I am forced to use mplayer as a rule ). Audio failed so I looked at advanced settings. Set OSS audio device name to /dev/dsp (was auto) and sound materialized! So as far as I am concerned, not a problem any more. Dunno when the setting got broken but all fine now.
closing as fixed