<div dir="ltr"><div><div>Honestly Marc, that part of the external recorder has never been tested by anyone, as far as I know.  Feel free to submit patches to get it working.<br><br></div>I will come up with a way of testing it myself, but probably not in the near future.<br><br></div>John<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 10, 2016 at 10:47 AM Marc Rawji <<a href="mailto:mrawji@gmail.com">mrawji@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 1, 2016 at 10:25 PM, Marc Rawji <span dir="ltr"><<a href="mailto:mrawji@gmail.com" target="_blank">mrawji@gmail.com</a>></span> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I am trying to write an "external recorder". I think I have the code working, for at least one channel.</div><div><br></div><div>I can start on one channel, but I don't seem to be able to change channels:</div></div></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>For every channel, I recreate a new MPEG-TS using ffmpeg. I am using the same stream_id for all the channels, since each TS only has a single program in it. Would that be causing the error?<br></div><div><br></div><div><br></div></div></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks!</div><span><font color="#888888"><div>Marc</div></font></span></div>
</blockquote></div><br></div><div class="gmail_extra">So, I have my setup partially working. I have an external recorder that (currently) has 2 channels. I can record each channel independently and I get good recordings. Pausing LiveTV works too.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I still can't change channels though.I get this error in the backend</div><div class="gmail_extra"><span style="color:rgb(24,54,145);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;white-space:pre-wrap;background-color:rgb(248,238,199)">Stream handler died unexpectedly</span></div><div class="gmail_extra">Which, I think comes from here:</div><div class="gmail_extra"><a href="https://github.com/MythTV/mythtv/blob/4d24d54ef43164f1325fcbe914450b7dea37e28f/mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp#L105" target="_blank">https://github.com/MythTV/mythtv/blob/4d24d54ef43164f1325fcbe914450b7dea37e28f/mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp#L105</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">For what it's worth, if I interact with my ExternalRecorder from the command line, I can TuneChannel and the resulting output seems to work just fine.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Any pointers are hugely appreciated!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Marc</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>