[mythtv-users] Pitch shifted audio
danarchy
danarchy at danarchy.net
Thu Jun 26 21:46:21 EDT 2003
Hi everybody, I am having some weird issues with audio playback. I've just about exhausted
everything I can think of so I was hoping someone here may have faced the same issues and found
a fix.
First off I am running with a Hau[[auge PVR-250. My soundcard is a soundblaster awe64.
The problem is that everything I play back, Live-TV and recorded seems to be pitch shifted down
pretty severely. If I play the stream with mplayer it sounds fine. It also sounds fine if I play back a
recorded .nuv file with mplayer. I imagine the problem is a disconnect between the rate the card is
sampling at and the rate mythtv is playing back at. I found one thread that mentioned the exact
problem in the devel archives, but if there was a resolution I couldn't find it.
here is what mythtv shows when playing back:
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
connecting to backend server: 127.0.0.1:6543
Changing from None to WatchingLiveTV
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/var/video/ringbuf1.nuv':
Stream #0.0: Video: mpegvideo, 720x480, 29.97 fps, 16000 kb/s
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Opening OSS audio device '/dev/dsp'.
audio device cannot report buffer state accurately,
audio/video sync will be bad, continuing anyway
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 1
Using XV port 53
and in case it is useful, here is what mplayer shows:
MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
SSE supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or
directory
Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Input config file /usr/share/mplayer/input.conf parsed : 52 binds
Playing /dev/video0
Cache fill: 19.24% (1613824 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 16000.0 kbps (2000.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
SDL: Using driver: x11
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [sdl] 720x480 => 720x540 Planar YV12 [fs]
aspect: Warning: no suitable new res found!
SDL: Info - please use -vm or -zoom to switch to best resolution.
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
AO: [sdl] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
A: 10.6 V: 10.0 A-V: 0.596 ct: 0.221 157/157 39% 16% 102.4% 20 0 0%
Exiting... (Quit)
Not sure what other info you would need, but if there is anything that could be of use, please let me
know. This is the only major issue keeping me from using mythtv for all my viewing and recording
needs.
--
Danarchy.net
More information about the mythtv-users
mailing list