[linux-dvb] [RFC] ioctls to read PTS of a decoder

Manu Abraham abraham.manu at gmail.com
Thu Feb 16 15:46:22 CET 2006


Hello Andreas,

Andreas Oberritter wrote:
> Hello Manu,
>
> On Thu, 2006-02-16 at 15:56 +0400, Manu Abraham wrote:
>   
>> Sounds good, will be useful for Software decoders.
>>     
>
> I think you are confusing something. It's all about hardware decoders.
> You write large chunks of data into their buffers and want to know which
> part is currently presented to the user.
>
> Software decoders don't use the video and audio devices. Cards without
> hardware decoders don't even provide them.
>
>   

I thought you wanted to parse the stream and provide the PTS/DTS for 
decoders. Be it Hardware or Software, the decoder works in the same way, 
both use PTS/DTS info. in the case of hardware, this is done in 
hardware, but i do understand that you would like to parse this ahead so 
you can use that info for stream control.

Even software decoders make use of PTS/DTS parsing from the stream, so 
if it is anyway parsed, then it would make little sense as to parse the 
stream again, whether be it in userspace for a decoder (Software based). 
Software decoders will required to be modified to take advantage of this.

So do you mean to say that the in kernel parsing should be done only for 
Hardware decoders .. ?


Cheers,
Manu




More information about the linux-dvb mailing list