<div dir="ltr">Thanks John. I think that fixed it. Now, I just have to get the flow control working. :)<div><br></div><div>Is the purpose of the "scan for channels" command to basically get the transport stream and identify the elementary streams within it?<br></div><div><br></div><div>My recorder has ~50 channels, each channel will create it's own MPEG-TS. Do I have to use different elementary stream numbers if each channel has it's own TS?</div><div><br></div><div>Thanks,</div><div>Marc</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 19, 2016 at 4:06 PM, John P Poet <span dir="ltr"><<a href="mailto:jppoet@gmail.com" target="_blank">jppoet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5">On Mon, Jul 18, 2016 at 11:37 PM Marc Rawji <<a href="mailto:mrawji@gmail.com" target="_blank">mrawji@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Hello,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am trying to setup en External Recorder. I wrote my own but ran into trouble, so I tried using the "mythfilerecorder". </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">In both cases, I get an error about the PID cache being empty</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">2016-07-18 22:11:29.140402 E  DTVChan[1](/usr/bin/mythfilerecorder --infile /home/xxx/recorder/out.ts): SetChannelByString(1): PID cache is empty</div><div style="font-size:12.8px"><div>2016-07-18 22:11:29.140416 E  TVRec[1]: Failed to set channel to 1. Reverting to kState_None</div><div>2016-07-18 22:11:29.140454 I  TVRec[1]: Changing from WatchingLiveTV to None</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">my out.ts is an mpegts file, according to mythffprobe.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>Input #0, mpegts, from 'out.ts':</div><div>  Duration: 00:12:00.78, start: 1.400000, bitrate: 4347 kb/s</div><div>    Stream #0:0[0x100]: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc</div><div>    Stream #0:1[0x101]: Audio: aac (LC), 48000 Hz, stereo, fltp, 125 kb/s</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Channel "1" is mapped to a "No Grabber" source.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am on ubuntu, running the latest from the PPA, so 2:0.28.0+fixes.20160714.04650e0-0ubuntu0mythbuntu2</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I poked at the code a little, but I am not sure I understand what the PID cache is for... I think it fails to start because of this line:</div><div style="font-size:12.8px"><a href="https://github.com/MythTV/mythtv/blob/4d24d54ef43164f1325fcbe914450b7dea37e28f/mythtv/libs/libmythtv/recorders/dtvchannel.cpp#L343" target="_blank">https://github.com/MythTV/mythtv/blob/4d24d54ef43164f1325fcbe914450b7dea37e28f/mythtv/libs/libmythtv/recorders/dtvchannel.cpp#L343</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'd appreciate any guidance.<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you in advance for your help!</div><div style="margin:2px 0px 0px;font-size:12.8px"></div></div>
<br></blockquote><div><br></div></div></div><div>Hi Marc,<br><br></div><div>Did you try scanning for channels on that source?  The External Recorder only works with Transport Stream data (currently) and the process of scanning for the channels in the TS should get it configured to record.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>John<br> <br></div></font></span></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">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>
<br></blockquote></div><br></div>