In a framework such as GStreamer, the vobsub decoder will be inserted in
a pipeline after elements taking care of demuxing the Mpeg 2 stream. In
such a situation, the PES packets are already parsed. Only the subtitle data
is available.
This PR introduces the data mode in SubtitlesFromChunks which uses the same
interface as the packet mode. The file fixtures/example_data.sub is a demuxed
version of fixtures/example.sub.
Notes:
I didn't try fuzz testing yet.
This PR includes the changes from #41. I'll rebase if it is accepted.
In a framework such as GStreamer, the
vobsub
decoder will be inserted in a pipeline after elements taking care of demuxing the Mpeg 2 stream. In such a situation, the PES packets are already parsed. Only the subtitle data is available.This PR introduces the data mode in
SubtitlesFromChunks
which uses the same interface as the packet mode. The filefixtures/example_data.sub
is a demuxed version offixtures/example.sub
.Notes: