LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Newbie - Sound Problems with Xine (https://www.linuxquestions.org/questions/linux-software-2/newbie-sound-problems-with-xine-85486/)

sergeantroach 08-25-2003 09:21 AM

Newbie - Sound Problems with Xine
 
Hey Guys

I'm relativly new to Linux (Only used RedHat 7.3 / 9)
And now using, since yesterday Mandrake 9.1

When i try to play an mpeg in Kaboodle theres no problem but when I try and play it in Xine theres no sound and it wont let me adjust the volume control (the obvouis thing to do)

Please help guys

I've been using windows for 13 years until now and I could really use the help.
(Thanks Jason Linux is better)

mhearn 08-25-2003 11:02 AM

Do you see any error messages in the xine output?

Here's an idea. Try running this just before running Xine:

killall artsd

sergeantroach 08-25-2003 11:17 AM

Hi Thanks any but it didn't work

Anyway heres the message I get when I start xine

This is xine (X11 gui) - a free video player v0.9.18
(c) 2000-2003 by G. Bartsch and the xine project team.
Built with xine library 1.0.0 (1-beta4)
Found xine library version: 1.0.0 (1-beta4).
XServer Vendor: Mandrake Linux (XFree86 4.3, patch level 5mdk). Release: 40300000,
Protocol Version: 11, Revision: 0,
Available Screen(s): 1, using 0
Depth: 16.
-[ xiTK version 0.10.1 ]-
-[ WM type: (EWMH) KWIN {KWin} ]-
Display is not using Xinerama.
demux_sputext: initializing
main: probing <xv> video output plugin
video_out_xv: using Xv port 69 from adaptor I810 Video Overlay for hardware colorspace conversion and scaling.
video_out_xv: open_plugin
video_out_xv: port attribute XV_COLORKEY (6) value is 2110
video_out_xv: port attribute XV_BRIGHTNESS (5) value is 0
video_out_xv: port attribute XV_CONTRAST (4) value is 64
video_out_xv: this adaptor supports the yuy2 format.
video_out_xv: this adaptor supports the yv12 format.
video_out_xv: property #11 = 0
video_out: thread created
main: probing <oss> audio output plugin
audio_oss_out: Opening audio device...
audio_oss_out: using device >/dev/dsp0<
audio_oss_out: opening audio device /dev/dsp0 failed:
No such file or directory
load_plugins: failed to load audio output plugin <oss>
main: audio driver probing failed => no audio output
xine: xine_stream_new
xine: xine_stream_new
xine: xine_stream_new
xine: xine_stream_new
video_out_xv: property #2 = 0
video_out_xv: property #5 = 0
video_out_xv: property #3 = 0
video_out_xv: property #4 = 64
demux_sputext: open_plugin() called
xine: found input plugin : file input plugin
xine: found demuxer plugin: Elementary MPEG stream demux plugin
metronom: video discontinuity #1, type is 0, disc_off is 0
metronom: video vpts adjusted with prebuffer to 60281
metronom: audio vpts adjusted with prebuffer to 60282
Using MMXEXT for IDCT transform
Using MMXEXT for motion compensation
xine: xine_play
xine: xine_play_internal ...done



And this is what I get when i try and play any Mpeg


video_out_xv: property #2 = 0
video_out_xv: property #3 = 0
video_out_xv: property #5 = 0
video_out_xv: property #4 = 64
video_out_xv: property #5 = 0
video_out_xv: property #5 = 1
video_out_xv: property #3 = 0
video_out_xv: property #3 = 0
video_out_xv: property #2 = 0
video_out_xv: property #2 = 0
video_out_xv: property #4 = 64
video_out_xv: property #4 = 65
cccdemux_sputext: open_plugin() called
demux_mpeg_block:open_plugin:input ID=file count = 1
xine: found input plugin : file input plugin
xine: found demuxer plugin: MPEG program stream demux plugin
metronom: video discontinuity #2, type is 0, disc_off is 0
metronom: video vpts adjusted with prebuffer to 11579898
metronom: audio vpts adjusted with prebuffer to 11579899
xine: xine_play
xine: xine_play_internal ...done
metronom: video discontinuity #3, type is 2, disc_off is 30607
vo_scale: unknown aspect ratio (12) in stream => using 4:3

Hope that can help someone figure it out

mhearn 08-25-2003 11:50 AM

What version of what distro is this?

Paste the output of these commands to this thread:

file /dev/dsp
file /dev/dsp0

sergeantroach 08-25-2003 01:13 PM

mhearn

Its Mandrake 9.1 (Bamboo)


Thanks for your reply but I'm near enough
I'M A COMPLETE NEWBIE TO LINUX
and I have no idea what you want me to do

mhearn 08-25-2003 02:13 PM

Just type those two commands in, hitting enter after each one, at a terminal window (konsole or gnome-terminal). Look at what it prints out. Copy and paste the results into here.

sergeantroach 08-25-2003 03:16 PM

Mhearn

[sergeantroach@localhost sergeantroach]$ file/dev/dsp
bash: file/dev/dsp: No such file or directory

[sergeantroach@localhost sergeantroach]$ file/dev/dsp0
bash: file/dev/dsp0: No such file or directory


Thanks for helping out dude, not sure where your going with this though

mhearn 08-25-2003 04:11 PM

You typed them in wrong. There is a space between file and /dev/dsp

"file /dev/dsp"

sergeantroach 08-25-2003 06:20 PM

Hey Mhearn

Sorry thats a mistake anyone should be slapped silly for

[sergeantroach@localhost sergeantroach]$ file /dev/dsp
/dev/dsp: symbolic link to sound/dsp

[sergeantroach@localhost sergeantroach]$ file /dev/dsp0
/dev/dsp0: can't stat `/dev/dsp0' (No such file or directory).

mhearn 08-26-2003 06:15 AM

Heh, don't worry, it's very easy to do. Try this. Use "su" to switch to root, then run:

ln -s /dev/dsp /dev/dsp0

then run xine again (not as root)

sergeantroach 08-26-2003 06:47 AM

Thanks mHearn its making some progress lolol

Switched to root but got this message when i enterd the command

[root@localhost sergeantroach]# -s /dev/dsp /dev/dsp0
bash: -s: command not found

Something I typed wrong?

mhearn 08-26-2003 08:48 AM

you missed the "ln" which is the command you want Linux to run.

the -s is a switch to tell ln to make a symbolic link. Read carefully:

ln -s /dev/dsp /dev/dsp0

sergeantroach 08-26-2003 09:26 AM

Mike (mHearn)

Thanks such a lot for helping a newbie out.

Xines working perfectly and I don't ever have to watch a video in Kaboodle again. :D

Thanks Dude

sergeantroach 08-26-2003 09:39 AM

One last thing

When I run Xine from the console the sound works but when run from the Xine icon on the panel the sound stops working again?

Anyway to make sure it stays like it?

Thanks

sergeantroach 08-26-2003 09:41 AM

P.S

Upon logging out and logging in Xine's sound stops working again even from Konsole.


All times are GMT -5. The time now is 03:04 AM.