[vdr] streamdev-server and pvrinput: TS-mode streaming is not working

2010-03-11 Thread L. Hanisch

Hi,

 I'm trying to get TS-mode-streaming working with pvrinput and streamdev-server 
but have no luck.
 pvrinput is sending a valid TS now including PAT, PMT and PCR packets (PCR is 
derived from the SCR of the PS).
 But streamdev-server does not receive any PAT and PMT so it will not send them to the client (vlc in my tests). So vlc 
doesn't display anything, because it doesn't know anything about the sent PIDs.

 The entry in channels.conf contains the right PIDs.

 I inserted debug-logs in livestreamer.c at
cStreamdevLiveReceiver::Receive: all video, audio and PCR packets are received

 and
cStreamdevPatFilter::Process: no packet at all comes here...

 I'm using vdr 1.7.13 and streamdev from cvs.

 vlc can play the recorded files if I open them directly and it doesn't complain about anything, so I think, the 
stream, pvrinput delivers, is valid enough.


 What am I missing?

 Looking at cReceiver::AddPid, a receiver is not able to set the PID 0 (which is the PAT-PID), but PAT packets should 
be processed through a filter, right? But I don't think I understand the class-tree of the various filters and receivers 
in streamdev...


 Can anyone with a deeper knowledge of this all please enlighten me?

 BTW: PES-streaming does work (as it always has).

Thanks!
Lars.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev-server and pvrinput: TS-mode streaming is not working

2010-03-11 Thread Rolf Ahrenberg

On Thu, 11 Mar 2010, L. Hanisch wrote:


What am I missing?
Looking at cReceiver::AddPid, a receiver is not able to set the PID 0 (which 
is the PAT-PID), but PAT packets should be processed through a filter, right?


IIRC, you'll need to implement section filtering into your input plugin 
(implement virtual OpenFilter() and CloseFilter() methods and start/stop 
the actual handling by calling 
StartSectionHandler()/StopSectionHandler(). You can take a look at the 
IPTV plugin, how this can be handled in non-DVBAPI environment.


BR,
--
rofa

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev-server and pvrinput: TS-mode streaming is not working

2010-03-11 Thread L. Hanisch

Hi,

Am 11.03.2010 23:17, schrieb Rolf Ahrenberg:

What am I missing?
Looking at cReceiver::AddPid, a receiver is not able to set the PID 0
(which is the PAT-PID), but PAT packets should be processed through a
filter, right?


IIRC, you'll need to implement section filtering into your input plugin
(implement virtual OpenFilter() and CloseFilter() methods and start/stop
the actual handling by calling
StartSectionHandler()/StopSectionHandler(). You can take a look at the
IPTV plugin, how this can be handled in non-DVBAPI environment.


 Thank you, I'll will give this a try.

Regards,
Lars.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr