[mythtv-users] HD PVR no audio solution
Ken Bass
kbass at kenbass.com
Sat Feb 12 14:37:30 UTC 2011
For over a year I have had recordings with no audio on my HD-PVR at
various random times. I am using the SPDIF output of my Comcast STB to
record.
I finally found a solution that works for me. Some people said that
adding delays to their channel changing scripts worked, but I already
had delays which did not fix this issue.
Here is my solution:
In my channel change script, before I change the channel I added the
following line:
/usr/bin/v4l2-ctl --device /dev/video-hdpvr1 --set-ctrl=audio_encoding=4
( of course change the device to your HD-PTR device)
This forces the use of the SPDIF output. I put this right before the
actual channel change and sleep:
/usr/local/bin/6200ch -g $GUID $1
/bin/sleep 4
I've been running this for 7 days now without a single recording that
was missing audio!!!
For me, this works regardless of whether the program is broadcast in
stereo or 5.1.
More information about the mythtv-users
mailing list