<div><span class="gmail_quote">On 11/8/07, <b class="gmail_sendername">Lorenzo Mueller</b> <<a href="mailto:lorenzo.mueller@mail2web.com">lorenzo.mueller@mail2web.com</a>> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Thx for everyone´s help.<br><br>I tried both methods<br><br>sleep 3<br>/usr/local/bin/v4l2-ctl --set-audio-input 1 -d /dev/video1 >/dev/null
<br><br>and<br><br>v4l2-ctl --set-audio-input 2 -d 1<br>directv.pl port /dev/ttyS0 $0<br>v4l2-ctl --set-audio-input 1 -d 1<br><br><br>I packed both into a script called composite.sh and filled in the Change-Channel command in mythtv the path to the script. This had no effect -> Same destorted sound. When I recorded a scheduled record and called the script "manually" it works.
<br><br>So I suggest that mythtv waits until the changechannel-command is executed and starts to record when the script is finished.<br><br></blockquote>
<div>That would make sense as I have have a short script that Myth calls to change the channel. That short script runs a longer script in the background. The longer background script contains:</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>sleep 3</div>
<div dir="ltr">/usr/local/bin/v4l2-ctl --set-audio-input 1 -d /dev/video1 >/dev/null<br> </div></blockquote>
<div>And that is at the end of my script<br> </div>