View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jun 16, 2006 6:47 pm 
Offline
Joined: Sat May 20, 2006 5:09 pm
Posts: 43
Location: Spokane, WA
PVR500 Audio quality very bad

When I play MP3s, or video files from the hard drive (not recorded though the PVR500) the video/sound quality is great. When I listen to LiveTV or record though the PVR500, the video quality is not as good, but the audio quality is pretty bad. Lots of distortion, scratchy, etc.

The same svideo / RCA audio outputs from the DISH box are fine when fed in to the TV. If I feed Composite /audio to the TV from one set of ports to the TV, and Svideo/audio from the second outputs to the PVR500 (and then to the TV via the video card/audio card outputs) I can switch between the sets via the button on the TV. Direct from the DISH box is great, though the PVR500 is poor.

Swapping the svideo/composite/audio plugs around does not cause the problem to move- it is definitely due to the PVR500.

I've adjusted volume levels to 90% (and then to 80%) in recording preferences, at the desktop, and via the volume buttons to no avail. Still some distortion.

This is a new system:
PVR500
MSI K8N NEO4, Athlon 64 3200+
Asus 7600GS Video
1 G DRAM
400G PATA HD
Any ideas?



Code:
Jun 12 00:52:40 mythtv kernel: ivtv:  ==================== START INIT IVTV ====================
Jun 12 00:52:40 mythtv kernel: ivtv:  version 0.4.4 (tagged release) loading
Jun 12 00:52:40 mythtv kernel: ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
Jun 12 00:52:40 mythtv kernel: ivtv:  In case of problems please include the debug info between
Jun 12 00:52:40 mythtv kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
Jun 12 00:52:40 mythtv kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
Jun 12 00:52:40 mythtv kernel: ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
Jun 12 00:52:40 mythtv kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Jun 12 00:52:41 mythtv kernel: tveeprom: ivtv version
Jun 12 00:52:41 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
Jun 12 00:52:41 mythtv kernel: tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
Jun 12 00:52:41 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
Jun 12 00:52:41 mythtv kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Jun 12 00:52:41 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
Jun 12 00:52:41 mythtv kernel: ivtv0: This is the first unit of a PVR500
Jun 12 00:52:41 mythtv kernel: cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
Jun 12 00:52:44 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
Jun 12 00:52:44 mythtv kernel: wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
Jun 12 00:52:44 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
Jun 12 00:52:44 mythtv kernel: tda9887 2-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
Jun 12 00:52:44 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
Jun 12 00:52:44 mythtv kernel: ivtv0: Detected a TEA5767 radio tuner. Enabling radio support.
Jun 12 00:52:44 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Jun 12 00:52:45 mythtv kernel: ivtv0: Encoder revision: 0x02050032
Jun 12 00:52:45 mythtv kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Jun 12 00:52:45 mythtv kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Jun 12 00:52:45 mythtv kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Jun 12 00:52:45 mythtv kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Jun 12 00:52:45 mythtv kernel: ivtv0: Create encoder radio stream
Jun 12 00:52:45 mythtv kernel: tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0
Jun 12 00:52:45 mythtv kernel: ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
Jun 12 00:52:45 mythtv kernel: ivtv:  ======================  NEXT CARD  ======================
Jun 12 00:52:45 mythtv kernel: ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
Jun 12 00:52:45 mythtv kernel: ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
Jun 12 00:52:45 mythtv kernel: tveeprom: ivtv version
Jun 12 00:52:45 mythtv kernel: ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
Jun 12 00:52:45 mythtv kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
Jun 12 00:52:45 mythtv kernel: ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
Jun 12 00:52:45 mythtv kernel: cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
Jun 12 00:52:48 mythtv kernel: ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
Jun 12 00:52:48 mythtv kernel: wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
Jun 12 00:52:48 mythtv kernel: ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
Jun 12 00:52:48 mythtv kernel: tda9887 3-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #1)
Jun 12 00:52:48 mythtv kernel: ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
Jun 12 00:52:48 mythtv kernel: ivtv1: This is the second unit of a PVR500
Jun 12 00:52:48 mythtv kernel: ivtv1: Correcting tveeprom data: no radio present on second unit
Jun 12 00:52:49 mythtv kernel: ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Jun 12 00:52:49 mythtv kernel: ivtv1: Encoder revision: 0x02050032
Jun 12 00:52:49 mythtv kernel: ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Jun 12 00:52:49 mythtv kernel: ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Jun 12 00:52:49 mythtv kernel: ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Jun 12 00:52:49 mythtv kernel: ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Jun 12 00:52:49 mythtv kernel: tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
Jun 12 00:52:49 mythtv kernel: ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
Jun 12 00:52:49 mythtv kernel: ivtv:  ====================  END INIT IVTV  ====================


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 11:02 pm 
Offline
Joined: Sat May 20, 2006 5:09 pm
Posts: 43
Location: Spokane, WA
Well I pulled down the CVS tree for 0.4.6 and compiled/installed it. No change, still have audio issues. The video is still poorer quality than direct from the DISH box to the TV.

But at least the new driver worked without issues.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 2:29 pm 
Offline
Joined: Sat May 20, 2006 5:09 pm
Posts: 43
Location: Spokane, WA
Ok, I found a solution here: http://www.mythtvtalk.com/forum/viewtop ... 2547#12547

Basically the ivtv drivers select the wrong audio source. Running this command:
Code:
ivtvctl --set-audio-input 1
via ssh after you have switched to Live TV fixes the issue.

Still researching on how to do it automatically, as Myth resets the audio every time you go in to Live TV (or start a recording I suspect).

I'm considering adding in a cron job that runs that command ever 5 seconds as a temporary patch.


Zeph


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 5:49 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Take a look at my channel change scripts with the delayed parameter setting. They're probably a good starting point for what you need to do. They're not as elegant as I'd like, but they seem to do the job.
http://mysettopbox.tv/phpBB2/viewtopic.php?t=10001


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 10:33 pm 
Offline
Joined: Sat May 20, 2006 5:09 pm
Posts: 43
Location: Spokane, WA
That did help- So I added this line at the end of /usr/bin/chan_change.sh:
Code:
./chan_change_snd.sh &

Then created a file called chan_chage_snd.sh that had:
Code:
#!/bin/sh
ivtvctl --set-audio-input 1


The idea being that I could add sleep x in to the second script to delay before the ivtvctl command hit. When I added it at the bottom of the chan_change.sh file, it executed too fast to work. When I added as sleep before it, it took too long to change the channel as myth paused the video until it thought the channel change was done. Since my channel changes are not occurring yet (svideo input, and the IR blaster is not configured yet), it was pretty obvious what was going on.

So the up shot is that the above works for fixing this sound issue so far. I did read elsewhere that it might not be 100%- I'll report back when I get some more time on it.

Thanks for the help-

Zeph


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 11:14 pm 
Offline
Joined: Sat May 20, 2006 5:09 pm
Posts: 43
Location: Spokane, WA
When I first go to LiveTV, the sound is still hosed. If I change channels, it drops back in fine.

I removed the second script, and put the ivtvctl command in the first one after the done statement. It seams to be fine when I do change channels now.

Can I count on Myth running that script before it tries to go time-record something?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 14, 2006 4:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The idea of those scripts is that they do the basic tuning, fire a detached process that will come back and something a bit later, and then return success so that mythtv goes about it's business. Slightly later, hopefully after MythTV is done fiddling with the card, the detached process wakes up and sets things the way it wants them.

You probably want to add your extra ivtvctl in the detached process. After the one that's already there. (I'll go add a comment to the example in a minute).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 2:05 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I know this thread is more than 1 year old but my problem seems to be similar.
I have 2 PVR150. one card (tv card) is using S-Video , RCA audio input from a cable box and the other one is using TV tuner with a coax cable from analog cable.

The problem comes from the card which uses RCA audio input, I have no audio problems with the one which uses tuner input.

the problem is intermittent, some times audio is great, some times is scratchy.

I'm using R5F27 and I think IVTV has changed so I don't want to destroy my configuration. Can I use the TJC script without corrupting anything?

EDIT : I think I found my answer http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=16594


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu