<div>I had a similar problem.&nbsp; These links &nbsp;helped:</div>
<div><a href="http://www.gossamer-threads.com/lists/engine?post=28703;page=2;list=ivtv#29537">http://www.gossamer-threads.com/lists/engine?post=28703;page=2;list=ivtv#29537</a></div>
<div><a href="http://mysettopbox.tv/phpBB2/viewtopic.php?t=16594">http://mysettopbox.tv/phpBB2/viewtopic.php?t=16594</a></div>
<div>&nbsp;</div>
<div>I ended up putting the following in&nbsp;my channel changing script:</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>sleep 3</div></blockquote>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p>/usr/local/bin/v4l2-ctl --set-audio-input 1 -d /dev/video1&nbsp; &gt;/dev/null</p></blockquote>
<p>&nbsp;This is for S-Video, you may need to change the video device for composite</p>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/4/07, <b class="gmail_sendername">Lorenzo Mueller</b> &lt;<a href="mailto:lorenzo.mueller@mail2web.com">lorenzo.mueller@mail2web.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Thx for your input, but it still does not work.<br><br>As I have a new version of ivtv, the ivtvctl-command with your parameters does not work.
<br>I used instead:<br>v4l2-ctl -a 0&nbsp;&nbsp;and<br>v4l2-ctl -a 1&nbsp;&nbsp;and<br>v4l2-ctl -a 2<br><br>With input 0 i got the sound of the tuner.<br>With input 1 i got the distorted sound of the composite-input<br>With input 2 i heard nothing.
<br><br>I do not know if it is &quot;distorted&quot;. It sounds like when I would record this with 11 kHz or so...<br><br>when I did:<br><br>cat /dev/video0 &gt; test.mpg<br><br>The sound of the composite-input is OK. So I assume that it is something mythtv-related (Maybe a setting or so...)
<br><br>Hope go hear from someone a new &quot;hint&quot; or workaround or so...<br><br>Thx in advance<br><br>Cheers<br><br>________________________________<br><br>Von: <a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org
</a> im Auftrag von Cool Frood<br>Gesendet: Sa 03.11.2007 14:39<br>An: Discussion about mythtv<br>Betreff: Re: [mythtv-users] MythTV Hauppauge PVR-150 Recordings fromComposite are destorted<br><br><br><br>On 11/2/07, Lorenzo Mueller &lt;
<a href="mailto:lorenzo.mueller@mail2web.com">lorenzo.mueller@mail2web.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; Hi all,<br>&gt;<br>&gt; I have a Hauppauge PVR-150. When I record from the build-in tuner,<br>&gt; everything works fine.
<br>&gt; I have problems when I want to record shows from the composite-input. The<br>&gt; video is fine, but the sound is distorted and sounds really strange.<br>&gt;<br>&gt; It is very serious that when I watch LIVE-TV from the Composite, the sound
<br>&gt; is OK. Also when I record from LIVE-TV (Press &quot;r&quot;) the sound is OK. It is<br>&gt; only when I make a scheduled record.<br>&gt;<br>&gt; Maybe someone could help me, because I cannot explain why the sound is only
<br>&gt; destorted from the composite-input at scheduled records.<br>&gt;<br>&gt; Thx in advance<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>&gt;<br>I had this problem too back when I was using the composite input from
<br>my cable box.&nbsp;&nbsp;Now I don&#39;t have a cable box anymore and I&#39;m using the<br>tuner on the PVR-150 so I don&#39;t have this issue any more.&nbsp;&nbsp;I came<br>across this hack when I was trying to deal with the problem:<br>
<br>#!/bin/sh<br># Some variables used to remember if the device is in use or not<br>record_video0=NO<br># Loop forever<br>while true<br>do<br>&nbsp;&nbsp; # Is the video device in use ?<br>&nbsp;&nbsp; fuser /dev/video0 2&gt;/dev/null &gt;/dev/null
<br>&nbsp;&nbsp; if [ $? -eq 0 ]<br>&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Something is using video device and this is the first time<br>we notice this<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &quot;$record_video0&quot; = &quot;NO&quot; ]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;&nbsp;&nbsp; recording on video0&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/bin/ivtvctl -d /dev/video0 -q 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;record_video0=YES<br>&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Not recording<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &quot;$record_video0&quot; = &quot;YES&quot; ]
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;&nbsp;&nbsp; not recording anymore on video0&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;record_video0=NO<br>&nbsp;&nbsp; fi<br>&nbsp;&nbsp; sleep 1<br>done<br><br>I put this in a script called sound_fixer and started this in my
<br>.xinitrc (or .xserverrc, I forget).&nbsp;&nbsp;You might have to play with the<br>&quot;-q&quot; value in the ivtvctl command to figure out which one works for<br>you.<br><br>Hope this helps,<br>Akshat<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br><br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br></blockquote></div><br>