<div dir="ltr">I've got just about everything set up to capture from my USB capture device. When my script is run from Mythbackend, the hw:1 device is not available to my recorder script when watching LiveTV (frontend on the same box). When I run the script stand alone with Mythbackend and Mythfrontend running but not watching LiveTV get both video and audio. I tried setting the Mythfrontend to use the null sound device and it still holds on to hw:1. I tried both hw:1 and hw:1,0 with the same results.<div><br></div><div>The backend segfaults probably because of a corrupted stream from ffmpeg because of this. If I don't try to capture the audio, then I can see the LiveTV stream just fine of course there is no audio.</div><div><br></div><div> Any ideas how to get around this problem?<div><br></div><div>Here is some logs from my ExternalRecorder script.</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">2018-12-06 10:25:20,226 DEBUG - mythuc.py:209 - start() Wating for ffmpeg to warm up.
</span><br>2018-12-06 10:25:20,506 DEBUG - mythuc.py:278 - loggy() Ffmpeg: b'[alsa @ 0x55838b4c2500] cannot open audio device hw:1,0 (Device or resource busy)\n'
<br>2018-12-06 10:25:20,506 DEBUG - mythuc.py:278 - loggy() Ffmpeg: b'hw:1,0: Input/output error\n'
<br>2018-12-06 10:25:20,728 INFO - mythuc.py:304 - adjust_chunksize() Stream read block size changed from 48692 to 52640
<br>2018-12-06 10:25:20,929 INFO - mythuc.py:304 - adjust_chunksize() Stream read block size changed from 52640 to 57904<br></span></div><div><br></div><div>Scheduling a recording and not running Mythfrontend also has the same error opening the audio device, so it must be something with the backend. There is only the one Capture device (ExternalRecorder) configured so I'm not sure why Mythbackend is even messing with that device. I'm running 29.1 from deb-multimedia(mythbackend version: [v29.1] <a href="http://www.mythtv.org">www.mythtv.org</a>)<br><br>Thank you</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">----------------<br>Robert LeBlanc<br>PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1</div></div></div></div></div>