Mythtv, odd speeding up and stopping?
Just installed Mythtv on Debian Lenny 500 kernel 2.6.29. With live TV it gives high pitched speeded up sound for about 2 seconds, then stops, then repeats this indefinitely. It say:
Code:
2009-07-06 07:06:11.216 WriteAudio: buffer underrun Code:
OSD Theme Dimensions W: 640 H: 480 If it is configured so that there is no sound then the TV picture is quite normal. It only seems to give sound if the capture card is configured in Mythtv's mythtv-configure to use /dev/dsp1. Possibly relevant error messages: Code:
2009-07-07 03:58:39.091 NVR(/dev/video0): Unknown video codec. Please go into the TV Settings, Recording Profiles and setup the four 'Software Encoders' profiles. Assuming RTjpeg for now. |
What type of capture card do you have? Is it analog TV or digital? Have you setup the tuners and encoding profiles?
The last error message seems like maybe your machine is using software encoders, in which case, how much RAM do you have? |
Thanks.
Quote:
PEAK DVB-T Digital TV Hybrid PCI Card 138508AGPK it is both analog and digital. "Have you setup the tuners and encoding profiles?" Err....Told it about the capture card. Have not done anything about encoding as far as I know. If you could give me some idea how to do this it would be nice??:) |
It appears to me that card doesn't do hardware encoding, which means your CPU and RAM have to do the encoding on the fly. If this machine serves as both the backend and frontend, it has to first encode the video and then decode the video.
Here is a page listing some performance optimizations. You may also try modifying the transcoding settings for each recording profile (EP, LP, SP, etc). Your best bet may be to change each recording profile to "No Encoding" (which might be the same as SP, I forget and am not in front of my Myth box right now). That should lower the overhead on both ends, but will take up more hard disk space. |
The problem is - rereading my post it may be unclear - the sound is high pitched, mickey mousey, and the picture+sound stops every second or so. Then it restarts and the cycle repeats.
Have got it to stop stopping by slowing the time stretch: Quote:
Could not work out how to do your thing with the "No Encoding" but did suceed in pixelating the picture to great crudeness, with 1/2 cm pixels - so does this prove it is not a problem of processing speed? It is only sort of 15% mythbackend 5%mythfrontend 7% X at worst sort of thing, according to 'top'. Is it a sound problem, perhaps? Thanks again. |
For the record solved the problem with:
Frontend > setup > audio [output device: /dev/dsp; passthrough: default; Stereo; Passive; check 'use internal volume controls'; mixer: /dev/mixer1; mixer controls: pcm] It is an saa7143 capture card so set the audio rate to 32000 as one is ?instructed, even though this is not its rate. Using the alsa OSS emulation module. Picture too noisy, ?fault of hardware. |
All times are GMT -5. The time now is 11:45 AM. |