Real time subtitle decoding

enricom enri_marne87 at msn.com
Thu Apr 12 03:05:50 PDT 2012


Hello, I'm trying to write a code able to extract teletext subtitles from a
transport stream and send them (over udp) to a client, in real time.
So far, I'm able to demultiplex the transport stream, playing audio and
video and, in parallel, decode the subtitle (through a slightly modified
version of teletextdec) and show them (+ other timing info) on screen... now
I think I should write something that allows the decoder to encapsulate
subtitles+time (as soon as decoded) in a message or a signal and pass them
to the main application, so that the appropriate element can read and send
them via udp.
First of all, what do you think would be better for me, messages or signals?
And in order to do so, do I have to implement a bus in the teletextdecoder?
Because I haven't understood the relation between an element bus and the
overall application bus.
So, resuming, if the teletextdecoder decodes a new subtitle line, it prints
it on screen, how can I 'grab' this info and manage it in the overall
pipeline?

Thank you very much.

Enrico

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Real-time-subtitle-decoding-tp4551440p4551440.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list