Skip to contentSkip to conversation

PID filter testing

DISCUSSION Benjamin Larsson 3 participants 6 messages Nov 20, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi, what tools can I use to test pid filter support in the drivers ?

MvH
Benjamin Larsson

#1 lore raw
Quoted 1 line · Benjamin Larsson

Hi, what tools can I use to test pid filter support in the drivers ?

dvbtraffic shows all the pids from tuned stream, but IIRC it does not work with dvbv5-zap as it opens device blocked mode. dvbv5-zap has itself quite similar mode than dvbtraffic, it is --monitor.

To configure custom pids you need to patch tuning file, but usually there is already enough pids to test as full scan usually returns tens of tv channels (>~100 pids).

Antti

Signature · 1 line
http://palosaari.fi/
#3 lore raw
Quoted 10 lines · Honza Petrouš

2015-11-20 12:00 GMT+01:00 Benjamin Larsson <[email protected]>:

Quoted 1 line

Hi, what tools can I use to test pid filter support in the drivers ?

Zap utility from dvbapps seems to be some simpler way - you can pass them the fixed pids and record filtered data by simple command.

See at:
http://www.linuxtv.org/wiki/index.php/Zap

/Honza

Hi, can you elaborate with a command line example ? To start with I want only the 0x1fff pid from a random dvb-c mux.

MvH
Benjamin Larsson

#4 lore raw
Quoted 7 lines · Benjamin Larsson
Quoted 6 lines · Honza Petrouš

2015-11-20 12:00 GMT+01:00 Benjamin Larsson <[email protected]>:

Quoted 1 line

Hi, what tools can I use to test pid filter support in the drivers ?

Zap utility from dvbapps seems to be some simpler way - you can pass them the fixed pids and record filtered data by simple command.

Quoted 7 lines
Quoted 4 lines

See at:
http://www.linuxtv.org/wiki/index.php/Zap

/Honza

Hi, can you elaborate with a command line example ? To start with I want only the 0x1fff pid from a random dvb-c mux.

hmm, that is null pid for padding ts to correct size IIRC. Take into account that some pid filters / bridges automatically filter it out. Usually it is there though.

So it is not very good pid to test. If you want test some pid which is always there look those mandatory pids which are pids numbered near 0.

regards
Antti

Signature · 1 line
http://palosaari.fi/
#5 lore raw
Quoted 11 lines

hmm, that is null pid for padding ts to correct size IIRC. Take into account that some pid filters / bridges automatically filter it out. Usually it is there though.

So it is not very good pid to test. If you want test some pid which is always there look those mandatory pids which are pids numbered near 0.

regards
Antti

When I hard code the rtl2833 external pid filter I am able to get only that pid. The inverse case also works as that is the default. Anyway I just want some tool that I can use from command line that can toggle pids somewhat dynamically. To bad there seems to be no ready available tool for that.

Adding pid selection to dvbv5-zap in monitor mode looks to be the best way forward.

MvH
Benjamin Larsson