[FFmpeg-devel] [PATCH] Fix incorrect decoding of DXSA subtitles (DivX subtitle with alpha)

Alexandre Colucci alexandre at elgato.com
Thu Apr 21 11:49:09 CEST 2011


Hi,

This patch fixes the DXSA subtitles decoding. See screenshots for before and after the patch.
If the fourcc is DXSA, there are extra 4 bytes before the compressed data. The specifications are not public but the format is supported by DivX Player.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: badSubtitle.png
Type: image/png
Size: 25345 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110421/33e256f2/attachment.png>
-------------- next part --------------



-------------- next part --------------
A non-text attachment was scrubbed...
Name: withpatch.png
Type: image/png
Size: 24196 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110421/33e256f2/attachment-0001.png>
-------------- next part --------------


Alexandre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: submission.diff
Type: application/octet-stream
Size: 762 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110421/33e256f2/attachment.obj>


More information about the ffmpeg-devel mailing list