HTTP stream by specifying a filter of PIDs

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
PhilipD
Posts: 6
Joined: Sun Sep 15, 2019 3:21 am

HTTP stream by specifying a filter of PIDs

Post by PhilipD » Sun Sep 15, 2019 3:25 am

Hi

I know there is the option to start streaming using http://192.168.1.100:5004/auto/v2 where v2 is the channel number, however how do you start streaming using a URL with specific PIDs?

Regards

Phil

nickk
Silicondust
Posts: 15604
Joined: Tue Jan 13, 2004 9:39 am

Re: HTTP stream by specifying a filter of PIDs

Post by nickk » Sun Sep 15, 2019 10:16 am

The HDHomeRun supports custom PID filtering via the libhdhomerun protocol.

If you can describe what your planned usage is I can raise the feature internally.

Nick

PhilipD
Posts: 6
Joined: Sun Sep 15, 2019 3:21 am

Re: HTTP stream by specifying a filter of PIDs

Post by PhilipD » Sun Sep 15, 2019 10:58 am

Hi

Many thanks for the reply.

I'm currently programming a PVR application. I have been able to use the http api with channel number to receive a stream and successfully save this to disk. Receiving the stream into the software allows me access to the transport stream, rather than saving directly to disk from libhdhomerun.

In the UK on our TV system we have something called 'accurate recording', this is where the broadcaster triggers a start/stop of a program, meaning padding isn't required and any scheduled changes are automatically catered for (early/late starts etc).

In practice the start/stop signal is using the EIT present/following, and here in the UK the program becomes the present timed precisely with the actual broadcast time, regardless of the scheduled time.

In order to parse and see the EIT present/following, I need the EIT (0x12) in the transport stream as well as the usual channel PIDs, this is so I can monitor the present/following at the same time as the recording is streaming and being saved to disk. At the moment using the http API with a channel, the EIT isn't in the transport stream.

It would also be really handing so that I can also collect EPG data using the same streaming mechanism and so avoiding the need to use the hdhomerun EXE and it keeps everything running over TCP.

I hope that makes sense.

Regards

Phil

tmm1
Posts: 247
Joined: Tue Nov 03, 2015 12:03 pm
Contact:

Re: HTTP stream by specifying a filter of PIDs

Post by tmm1 » Sun Sep 15, 2019 5:15 pm

We would also like to be able to request that 0x12 pid is added to streams started via the HTTP API.

Post Reply