2010-01-08, 17:17
Hi all,
I am having problems to correctly play an mpeg4 video with an audio sample rate of 24kHz: this results in both audio and video being played twice (or more, I can't tell) as fast. I believe this has to with a failure to resample the audio, as my sound card does not support this samplerate. I have no problems whatsoever with any other recordings (using 44.1 or 48 KHz samplerates). Problem is I don't know how to correctly configure resampling.
Some details on my setup:
ubuntu karmic
xbmc 1:9.11+svn26540-karmic1
nVidia Corporation nForce3 250Gb AC'97 Audio Controller
Connected sound card via SPDIF to my Denon AVR receiver ('normal' stereo @ 44.1, interface sounds and Dolby Digital all work perfectly!)
Audio devices used: default for stereo, iec958 for passthrough
aplay -l
Debug log here.
Is this an issue with my setup, or is the problem related to the video file encoding?
Also, could it be the 44.1 kHz videos are in fact also incorrectly played, but since the difference is so small to go to 48 kHz I did not notice it before?
I am having problems to correctly play an mpeg4 video with an audio sample rate of 24kHz: this results in both audio and video being played twice (or more, I can't tell) as fast. I believe this has to with a failure to resample the audio, as my sound card does not support this samplerate. I have no problems whatsoever with any other recordings (using 44.1 or 48 KHz samplerates). Problem is I don't know how to correctly configure resampling.
Some details on my setup:
ubuntu karmic
xbmc 1:9.11+svn26540-karmic1
nVidia Corporation nForce3 250Gb AC'97 Audio Controller
Connected sound card via SPDIF to my Denon AVR receiver ('normal' stereo @ 44.1, interface sounds and Dolby Digital all work perfectly!)
Audio devices used: default for stereo, iec958 for passthrough
aplay -l
Quote:**** List of PLAYBACK Hardware Devices ****asound.conf
card 0: CK8S [NVidia CK8S], device 0: Intel ICH [NVidia CK8S]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CK8S [NVidia CK8S], device 2: Intel ICH - IEC958 [NVidia CK8S - IEC958]
Subdevices: 0/1
Subdevice #0: subdevice #0
Quote:pcm.!default {advancedsettings.xml contains:
type hw
card 0
device 2
}
Quote: <audio>
<resample>48000</resample>
</audio>
Debug log here.
Is this an issue with my setup, or is the problem related to the video file encoding?
Also, could it be the 44.1 kHz videos are in fact also incorrectly played, but since the difference is so small to go to 48 kHz I did not notice it before?