[vdr] PES packets sent to cDevice::PlayVideo: only audio and video?

Laz laz at club-burniston.co.uk
Mon Aug 1 14:25:35 CEST 2011


Hi,

I'm tidying up changes made to the softdevice plugin to get it working 
with vdr > 1.7.0 which uses TS for recordings. It all works fine pretty 
much most of but I have some errors I'd like to track down.

Are the PES packets provided to the primary device's PlayVideo function 
purely video and audio packets? It looks to me like the PAT and PMT are 
stripped out so that only MPEG2 (no HD for me at the moment) audio and 
video packets should get to PlayVideo(), and so the primary device should 
play _all_ packets sent to it. Is this correct?

I'm getting quite a few errors from avcodec complaining that decoded video 
frames have width and height set to 0. This tends to be at the start of a 
stream, i.e. on channel changing or starting playback.

Are there any packets sent which don't contain any "playable" data that I 
need to test for and handle?

Maybe I should bite the bullet and implement a decoder for 
PlayTsVideo()..!

Cheers,

Laz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20110801/5c71e8ed/attachment.html>


More information about the vdr mailing list