[mythtv-users] External Recorder, PID Cache is Empty

John P Poet jppoet at gmail.com
Tue Jul 19 23:06:53 UTC 2016


On Mon, Jul 18, 2016 at 11:37 PM Marc Rawji <mrawji at gmail.com> wrote:

> Hello,
>
> I am trying to setup en External Recorder. I wrote my own but ran into
> trouble, so I tried using the "mythfilerecorder".
>
> In both cases, I get an error about the PID cache being empty
>
> 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
> 2016-07-18 22:11:29.140416 E  TVRec[1]: Failed to set channel to 1.
> Reverting to kState_None
> 2016-07-18 22:11:29.140454 I  TVRec[1]: Changing from WatchingLiveTV to
> None
>
> my out.ts is an mpegts file, according to mythffprobe.
>
> Input #0, mpegts, from 'out.ts':
>   Duration: 00:12:00.78, start: 1.400000, bitrate: 4347 kb/s
>     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
>     Stream #0:1[0x101]: Audio: aac (LC), 48000 Hz, stereo, fltp, 125 kb/s
>
>
> Channel "1" is mapped to a "No Grabber" source.
>
> I am on ubuntu, running the latest from the PPA,
> so 2:0.28.0+fixes.20160714.04650e0-0ubuntu0mythbuntu2
>
> 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:
>
> https://github.com/MythTV/mythtv/blob/4d24d54ef43164f1325fcbe914450b7dea37e28f/mythtv/libs/libmythtv/recorders/dtvchannel.cpp#L343
>
> I'd appreciate any guidance.
>
> Thank you in advance for your help!
>
>
Hi Marc,

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.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160719/377e22b5/attachment.html>


More information about the mythtv-users mailing list