Feature #4294

Ignore empty services

Added by MichaƂ Sawicz over 6 years ago. Updated over 6 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


We've an IPTV DVB station that does SPTS (Single Program Transport Streams), which basically means it filters the muxes to only have the PIDs for a single program.

Unfortunately it doesn't filter the PMT, which results in all services from the original mux being created, only one of which is actually valid.

Do you think having an option for mux scanning to only include non-empty services could happen? It'd probably have to be a Network-level setting. Maybe with a per-mux override?

Alternatively, would it be possible to only scan muxes on demand?



Updated by Jaroslav Kysela over 6 years ago

  • Target version set to 4.4

Updated by Jaroslav Kysela over 6 years ago

Scan: - but you must know Service ID of the active (valid) service.

A note to me: For IPTV input, we can grab all 'valid' PIDs shortly when the stream is received, so it may be wise to postpone service creation until we see the packets from any A/V elementary stream.


Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed

The latest code contains two things to handle such 'not-broadcasted' services (note that the stream does not follow the spec when the PSI tables are not rewritten).

  1. PMT PID check - services are created only when according PMT PID is seen
  2. there's added 'Service ID' to the mux config, so you may enter the valid 'Service ID' and others are ignored (not created)
  3. for IPTV auto network (m3u), #EXTVLCOPT:program= lines are parsed, so you may specify 'Service ID' there, too

Closing as resolved...

Also available in: Atom PDF