How do I disable DVB subtitles?

Chris Tapp opensource at keylevel.com
Thu May 29 14:30:59 PDT 2014


On 29 May 2014, at 21:52, Nicolas Dufresne <nicolas.dufresne at collabora.com> wrote:

> Le jeudi 29 mai 2014 à 20:57 +0100, Chris Tapp a écrit :
>> 
>> Hi,
>> 
>> I'm using playbin with gst_parse_launch to play an rtp stream for a DVB TV channel.
>> 
>> This is basically working as expected - I can see the video and the audio is fine. However, the subtitles for the channel are being shown by default.
>> 
>> How can I turn them off?
> 
> You can disable subtitle by clearing the text flags, see flags property on playbin. This can be done while playing. You can also list and select sub-title tracks. In the parse-launch syntax, you'll have to select the flags you want:
> 
> gst-launch-1.0 playbin uri=.. flags=video+audio+buffering+...
> 
> Or name playbin, get the element by name and modify the flags using gobject property methods.

Thanks, that's much more elegant that what I had come up with - setting text-sink="fakesink".

> Cheers,
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Chris Tapp

opensource at keylevel.com
www.keylevel.com





More information about the gstreamer-devel mailing list