dvbserver turns off hardware PID filtering

Discuss DVBLink on Raspberry Pi platform here!

dvbserver turns off hardware PID filtering

Postby autobahnkid » Thu Dec 12, 2013 9:55 pm

hello,
this is my system:
raspberry pi model b with raspian wheezy
Linux pi-tv 3.10.22+ #606 PREEMPT Thu Dec 5 18:16:13 GMT 2013 armv6l GNU/Linux
USB Sundtek DVB C/T Tuner ID eb1a:51b2

My raspi is used as a tv streaming/recording backend only.

The tuner is supporting Hardware PID Filtering, which seems very helpfull for the raspis USB bandwith and CPU limitations. HW PID filter is activated with
Code: Select all
/opt/bin/mediaclient -P on

Unfortunately, switching channels in DVBLink always resets HW PID filtering to 'off'

I tested this with the vdr server available from rasbian repository. The latter does not show this behavior and tv watching is much more hassle free.

thanks for any help!
autobahnkid
 
Posts: 2
Joined: Thu Dec 12, 2013 9:27 pm


Re: dvbserver turns off hardware PID filtering

Postby Oberon » Fri Dec 13, 2013 4:13 pm

Actually we do not do anything special that makes tuner to turn off the PID filtering. We use just normal video4linux infrastructure commends that should not influence it. I really do not know how we can help here.
Oberon
 
Posts: 11763
Joined: Thu Sep 06, 2007 5:04 am

Re: dvbserver turns off hardware PID filtering

Postby Sundtek » Fri Dec 13, 2013 7:43 pm

Once you exceed 15 PIDs in the PID list the Hardware PID filters will be switched off (this is device dependent, we have devices which don't support Hardware PID Filtering, which support 15 PIDs in Hardware and which support filtering 35 PIDs in HW)

Following command will show up the allocated PIDs:
/opt/bin/mediaclient --lc


Forcing to enable the HW Pid filters again will cut off all requested filters that are outside of the first 15 allocated slots.
Sundtek
 
Posts: 13
Joined: Mon Apr 22, 2013 3:35 pm

Re: dvbserver turns off hardware PID filtering

Postby Oberon » Sat Dec 14, 2013 12:52 pm

Understood. It seems that there is nothing we can do here - if a particular channel needs more than 15 PIDs we just ask for them all.
Oberon
 
Posts: 11763
Joined: Thu Sep 06, 2007 5:04 am

Re: dvbserver turns off hardware PID filtering

Postby autobahnkid » Mon Dec 16, 2013 3:29 am

did some further research

HWPID filter status after boot, no dvb client active

Code: Select all
root@pi-tv:/etc/init.d# /opt/bin/mediaclient -P on
Using device: /dev/dvb/adapter0/frontend0
Hardware filter is currently enabled


now I start dvblink and select a channel in vlc

Code: Select all
root@pi-tv:/etc/init.d# /opt/bin/mediaclient --lc
**** List of Media Clients ****
/dev/dvb/adapter0/frontend0:
  2804 ... dvblink_server
/dev/dvb/adapter0/dvr0:
  2804 ... dvblink_server
/dev/dvb/adapter0/demux0:
  2804 ... dvblink_server (0014)
  2804 ... dvblink_server (0000)
  2804 ... dvblink_server (0001)
  2804 ... dvblink_server (17d4)
  2804 ... dvblink_server (17de)
  2804 ... dvblink_server (17e8)
  2804 ... dvblink_server (17e9)
  2804 ... dvblink_server (17eb)
  2804 ... dvblink_server (17ea)
  2804 ... dvblink_server (17f2)
  2804 ... dvblink_server (17f3)
  2804 ... dvblink_server (17f4)
  2804 ... dvblink_server (181a)
  2804 ... dvblink_server (0010)
  2804 ... dvblink_server (0011)
  2804 ... dvblink_server (0012)
/dev/video0:
  No client connected


and querying the HWPID filter status by enabling it

Code: Select all
root@pi-tv:/etc/init.d# /opt/bin/mediaclient -P on
Hardware filter is currently disabled
changing status
done


I suppose, "changing status" means that HWPID filter was disabled before...

same procedure with vdr

Code: Select all
root@pi-tv:/etc/init.d# /opt/bin/mediaclient --lc
**** List of Media Clients ****
/dev/dvb/adapter0/frontend0:
  2804 ... dvblink_server
/dev/dvb/adapter0/dvr0:
  2804 ... dvblink_server
/dev/dvb/adapter0/demux0:
  2804 ... dvblink_server (0014)
  2804 ... dvblink_server (0000)
  2804 ... dvblink_server (0001)
  2804 ... dvblink_server (17d4)
  2804 ... dvblink_server (17de)
  2804 ... dvblink_server (17e8)
  2804 ... dvblink_server (17e9)
  2804 ... dvblink_server (17eb)
  2804 ... dvblink_server (17ea)
  2804 ... dvblink_server (17f2)
  2804 ... dvblink_server (17f3)
  2804 ... dvblink_server (17f4)
  2804 ... dvblink_server (181a)
  2804 ... dvblink_server (0010)
  2804 ... dvblink_server (0011)
  2804 ... dvblink_server (0012)
/dev/video0:
  No client connected


and quering/setting HWPID filter status

Code: Select all
root@pi-tv:/etc/init.d# /opt/bin/mediaclient -P on
Using device: /dev/dvb/adapter0/frontend0
Hardware filter is currently enabled


I suppose no status change means HWPID filter is still active...

My knowledge about v4l is very limited, nearly not existent, but something must be handled different between dvblink_server and vdr.
Result is quite evident:
with dvblink I can watch SD at the most, with vdr no problem with HD.

I really like the clean web interface of dvblink (already bought a license), so it would by very nice, if the problem could be fixed.
thanks.
autobahnkid
 
Posts: 2
Joined: Thu Dec 12, 2013 9:27 pm

Re: dvbserver turns off hardware PID filtering

Postby Sundtek » Mon Dec 23, 2013 11:38 pm

Once the PID Filters exceed 15 PIDs, Hardware PID Filtering will be switched off.
Once the PID Filters jump back below or equal 15 PIDs the Hardware PID Filter will be enabled again automatically.
So of course in the end it depends on the application if that feature can or will be used.
Sundtek
 
Posts: 13
Joined: Mon Apr 22, 2013 3:35 pm


Return to DVBLink TV Server for Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest

cron