[mythtv-users]: video and sound are not synchron
Frank Hilwalserbäumer
fhil at tiscali.de
Thu Oct 16 11:36:21 EDT 2003
> Sorry, I meant 'capture settings', not 'specs'. Too much going on at
> work today... :-)
Here are some details about my sound configuration:
Start with sound-/tv-specific section of /etc/modules.conf:
###################
# SQKx.UujI7rqQ+r4:VT82C686 AC97 Audio Controller
alias snd-card-0 snd-via686
# YaST2: sound system dependent part
#
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-11 snd-mixer-oss
alias sound-service-0-12 snd-pcm-oss
options bttv card=39 tuner=1
# YaST2 configured TV card
# WL76.ei6eMzKDZY3:User defined
alias char-major-81-0 bttv
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
#########################
'amixer' tells me the following:
#########################
imple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on]
Front Right: Playback 22 [71%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off]
Front Right: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on]
Front Right: Playback 22 [71%] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [off] Capture [on]
Front Right: Playback 23 [74%] [off] Capture [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 10 [67%] [on]
Front Right: Capture 10 [67%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'External Amplifier Power Down',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
#################################
When I try to do 'aplay /dev/dsp' I still get some noise but sound and TV are
synchron as far as I set 'capture = on' for the capture device. That looks a
little bit strange to me. Is that really the way I have to set it up?
>
> > Frank, are you trying to use MPEG4 or RTJPEG? I don't think a 1GHz
> > Athlon has enough juice to reliably encode and watch TV using MPEG4. I'd
> > suggest trying RTJPEG, lower the bit rate and capture resolution, and
> > see if you get something acceptable.
Capture settings are RTjepg, quality 170, audio mp3, sample rate 32000,
quality 7.
LiveTV still buckles and stops for a part of a second sometimes.
The output of mythbackend is
##################################
Starting up as the master server.
Probed: /dev/video - Television
Probed: /dev/video - Composite1
Probed: /dev/video - S-Video
2003-10-16 09:07:10 adding: athlon as a player 1
2003-10-16 09:07:11 adding: athlon as a player 0
2003-10-16 09:07:11 adding: athlon as a player 0
2003-10-16 09:07:11 adding: athlon as a remote ringbuffer
Changing from None to WatchingLiveTV
audio volume set to '65535'
ioctl VIDIOC_G_FMT: Invalid argument
strange error flushing buffer ...
VIDIOCSYNC: Input/output error
VIDIOCSYNC: Input/output error
Changing from WatchingLiveTV to None
###################################
mythfrontend tells me:
###################################
connecting to backend server: 127.0.0.1:6543
Opening OSS audio device '/dev/dsp'.
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 56
Changing from None to WatchingLiveTV
Changing from WatchingLiveTV to None
Changing from None to None
###################################
Sorry for such a long description but I hope you can make further suggestions
now.
Thanks!
Frank
________________
fhil at tiscali.de
More information about the mythtv-users
mailing list