You are not logged in.

#1 2005-04-03 05:24:35

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

xine and xine based media player DVD Playback issues

I'm trying to play dvds w/ xine and/or kaffeine. I can get the root menu(of the disc) to work and can navigate around it but as soon as I try to play the feature i get the following error.

The audio device is unavailable. Please verify if another program alreayd use it.

This comes when I use either of the mentioned players, in xine it gives an option of more. Under the messages tab I get the following.

xine: found demuxer plugin: Elementary MPEG Stream demux plugin
xine: found input plugin   : file input plugin
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  02000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
200 frames delivered, 3 frames skipped, 0 frames discarded
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  02000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
200 frames delivered, 0 frames skipped, 1 frame discarded
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  02000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
video_out: throwing awa image with pts 758619 because it's too old (diff : 26059)
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  01060000
audio_decoder : error, unknown buffer type :  04000000
audio_decoder : error, unknown buffer type :  02000000

I have googled searched our (arch's) forums and looked on xine's website for this error but havn't been able to find anything.  I know I can play DVDs because VLC works but it's video quality on some of my DVDs is not very good and it's audio is kinda messed up(ie voices are really quiet while sfx are loud)

My system/software info is as follows:

xine-lib: 01.0-1
xine-ui: v0.99.3
kernel 2.5.10-arch   stock!
cpu: AMD Athlon FX +2800
video card: nVidia GEforce FX 5600 256MB
video driver:  nvidia
audio card:  nForce2
audio driver: alsa

Thanks in advance for helping!


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#2 2005-04-07 14:22:12

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

I didn't inclued this in the original post but it's the only program running at the time this error occurs, i'm srprised I didn't get seriously flamed for leaving out such a trivial detail.


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#3 2005-04-07 14:32:07

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: xine and xine based media player DVD Playback issues

You could check that nothing is using the audo device (I assume it's /dev/dsp)

IIRC: fuser -v /dev/dsp

Offline

#4 2005-04-07 14:34:36

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: xine and xine based media player DVD Playback issues

Following up myself...

Can you get audio fine with other apps? I'm thinking audio players for playing mp3s etc. Because, if not, then maybe the problem is that your user is not a member of the 'audio' group, and therefore do not have permission to use the audio device.

One of the easiest ways to find out if it's a permission issue is to run xine as root.

Offline

#5 2005-04-07 14:37:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: xine and xine based media player DVD Playback issues

ok, a couple of things:
are your audio permissions right? is your user in the "audio" group?
i've never seen xine fail due to audio... mine would just be silent... I'd still get video (did you change the audio driver at all? try setting it to "auto" in the xine config)...

I use xine exclusively for video, and haven't had any errors while playing dvds (except for one crash on a horribly scratched dvd which killed X *ack*)... do you have a dmix setup which could be causing thing?

Offline

#6 2005-04-08 01:30:20

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

I get audio fine out of other programs, including xine while playing, mp3, m4a,  even a DVD's main menu but as soon as I try to start the movie, things stop working. I'll try running as root and see what happens.

[edit]
Well it worked just fine as root so it is a perm. problem, my audio devices have the folowing perms

crw-rw----  1 root audio 14, 12 2005-04-01 17:28 adsp
crw-rw----  1 root audio 14,  4 2005-04-01 17:28 audio
crw-rw----  1 root audio 14,  3 2005-04-01 17:28 dsp
crw-rw----  1 root audio 14,  0 2005-04-01 17:28 mixer
drwxr-xr-x  2 root root           0 2005-04-01 17:28 sound
drwxr-xr-x  2 root root           0 2005-04-01 17:28 snd
crw-rw----  1 root audio 116,  0 2005-04-01 17:28 controlC0
crw-rw----  1 root audio 116, 24 2005-04-01 17:28 pcmC0D0c
crw-rw----  1 root audio 116, 16 2005-04-01 17:28 pcmC0D0p
crw-rw----  1 root audio 116, 25 2005-04-01 17:28 pcmC0D1c
crw-rw----  1 root audio 116, 18 2005-04-01 17:28 pcmC0D2p
crw-rw----  1 root audio 116, 33 2005-04-01 17:28 timer

and here are the relavent groups entries

audio:!:92:tyler,root
optical:!:93:tyler,root

thanks for all the help and suggestions
[/edit]


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#7 2005-04-08 04:22:21

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: xine and xine based media player DVD Playback issues

chmod 666 /dev/snd
chmod 666 /dev/sound

That should fix your problem.


·¬»· i am shadowhand, powered by webfaction

Offline

#8 2005-04-09 01:42:28

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

I tried chmod 666 on sound and snd which killed sound completly for my regular user. So then I chowned it to root:audio no help, chmoded 776, and now I'm back to where I started. :-( thanks for you help so far. I'll try chmod 777 next and see what happens.

[edit]
Well I chmoded the perms to 777 and still no luck. I don't understand I've got hardware mixing enabled, and verified so it's not like it can't handle multiple streams. I think I'm going to try modifying the perms on the rest of the /dev/sound and /dev/snd 'files'

[/edit]

[edit again!]
I set all sound devices perms to 777 and it didn't help one bit! arrrrggg!!!!
[/edit]


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#9 2005-04-09 23:47:16

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

now not even root can play the movie! This sucks!


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#10 2005-04-11 23:09:02

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: xine and xine based media player DVD Playback issues

stat /dev/sound

  File: `/dev/sound'
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: bh/11d  Inode: 3718        Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2005-04-11 00:02:01.700129976 -0500
Modify: 2005-04-07 14:12:04.320739056 -0500
Change: 2005-04-07 14:12:04.320739056 -0500
stat /dev/sound/dsp
  File: `/dev/sound/dsp'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: bh/11d  Inode: 4771        Links: 1     Device type: e,3
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-07 14:12:10.589786016 -0500
Modify: 2005-04-07 14:12:10.589786016 -0500
Change: 2005-04-07 14:12:10.589786016 -0500

I use ALSA, not OSS, but try:

chmod 660 /dev/snd && chown root:audio /dev/snd
chmod 660 /dev/sound && chown root:audio /dev/sound

Hope we can get this worked out....


·¬»· i am shadowhand, powered by webfaction

Offline

#11 2005-04-12 14:59:38

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

I also use ALSA, I tried to use the stat command with little luck, the out put is as follows:

[tyler@Mario X11]$ id
uid=1000(tyler) gid=101(abs) groups=10(wheel),91(video),92(audio),93(optical),100(users),101(abs)
[tyler@Mario X11]$ stat /dev/sound
  File: `/dev/sound'
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: ch/12d  Inode: 6473        Links: 2
Access: (0660/drw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 09:55:21.665078296 -0500
Modify: 2005-04-12 01:38:11.425963944 -0500
Change: 2005-04-12 09:45:06.574586264 -0500
[tyler@Mario X11]$ stat /dev/sound/dsp
stat: cannot stat `/dev/sound/dsp': Permission denied

so I set the permissions on /dev/snd and /dev/sound like you suggested then tried stat /dev/sound/dsp as a regular user but got the same result!  It seems to me that something isn't recognizing that I am part of the audio group. I really appreciate your help.


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#12 2005-04-12 17:19:33

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: xine and xine based media player DVD Playback issues

Post the stat of /dev/sound/* when logged in as root, please.


·¬»· i am shadowhand, powered by webfaction

Offline

#13 2005-04-13 00:46:55

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

ok, I made some changes to my 00-my-udev.rules, added the permissions we have discussed, and rebooted now my user can run stat on /dev/sound/* and I got the following:

[tyler@Mario sound]$ stat *
  File: `adsp'
  Size: 0               Blocks: 0          IO Block: 4096   character special fi
le
Device: ch/12d  Inode: 6609        Links: 1     Device type: e,c
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.674047248 -0500
Modify: 2005-04-12 19:40:39.674047248 -0500
Change: 2005-04-12 19:40:39.674047248 -0500
  File: `audio'
  Size: 0               Blocks: 0          IO Block: 4096   character special fi
le
Device: ch/12d  Inode: 6641        Links: 1     Device type: e,4
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.683045880 -0500
Modify: 2005-04-12 19:40:39.683045880 -0500
Change: 2005-04-12 19:40:39.683045880 -0500
  File: `dsp'
  Size: 0               Blocks: 0          IO Block: 4096   character special fi
le
Device: ch/12d  Inode: 6633        Links: 1     Device type: e,3
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.681046184 -0500
Modify: 2005-04-12 19:40:39.681046184 -0500
Change: 2005-04-12 19:40:39.681046184 -0500
  File: `mixer'
  Size: 0               Blocks: 0          IO Block: 4096   character special fi
le
Device: ch/12d  Inode: 6657        Links: 1     Device type: e,0
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.687045272 -0500
Modify: 2005-04-12 19:40:39.687045272 -0500
Change: 2005-04-12 19:40:39.687045272 -0500

and from /dev/snd/*

[tyler@Mario snd]$ stat *
  File: `controlC0'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6650        Links: 1     Device type: 74,0
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.685045576 -0500
Modify: 2005-04-12 19:40:39.685045576 -0500
Change: 2005-04-12 19:40:39.685045576 -0500
  File: `pcmC0D0c'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6626        Links: 1     Device type: 74,18
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.679046488 -0500
Modify: 2005-04-12 19:40:39.679046488 -0500
Change: 2005-04-12 19:40:39.679046488 -0500
  File: `pcmC0D0p'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6618        Links: 1     Device type: 74,10
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.676046944 -0500
Modify: 2005-04-12 19:40:39.676046944 -0500
Change: 2005-04-12 19:40:39.676046944 -0500
  File: `pcmC0D1c'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6601        Links: 1     Device type: 74,19
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.672047552 -0500
Modify: 2005-04-12 19:40:39.672047552 -0500
Change: 2005-04-12 19:40:39.672047552 -0500
  File: `pcmC0D2p'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6592        Links: 1     Device type: 74,12
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.669048008 -0500
Modify: 2005-04-12 19:40:39.669048008 -0500
Change: 2005-04-12 19:40:39.669048008 -0500
  File: `timer'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: ch/12d  Inode: 6354        Links: 1     Device type: 74,21
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   92/   audio)
Access: 2005-04-12 19:40:39.124130848 -0500
Modify: 2005-04-12 19:40:39.124130848 -0500
Change: 2005-04-12 19:40:39.124130848 -0500

Would using the binary nVidia drivers w/ oss make a difference? I'd rather not use them but I'll do what I have to to get this working.


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#14 2005-04-13 03:02:10

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: xine and xine based media player DVD Playback issues

Hmm.... well now I have no idea. Everything looks like it's in order.... very strange. I don't use the nForce sound, but I thought there wasn't any ALSA support for it....

You might want to try installing the nforce drivers and see if it makes a difference.


·¬»· i am shadowhand, powered by webfaction

Offline

#15 2005-04-13 18:44:24

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

Well as much as I hated to do it I broke down and tried the nVidia drivers and they work. Now just to get it to make use of the 5.1, I'll try to do that b4 I ask for help.


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

#16 2005-04-14 13:39:15

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

Re: xine and xine based media player DVD Playback issues

Heya,

a handy tip is maybe that you can give a verbose/debug-level to xine. I think from 0/1 to 6. Gxine can pass on the option I think, ...

hopes ti helps you a bit,

Michel

Offline

#17 2005-04-16 03:51:43

twpvw5
Member
From: Columbia, MO, US
Registered: 2005-03-06
Posts: 45

Re: xine and xine based media player DVD Playback issues

I feel like I'm beating a dead horse here but I thought I would thank you all for your help and let you know that I got everything working, the front and rear sounds are reversed when using the mm kernel, weird, but I have other bigger issues w/ the mm kernel so I'm going to use it any more. once again thanks for your help!


-The more engineering courses I take, the more I lose my heart for engineering. I just want to F*@%ing build stuff!

Offline

Board footer

Powered by FluxBB