You are not logged in.

#1 2010-08-16 23:08:35

Vaski
Member
Registered: 2008-11-16
Posts: 19

[SOLVED]Problem with sound in HDMI

Hello good society of Arch
Now I have problems with sound from HDMI. I use Arch as an tvPc, wasting movies and tv shows on it. I use ALSA and it works well, except of a few files that I have, then there is picture but sound is either twisted or not played at all. It does not matter whether I use vlc or mplayer, I'm experiencing the same problem.
I have not found anything about this with google, other problems have been either hdmi sound working or not, not like it is with me, sometimes it works and sometimes it don't.
I know that the files are ok, I can play them in anther pc I have (also using Arch on that pc).
Does anybody know what the problem might be? What do I have to look at to find out what the problem is? This have been like this for some time now, but I haven't looked into it before, because I don't use TV that muts, but the wife does and when she stats blaming Arch, I have too do something about it.
I have never encountered problem with Arch that i cant solve by using this forum and google sad
Thanks

Last edited by Vaski (2010-08-21 01:08:42)

Offline

#2 2010-08-17 16:02:58

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [SOLVED]Problem with sound in HDMI

specify your hardware ...


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#3 2010-08-17 19:13:27

Vaski
Member
Registered: 2008-11-16
Posts: 19

Re: [SOLVED]Problem with sound in HDMI

I'm using Gigabyte GA-73pvm-s2h, that uses nvidia GeForce 7100, cpu: Intel Core 2 Duo E6600 and 2 gig of corsair memory. Audio is Realtek ALC889A.

Offline

#4 2010-08-17 19:46:29

cleanrock
Member
Registered: 2008-11-17
Posts: 109

Re: [SOLVED]Problem with sound in HDMI

I noticed i got no audio over hdmi on some video file which had a low audio bitrate, i solved it by resampling the sound to 48000 in ~/.mplayer/config :
af=resample=48000

I have a nvidia GT 240.

Offline

#5 2010-08-18 09:19:22

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [SOLVED]Problem with sound in HDMI


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2010-08-18 10:42:34

Vaski
Member
Registered: 2008-11-16
Posts: 19

Re: [SOLVED]Problem with sound in HDMI

cleanrock wrote:

I noticed i got no audio over hdmi on some video file which had a low audio bitrate, i solved it by resampling the sound to 48000 in ~/.mplayer/config :
af=resample=48000

I will look at this when i come home from work, thanks.

nTia89 wrote:

have you already read our wiki ?

Yes i have, and sound is working, well most of the time.

Offline

#7 2010-08-18 21:00:56

Vaski
Member
Registered: 2008-11-16
Posts: 19

Re: [SOLVED]Problem with sound in HDMI

No luck with the re-sampling of the sound. One file that i'm having trouble with has a sample rate of 44100 Hz and bitrate of 128 kb/s and resampling it to 48000 didn't work sad
OK, what else can i look into?

Offline

#8 2010-08-21 01:08:13

Vaski
Member
Registered: 2008-11-16
Posts: 19

Re: [SOLVED]Problem with sound in HDMI

Ok solved.
I had to tell mplayer what device to us then the files are 44100, so

mplayer filename -ao alsa:device=hw=0.3 -af  resample=48000

works.
Thanks cleanrock  for the input.

Offline

#9 2010-08-21 02:21:39

cleanrock
Member
Registered: 2008-11-17
Posts: 109

Re: [SOLVED]Problem with sound in HDMI

I wonder if resample has any effect in that case, do you get sound without the resample argument for that 44100 file ?

Offline

#10 2010-08-21 10:03:51

Vaski
Member
Registered: 2008-11-16
Posts: 19

Re: [SOLVED]Problem with sound in HDMI

cleanrock wrote:

I wonder if resample has any effect in that case, do you get sound without the resample argument for that 44100 file ?

No, i didn't get any sound without resampling .

Offline

Board footer

Powered by FluxBB