Project

General

Profile

Way to edit services, adding PIDs

Added by Robert Moris about 8 years ago

Hello all,

First of all thank you very much to all developers and contributors for this great piece of software.

I´m using TVH for one week (4.1).

Is there any way to edit advanced properties of the services? I´m trying to add additional PIDs to a service, that are not recognized during the scan process.

I looked to the GUI and JSON API without luck.

Also, I checked the configuration files. I think services information are inside muxes files. If I´m right these files are encoded in a HTSMSG Binary (compressed?) format.

Any ideas?

Thanks in advance.

Best regards


Replies (11)

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

Hello,

No one has any hint how to solve this?

Regards

RE: Way to edit services, adding PIDs - Added by Mark Clarkstone about 8 years ago

Robert Moris wrote:

Hello,

No one has any hint how to solve this?

Regards

If they are hidden PIDs you can use the "other stream filter" to add them.

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

Thank you for your reply Mark.

I had been reviewing this option and I don't understand very well how to add the PIDs.

I played with other filter streams (audio & video) in another normal channel successfully. I can see the esfilter line in log

But not in other stream filters.

Please, can you give me some little guidance?

Best regards

RE: Way to edit services, adding PIDs - Added by Mark Clarkstone about 8 years ago

What are these PIDs for? Are you sure Tvheadend hasn't detected them? Check the services tab & click on the (I) info icon next to a service, are they displayed there?

And in this case without actually knowing what the PIDs are for, the other filter isn't what's needed & I was wrong to point you in that direction.

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

Hello,

Thanks for the reply.

The PIDs are for video and audio.

Yes, TVH hasn't detected them. The service details are empty (none), except for PMT info.

If Other Stream Filters cannot solve this.. Is there any way to edit the service details for manually adding these PIDs?

Regards

RE: Way to edit services, adding PIDs - Added by Mark Clarkstone about 8 years ago

Robert Moris wrote:

Hello,

Thanks for the reply.

The PIDs are for video and audio.

Yes, TVH hasn't detected them. The service details are empty (none), except for PMT info.

You should be able to add them in using the Audio/video filters in that case, you just need to work out the PIDs. VLC might shed some light on the PIDs/order (if you play the mux the service is on).

If Other Stream Filters cannot solve this.. Is there any way to edit the service details for manually adding these PIDs?

Regards

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

Yesterday, I tried to add the PIDs setting the Video/Audio filters.

After this, I watched into the service details info and they don´t appear in log (esfilter lines). Log check is enable in both filters.

When I try to play the mux with VLC or wget I receive timeout waiting for packets

Best regards

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

The question is..

Is it possible to add hidden PIDs (video & audio) that are not detected in the scan process using the esfilter functionality?

They don´t appear in service details info.

Regards

RE: Way to edit services, adding PIDs - Added by Mark Clarkstone about 8 years ago

Robert Moris wrote:

The question is..

Is it possible to add hidden PIDs (video & audio) that are not detected in the scan process using the esfilter functionality?

Rather obvious question, have you actually tried to play the stream in VLC? Do they appear then?

They don´t appear in service details info.

Regards

timeout waiting for packets suggests that the tuner sent nothing at all! If this mux has other live channels those still should be sent but that depends on whether the tuner sends a complete mux to Tvheadend. If your tuner is an old one, it may be using hardware pid filtering, this would explain why you can't wget a mux.

That still doesn't explain why it isn't detecting these streams though - All I can suggest you do is open a bug report mentioning that Tvheadend has failed to detect some PIDs and wait for Jaroslav to advise.

But before you try that, try using some other software like w_scan to rule out other tuner issues.

RE: Way to edit services, adding PIDs - Added by Robert Moris about 8 years ago

Hello,

Thanks for your reply.

TVH hasn´t any problem to scan these PIDs. The problem is that they are hidden in the mux. w_scan is also not detecting them.

I recompiled disabling zlib compression on muxes/ . Then I was able to edit the mux file indicating the PIDs manually.

After this the timeout waiting for packets message dissapeared. VLC is getting data but it cannot play the stream, no PIDs appear yet. Kodi can play the stream through pvr.hts addon.

It looks like esfilter is not rewriting the PMT to add these hidden PIDs. The filters (video & audio) are enabled.

Do you think this is a bug in esfilter or a new feature?

Regards

RE: Way to edit services, adding PIDs - Added by Mark Clarkstone about 8 years ago

Robert Moris wrote:

Hello,

Thanks for your reply.

TVH hasn´t any problem to scan these PIDs. The problem is that they are hidden in the mux. w_scan is also not detecting them.

I recompiled disabling zlib compression on muxes/ . Then I was able to edit the mux file indicating the PIDs manually.

After this the timeout waiting for packets message dissapeared. VLC is getting data but it cannot play the stream, no PIDs appear yet. Kodi can play the stream through pvr.hts addon.

It looks like esfilter is not rewriting the PMT to add these hidden PIDs. The filters (video & audio) are enabled.

Do you think this is a bug in esfilter or a new feature?

I'm not sure to be honest - I'd open a bug report & if Jaroslav feels it's not a bug he'll change it.

Regards

    (1-11/11)