[Ffmpeg-devel] [Patch] DVB Subtitle decoder

Nico Sabbi nsabbi
Fri Jul 8 23:38:56 CEST 2005


Ian Caulfield wrote:

> Hi,
>
> The attached patch adds a DVB subtitle decoder. I've had to fiddle the 
> AVSubtitle struct to get it to work efficiently; the patch includes 
> tweaks to the existing subtitle code. I've also fiddled slightly with 
> the mpegts parser to allow it to detect DVB subtitles.
>
> Issues still outstanding:
>  - The 'end_display_time' is currently inaccurate - it gives the page
>    timeout rather than the time it is replaced by the next subtitle
>  - The parser is a bit of a hack to reassemble PES packets. I welcome
>    suggestions of better ways to implement it
>  - If there are multiple subtitle streams on one PID, only one will be
>    decoded. To fix this it is necessary to associate more than one
>    AVStream with a pid - not sure how to do this.
>
> Please let me know if you have any comments/suggestions.
>
> Thanks,
> Ian
>
>------------------------------------------------------------------------
>
>  
>

Can you upload a sample to www.mplayerhq.hu/MPlayer/incoming please?
How does your code interact with Fabrice's recent commits?





More information about the ffmpeg-devel mailing list