No subject


Thu Dec 8 12:26:00 PST 2011


as a port to glib/gstreamer utilities (the gstreamer bitreader, etc),
with other changes in there - commit log available on github. During
that porting work I noticed various problems in the decoder that I fixed
in the libdvbsub code. Though later some of those turned out to be my
porting errors instead. There are a few FIXME-FFMPEG comments iirc, that
show some potential problems in ffmpeg original code to look at by those
that care. Eventually I did see ffmpeg itself render some samples fine
though with its own unmodified code, iirc.

> Because this ffmpeg dvbsub decoder correctly decode these subtitles in VLC,
> I'll probably compare/merge the 2 plugins dvbsuboverlay/ffdec_dvbsub to make
> it work.

VLC has its own DVB subtitle decoding code, it doesn't use the one from
ffmpeg. It's GPL, so I didn't care for that for my needs then.
On hindsight I think I should have written it from scratch, to fit the
spec with objects better and avoid various porting errors and inherited
bugs - the spec is simple and straightforward enough. Maybe on a rainy
day when we can convert it from an overlay to something that just
provides subpicture regions for the videosink - then it may be more
useful to hang on to the dvbsub spec objects in a different way, etc.

> Here is the expected behavior:
> http://gstreamer-devel.966125.n4.nabble.com/file/n4172790/dvbsub2.png 

It's probably just some porting error in the bitreader code, or also a
bug in the original ffmpeg code. Shouldn't be too hard to fix with a
sample.
I suggest to record the problem on gstreamer bugzilla for tracking, and
somehow provide a sample. The dvbsub spec is available publicly and free
of charge if you want to take a stab at it yourself. With a sample I can
take a quick look too.


Regards,
Mart Raudsepp



More information about the gstreamer-devel mailing list