[vlc-devel] DCP subtiltes
jb at videolan.org
Wed Sep 7 14:51:56 CEST 2016
On 06 Sep, Nicolas Bertrand wrote :
> So, if I understand correctly, its needed to parse XML in demux for
> timestamps and also in codec for font styling stuff. I joined a sample.
Yes, that's what we do, so far.
Demux need to know where to seek, that's why.
> In ttml demux the XML parsing is done, and XML tags '<p/>' are recreated
> (ie new generation of XML tags) to be after parsed by the codec.
> Do you think is there a way to just send the entire node to the stream
> by doing a memcopy?
Yes, you can do memcpy.
> elementary stream to codec ? This can avoid to parsing twice all XML
> nodes as it is done in ttml module?
TTML is crap, because it's too complex.
Don't follow this example.
With my kindest regards,
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel