LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2003, 10:21 AM   #1
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Rep: Reputation: 15
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)
 
Old 08-25-2003, 12:02 PM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Do you see any error messages in the xine output?

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

killall artsd
 
Old 08-25-2003, 12:17 PM   #3
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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_blockpen_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
 
Old 08-25-2003, 12:50 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
What version of what distro is this?

Paste the output of these commands to this thread:

file /dev/dsp
file /dev/dsp0
 
Old 08-25-2003, 02:13 PM   #5
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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
 
Old 08-25-2003, 03:13 PM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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.
 
Old 08-25-2003, 04:16 PM   #7
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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
 
Old 08-25-2003, 05:11 PM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

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

"file /dev/dsp"
 
Old 08-25-2003, 07:20 PM   #9
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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).
 
Old 08-26-2003, 07:15 AM   #10
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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)
 
Old 08-26-2003, 07:47 AM   #11
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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?
 
Old 08-26-2003, 09:48 AM   #12
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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
 
Old 08-26-2003, 10:26 AM   #13
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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.

Thanks Dude
 
Old 08-26-2003, 10:39 AM   #14
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
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
 
Old 08-26-2003, 10:41 AM   #15
sergeantroach
Member
 
Registered: Aug 2003
Distribution: Windows XP Professional SP2/SUSE Linux 10
Posts: 122

Original Poster
Rep: Reputation: 15
P.S

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine and Sound Problems BarfBag SUSE / openSUSE 3 08-27-2005 09:45 AM
Newbie Problems: RAM, Sound, and codecs Dillius Mandriva 3 01-21-2005 05:36 PM
XINE - Sound problems g452 Linux - Software 2 10-05-2003 06:34 PM
Newbie Xine Problems eats85 Linux - Software 5 09-28-2003 04:13 PM
Newbie sound card problems Jetscream Linux - Newbie 0 11-03-2002 08:25 PM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration