<div dir="ltr">On Mon, Jul 18, 2016 at 11:37 PM Marc Rawji <<a href="mailto:mrawji@gmail.com">mrawji@gmail.com</a>> wrote:<br><div class="gmail_quote"><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>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.<br><br></div><div>John<br> <br></div></div></div>