Hi again.
Video inside xbmc for linux is playing way to fast with no sound, this happend after i followed this guide: https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller to fix bad quality sound.
In ubuntu video is playing at normal speed, and sound is great.
I can see my problem is the same as in this:
http://forum.xbmc.org/showthread.php?tid=31286
But how too fix it?
moffeloffen
Junior Member Posts: 6 Joined: Feb 2008 Reputation: 0 |
2008-02-20 23:03
Post: #1
|
| find quote |
moffeloffen
Junior Member Posts: 6 Joined: Feb 2008 Reputation: 0 |
2008-02-21 00:56
Post: #2
I have tried to reinnstall xbmc, same error.
|
| find quote |
FearlessSpiff
Junior Member Posts: 28 Joined: Feb 2008 Reputation: 0 |
2008-02-21 18:51
Post: #3
I also posted in the other thread, because i have the same problem. funny is, that if i leave audio on analog everything is fine, then when playing a movie and switching to digital with the OSD, i have no sound and movie playing at double the speed.
I hope this gets fixed soon, because it's almost the only thing bothering me. else xbmc is already one of the best media centers i have ever used on a x86 machine! :-) |
| find quote |
xgrep
/bin/beer Posts: 77 Joined: Feb 2008 Reputation: 0 Location: Canada |
2008-02-21 21:04
Post: #4
Sounds like you have the wrong sound device set.
For me Default works, but it's hard to say what will work for you guys. If it's not default I'd say try it. Otherwise post the results of these commands. Code: aplay -LCode: aplay -lreturn null; |
| find quote |
FearlessSpiff
Junior Member Posts: 28 Joined: Feb 2008 Reputation: 0 |
2008-02-22 17:35
Post: #5
I tried almost everything: default, iec958, some default settings I found somewhere in the forums i can't remember: iec958:AES0=0x0....?!? but nothing worked. But I can get everything is playing ok in mplayer by using the "-ac hwac3" or "-ac hwdts" switch.
Here's my output: Code: aplay -land Code: aplay -L |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2008-02-23 18:45
Post: #6
commited an alternate approach, please test.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
xmltok
Member Posts: 63 Joined: Feb 2008 Reputation: 0 |
2008-02-23 19:42
Post: #7
I've been having this problem too, i'll give it a try today once svn is working
|
| find quote |
xmltok
Member Posts: 63 Joined: Feb 2008 Reputation: 0 |
2008-02-23 19:52
Post: #8
fwiw:
$ aplay -L front:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi Front speakers surround40:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi 4.0 Surround output to Front and Rear speakers surround41:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi 5.1 Surround output to Front, Center, Rear and Subwoofer speakers iec958:CARD=M2496,DEV=0 M Audio Audiophile 24/96, ICE1712 multi IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture) $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi] Subdevices: 1/1 Subdevice #0: subdevice #0 |
| find quote |
xmltok
Member Posts: 63 Joined: Feb 2008 Reputation: 0 |
2008-02-23 22:07
Post: #9
Same problem for me, build 11777
12:05:11 T:4102888336 M: 42835968 DEBUG: FactoryCodec - Audio: passthrough - Opening 12:05:11 T:4102888336 M: 42835968 DEBUG: SECTION:LoadDLL(Q:\system\players\dvdplayer\libdts-i486-linux.so) 12:05:11 T:4102888336 M: 42835968 DEBUG: Loading: /home/htpc/XBMC/BUILD/system/players/dvdplayer/libdts-i486-linu x.so 12:05:11 T:4102888336 M: 42835968 DEBUG: FactoryCodec - Audio: passthrough - Opened 12:05:11 T:4102888336 M: 42835968 NOTICE: Creating audio thread 12:05:11 T:4000316304 M: 42835968 DEBUG: Running thread 4000316304 12:05:11 T:4000316304 M: 42835968 DEBUG: thread start, auto delete: 0 12:05:11 T:4000316304 M: 42835968 NOTICE: running thread: CDVDPlayerAudio::Process() 12:05:11 T:4102888336 M: 42835968 DEBUG: Playback has started 12:05:11 T:4000316304 M: 42835968 DEBUG: CDVDAudioCodecPassthrough: Synced to AC3 frame 12:05:11 T:4000316304 M: 42835968 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48 000, pass-through 12:05:11 T:4000316304 M: 42835968 DEBUG: CALSADirectSound::CALSADirectSound - opening alsa device 12:05:11 T:4142450528 M: 42835968 DEBUG: ------------------- GUI_MSG_WINDOW_INIT 12:05:11 T:4142450528 M: 42835968 DEBUG: 12:05:11 T:4142450528 M: 42835968 DEBUG: ------------------- 12:05:11 T:4142450528 M: 42835968 DEBUG: Load progress_back.png: 0.7ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load progress_mid.png: 0.7ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load progress_right.png: 0.0ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load progress_left.png: 0.0ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load seekslider.png: 0.0ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Alloc resources: 1.68ms (0.00 ms skin load, 0.09 ms preload) 12:05:11 T:4142450528 M: 42835968 DEBUG: ------------------- GUI_MSG_WINDOW_INIT 12:05:11 T:4142450528 M: 42835968 DEBUG: 12:05:11 T:4142450528 M: 42835968 DEBUG: ------------------- 12:05:11 T:4142450528 M: 42835968 INFO: Loading skin file: VideoOverlay.xml 12:05:11 T:4142450528 M: 42835968 DEBUG: Load VideoOverlay.xml: 1.36ms (0.40 ms xml load) 12:05:11 T:4142450528 M: 42835968 DEBUG: Alloc resources: 1.43ms (1.43 ms skin load, 0.00 ms preload) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load blue_rectangle_video.png: 0.3ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load video-pause.png: 0.7ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: Load voulume-panel-bg.png: 0.1ms (bundled) 12:05:11 T:4142450528 M: 42835968 DEBUG: CGUIInfoManager::SetCurrentMovie(/opt/Movies/Movies/American Gangster (2 007)/s-americangangster.mkv) 12:05:11 T:4142450528 M: 42835968 DEBUG: CVideoDatabase::GetMovieInfo(/opt/Movies/Movies/American Gangster (2007) /s-americangangster.mkv), query = select idMovie from movie where idFile=7 12:05:11 T:4142450528 M: 42835968 DEBUG: CVideoDatabase::GetEpisodeInfo(/opt/Movies/Movies/American Gangster (200 7)/s-americangangster.mkv), query = select idEpisode from episode where idFile=7 12:05:11 T:4142450528 M: 42835968 DEBUG: CVideoDatabase::GetMusicVideoInfo(/opt/Movies/Movies/American Gangster ( 2007)/s-americangangster.mkv), query = select idMVideo from musicvideo where idFile=7 12:05:11 T:4000316304 M: 42835968 DEBUG: CALSADirectSound - using alsa device iec958:AES0=6 12:05:11 T:4000316304 M: 42684416 ERROR: CALSADirectSound - pcm_open_lconf, alsa error: Device or resource busy 12:05:11 T:4000316304 M: 42684416 ERROR: CALSADirectSound::AddPackets - sanity failed. no valid play handle! 12:05:11 T:4000316304 M: 42684416 DEBUG: CDVDPlayerAudio:: Resync - clock:0.000000, delay:-32000.000000 12:05:11 T:4142450528 M: 42684416 DEBUG: Error: Requested setting (system.ledenableonpaused) was not found. It m ust be case-sensitive 12:05:11 T:4000316304 M: 42684416 ERROR: CALSADirectSound::AddPackets - sanity failed. no valid play handle! 12:05:11 T:4000316304 M: 42684416 DEBUG: CDVDPlayerAudio:: Discontinuty - was:32157.603000, should be:64000.00000 0, error:31842.397000 |
| find quote |
Coca Cola Zero
Junior Member Posts: 13 Joined: Feb 2008 Reputation: 0 |
2008-02-24 06:06
Post: #10
I was running into the fast video/no sound in recent builds including newest svn, but the following changes fix it for me:
edit xbmc/cores/dvdplayer/ALSADirectSound.cpp comment out lines 82 & 83, so it looks like this: //if (device.Find("AES0=6") < 0) // device += ":AES0=6"; recompile (go back to XBMC dir, type make), run XBMC, set sound devices in settings both to 'default'. There is no guarantee that following my steps will fix your issue because there are tons of things that can go wrong with audio in Linux and "video too fast, no sound" seems to simply be the common side-effect one sees in XBMC when the audio is set up wrong and the player is using an invalid audio device setting. I don't know enough about Linux audio to know what adding :AES0=6 to any passthru device name is supposed to do, but my system (Ubuntu 7.10, X-Mystique/CMI8738 soundcard) certainly doesn't like it. |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/p/xbmc/badge.gif)
Search
Help