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

Marc Rawji mrawji at gmail.com
Thu Jul 21 16:47:56 UTC 2016


Thanks John. I think that fixed it. Now, I just have to get the flow
control working. :)

Is the purpose of the "scan for channels" command to basically get the
transport stream and identify the elementary streams within it?

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?

Thanks,
Marc


On Tue, Jul 19, 2016 at 4:06 PM, John P Poet <jppoet at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160721/365dc149/attachment.html>


More information about the mythtv-users mailing list