Subtitles with playbin2

bfederau benjamin.federau at basyskom.com
Tue Mar 12 05:43:35 PDT 2013


Hi,

I'm new to GStreamer and I want to be able to enable/disable DVB subtitles
in a MPEG2/TS stream using the playbin2. But with the "current-text"
property of the playbin2 I was not able to select any subtitile.

I have two different test MPEG2/TS files. TS File 1 had the subtitles
enabled while recording and TS file 2 not. But in both TS files the
subtitles are available.

When I play the TS file 1 the subtitles are always shown and I can't disable
them with the "current-text" property. The TS file 2 does not show any
subtitles and I can't enable them with the "current-text" property.

My pipelines are:

 * TS file 1: gst-launch playbin2 uri=file:///tmp/file1.ts  <-- subtitles
always shown

 * TS file 2: gst-launch playbin2 uri=file:///tmp/file2.ts  <-- subtitles
not shown

and as I said the "current-text" property takes no effect on one of the
pipelines.


Do I need a custom pipeline which enables/disables the DVB subtitles?



I'm running Ubuntu 12.04 (64-bit) with the following GStreamer versions:

ii  gstreamer-tools                        0.10.36-1ubuntu1                       
Tools for use with GStreamer
ii  gstreamer0.10-alsa                     0.10.36-1ubuntu0.1                     
GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                   0.10.13-1                              
FFmpeg plugin for GStreamer
ii  gstreamer0.10-fluendo-mp3              0.10.15.debian-1ubuntu1                
Fluendo mp3 decoder GStreamer plugin
ii  gstreamer0.10-nice                     0.1.1-2ubuntu1                         
ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad              0.10.22.3-2ubuntu2.1                   
GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base             0.10.36-1ubuntu0.1                     
GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good             0.10.31-1ubuntu1                       
GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly             0.10.18.3-1ubuntu1                     
GStreamer plugins from the "ugly" set
ii  gstreamer0.10-pulseaudio               0.10.31-1ubuntu1                       
GStreamer plugin for PulseAudio
ii  gstreamer0.10-qapt                     1.3.1-0ubuntu2                         
GStreamer plugin to install codecs using QApt
ii  gstreamer0.10-tools                    0.10.36-1ubuntu1                       
Tools for use with GStreamer
ii  gstreamer0.10-x                        0.10.36-1ubuntu0.1                     
GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad0.10-0         0.10.22.3-2ubuntu2.1                   
GStreamer shared libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0        0.10.36-1ubuntu0.1                     
GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base0.10-0:i386   0.10.36-1ubuntu0.1                     
GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                     0.10.36-1ubuntu1                       
Core GStreamer libraries and elements
ii  libgstreamer0.10-0:i386                0.10.36-1ubuntu1                       
Core GStreamer libraries and elements


Cheers
-
Benjamin Federau




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Subtitles-with-playbin2-tp4659070.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list