subtitles from SRT file

1,122 views
Skip to first unread message

Shay Tessler

unread,
May 22, 2010, 8:49:40 AM5/22/10
to gstreamer-java
hello all , i have seen an example for showing text over using the
"textoverlay"

but i was look for a way to play subtitles from a SRT file
i know gstreamer can do this via "GstSubParse"
is there an example of using subtitle file in gstreamer-java

thank you

--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To post to this group, send email to gstream...@googlegroups.com.
To unsubscribe from this group, send email to gstreamer-jav...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gstreamer-java?hl=en.

Tal Shalif

unread,
May 22, 2010, 10:05:02 AM5/22/10
to gstream...@googlegroups.com
Why not create a "subparse" element and use it?

Roberto Faga

unread,
May 22, 2010, 12:31:31 PM5/22/10
to gstream...@googlegroups.com
I'm using subtitles with subparse module:

videoComponent = new VideoComponent();

Element videosink = videoComponent.getElement();
Element textoverlay = ElementFactory.make("textoverlay", "textoverlay");
subtitle = ElementFactory.make("filesrc", "filesrc");
Element subparse = ElementFactory.make("subparse", "subparse");

// Set subtitle file location
subtitle.set("location", "/home/faga/Temp/subtitle.srt");

Bin bin = new Bin("myBin");

bin.add(subtitle);
bin.add(subparse);

bin.add(textoverlay);
Pad pad = textoverlay.getPad("video_sink");
GhostPad ghostpad = new GhostPad("sink", pad);
bin.addPad(ghostpad);
bin.add(videosink);


// Set params of textoverlay (position, font, shaded, etc)
textoverlay.set("valign", "top");
textoverlay.set("halign", "right");
textoverlay.set("shaded-background", "yes");
textoverlay.set("font-desc", "Sans Bold 16");

Element.linkMany(subtitle, subparse, textoverlay, videosink);



Then you have the bin to play, pause or do what you want. You still
need to point to a video file, and I pasted this code into original
VideoPlayer class (from org.gstreamer.swing.*)

Roberto

Shay Tessler

unread,
May 22, 2010, 5:57:21 PM5/22/10
to gstreamer-java
thank you all for quick comment ,
this example is not working , i see black window
this happened when adding ,the subtitle and subparse and then linking
them all

here is my code here

thank you again


import javax.swing.JFrame;

import org.gstreamer.Bin;
import org.gstreamer.Element;
import org.gstreamer.ElementFactory;
import org.gstreamer.GhostPad;
import org.gstreamer.Gst;
import org.gstreamer.Pad;
import org.gstreamer.State;
import org.gstreamer.elements.FileSrc;
import org.gstreamer.swing.VideoComponent;


public class Test1 {
public static void main(String[] args){
String strMovie = "file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Summer.720p.BluRay.x264-METiS.mkv";
strMovie = strMovie.trim();
strMovie = strMovie.replace(" ", "%20");

String strSubtitle = "file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Summer.720p.BluRay.x264-METiS.srt";
strSubtitle = strSubtitle.trim();
strSubtitle = strSubtitle.replace(" ", "%20");

Gst.init("Swing Player", new String[]{strMovie});

Element playbin = ElementFactory.make("playbin2", "playbin2");
playbin.set("uri", strMovie);

VideoComponent videoComponent = new VideoComponent();

Element videosink = videoComponent.getElement();
Element textoverlay = ElementFactory.make("textoverlay",
"textoverlay");
FileSrc subtitle = (FileSrc)ElementFactory.make("filesrc",
"filesrc");
Element subparse = ElementFactory.make("subparse", "subparse");

// Set subtitle file location
subtitle.set("location", strSubtitle);

Bin bin = new Bin("myBin");

bin.add(subtitle);
bin.add(subparse);

bin.add(textoverlay);

Pad pad = textoverlay.getPad("video_sink");
GhostPad ghostpad = new GhostPad("sink", pad);
bin.addPad(ghostpad);
bin.add(videosink);

// textoverlay.set("text", "Welcome to the Jungle! dsafasdf asdf
asdf asdf asdfs af asdfs affasd");
textoverlay.set("valign", "bottom");
textoverlay.set("halign", "center");
textoverlay.set("shaded-background", "yes");
textoverlay.set("font-desc", "arial bold 16");

Element.linkMany(subtitle, subparse, textoverlay, videosink);

playbin.set("video-sink", bin);
playbin.setState(State.PLAYING);


JFrame f = new JFrame();
f.setSize(800, 600);
f.setLayout(new BorderLayout());
f.add(videoComponent ,BorderLayout.CENTER);
f.setVisible(true);
> For more options, visit this group athttp://groups.google.com/group/gstreamer-java?hl=en.

Roberto Faga

unread,
May 22, 2010, 7:34:19 PM5/22/10
to gstream...@googlegroups.com
Hi again,

I pasted my class which is working perfectly:

http://pastebin.com/K89vWS4s

However, I see that you're using Gstreamer on Windows, you can try
first running on CMD "gst-inspect subparse" to see if this element is
available. Last version of OSSBuild which I tried (I think on January)
there isn't this module, so subtitles was not possible to work on
Windows.

Roberto

Shay Tessler

unread,
May 23, 2010, 12:44:45 AM5/23/10
to gstreamer-java
Same result , also for your file :
here is "gst-inspect subparse" output

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-inspect
subparse
Factory Details:
Long name: Subtitle parser
Class: Codec/Parser/Subtitle
Description: Parses subtitle (.sub) files into text streams
Author(s): Gustavo J. A. M. Carneiro <g...@inescporto.pt>
GStreamer maintainers <gstream...@lists.sourceforge.net>
Rank: primary (256)

Plugin Details:
Name: subparse
Description: Subtitle parsing
Filename: C:\Program Files (x86)\OSSBuild\GStreamer
\v0.10.6\lib\gstreamer-0.10\libgstsubparse.dll
Version: 0.10.28
License: LGPL
Source module: gst-plugins-base
Binary package: GStreamer Base Plug-ins source release
Origin URL: Unknown package origin

GObject
+----GstObject
+----GstElement
+----GstSubParse

Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
text/plain
text/x-pango-markup

SINK template: 'sink'
Availability: Always
Capabilities:
application/x-subtitle
application/x-subtitle-sami
application/x-subtitle-tmplayer
application/x-subtitle-mpl2
application/x-subtitle-dks
application/x-subtitle-qttext


Element Flags:
no flags set

Element Implementation:
Has change_state() function: 00205160
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
SRC: 'src'
Implementation:
Has custom eventfunc(): gst_sub_parse_src_event
Has custom queryfunc(): gst_sub_parse_src_query
Provides query types:
Has custom iterintlinkfunc():
gst_pad_iterate_internal_links_default
Pad Template: 'src'
SINK: 'sink'
Implementation:
Has chainfunc(): gst_sub_parse_chain
Has custom eventfunc(): gst_sub_parse_sink_event
Has custom queryfunc(): gst_pad_query_default
Provides query types:
Has custom iterintlinkfunc():
gst_pad_iterate_internal_links_default
Pad Template: 'sink'

Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "subparse0"
subtitle-encoding : Encoding to assume if input subtitles are not
in UTF-8 or any other Unicode encoding. If not set, the GST_SUBTITLE_E
NCODING environment variable will be checked for an encoding to use.
If that is not set either, ISO-8859-15 will be assumed.
flags: readable, writable
String. Default: null Current: null
video-fps : Framerate of the video stream. This is needed
by some subtitle formats to synchronize subtitles and video properly.
If not set and the subtitle format requires it subtitles may be out of
sync.
flags: readable, writable
Fraction. Range: 0/1 - 2147483647/1 Default:
24000/1001 Current: 24000/1001

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>














also seems that i had to put this line of code before creating the
player :

Gst.init("Swing Player", new String[]{strMovie});

other wish i get this error :

(javaw.exe:5052): GLib-GObject-CRITICAL **: d:/OSSBuild/Libraries/
Source/glib-2.24.0/gobject/gtype.c:2706: You forgot to call
g_type_init()

(javaw.exe:5052): GLib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed

(javaw.exe:5052): GLib-GObject-CRITICAL **: d:/OSSBuild/Libraries/
Source/glib-2.24.0/gobject/gtype.c:2706: You forgot to call
g_type_init()

(javaw.exe:5052): GLib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed

(javaw.exe:5052): GLib-GObject-CRITICAL **: d:/OSSBuild/Libraries/
Source/glib-2.24.0/gobject/gtype.c:2706: You forgot to call
g_type_init()

(javaw.exe:5052): GLib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed

Roberto Faga

unread,
May 23, 2010, 10:27:02 AM5/23/10
to gstream...@googlegroups.com
Hi Shay,

You can create first a Java File to subtitle, check if it exist and
pass as parameter "getAbsoluteFile()". You're using URI where it
should be the absolute file path:

String strSubtitle = "file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Summer.720p.BluRay.x264-METiS.srt";

to

String strSubtitle = "Y:\\Movies\\500 Days Of Summer (720p)\\
500.Days.Of.Summer.720p.BluRay.x264-METiS.srt";

(yes, it's different from playbin, which uses URI)

Try this one, I don't have a windows machine to check if this now
works. If still not, try creating a Java File (from java.io), check if
it exist and then pass as parameter: "subtitle.set("location",
srtFile.getAbsoluteFile());"

Shay Tessler

unread,
May 23, 2010, 1:58:32 PM5/23/10
to gstreamer-java
ok this is what i do
mediaPlayer = player;
videoComponent = new VideoComponent();
Element videosink = videoComponent.getElement();
Element textoverlay = ElementFactory.make("textoverlay",
"textoverlay");
subtitle = ElementFactory.make("filesrc", "filesrc");
Element subparse = ElementFactory.make("subparse", "subparse");

File file = new File("Y:\\Movies\\500 Days Of Summer (720p)\
\500.Days.Of.Summer.720p.BluRay.x264-METiS.srt");
///THIS PRINTS 'TRUE'
System.out.println("SRTVideoPlayer.SRTVideoPlayer() file:"+
file.exists());
subtitle.set("location", file.getAbsoluteFile());


//TRY THIS FOR OTHER RUN ,ALSO NOT WORKING
//subtitle.set("location", file.getAbsolutePath());

Bin bin = new Bin("myBin");
bin.add(subtitle);
bin.add(subparse);
bin.add(textoverlay);
Pad pad = textoverlay.getPad("video_sink");
GhostPad ghostpad = new GhostPad("sink", pad);
.....

VideoComponenet still not playing the movie , and i see a black
rectangle instead
the problem is that the movie not plays at all

all so this is my main ,just to verify i did ok
public static void main(String[] args){
String strMovie = "file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Summer.720p.BluRay.x264-METiS.mkv";

strMovie = strMovie.trim();
strMovie = strMovie.replace(" ", "%20");

Gst.init("Swing Player", new String[]{strMovie});

SRTVideoPlayer p = new SRTVideoPlayer(strMovie);

JFrame f = new JFrame();
f.setSize(800 ,600);
f.setLayout(new BorderLayout());
f.add(p ,BorderLayout.CENTER);
f.setVisible(true);
}

On May 23, 5:27 pm, Roberto Faga <robertof...@gmail.com> wrote:
> Hi Shay,
>
> You can create first a Java File to subtitle, check if it exist and
> pass as parameter "getAbsoluteFile()". You're using URI where it
> should be the absolute file path:
>
> String strSubtitle = "file:///Y:/Movies/500 Days Of Summer (720p)/
> 500.Days.Of.Summer.720p.BluRay.x264-METiS.srt";
>
> to
>
> String strSubtitle = "Y:\\Movies\\500 Days Of Summer (720p)\\
> 500.Days.Of.Summer.720p.BluRay.x264-METiS.srt";
>
> (yes, it's different from playbin, which uses URI)
>
> Try this one, I don't have a windows machine to check if this now
> works. If still not, try creating a Java File (from java.io), check if
> it exist and then pass as parameter: "subtitle.set("location",
> srtFile.getAbsoluteFile());"
>
> On Sun, May 23, 2010 at 01:44, Shay Tessler <shay...@gmail.com> wrote:
> > Same result , also for your file :
> > here is "gst-inspect subparse" output
>
> > C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-inspect
> > subparse
> > Factory Details:
> >  Long name:    Subtitle parser
> >  Class:        Codec/Parser/Subtitle
> >  Description:  Parses subtitle (.sub) files into text streams
> >  Author(s):    Gustavo J. A. M. Carneiro <g...@inescporto.pt>
> > GStreamer maintainers <gstreamer-de...@lists.sourceforge.net>
> ...
>
> read more »

Shay Tessler

unread,
May 23, 2010, 3:48:51 PM5/23/10
to gstreamer-java
also remarking the line
//subtitle.set("location", file.getAbsoluteFile());
i dont see the movie playing

Shay Tessler

unread,
May 23, 2010, 3:49:07 PM5/23/10
to gstreamer-java
also remarking the line
//subtitle.set("location", file.getAbsoluteFile());
i dont see the movie playing

On May 23, 8:58 pm, Shay Tessler <shay...@gmail.com> wrote:

Shay Tessler

unread,
May 24, 2010, 9:45:42 AM5/24/10
to gstreamer-java
ok i played it with gstreamer and its working

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe
playbin uri="file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Su
mmer.720p.BluRay.x264-METiS.mkv" suburi="file:///Y:/Movies/500 Days Of
Summer (720p)/500.Days.Of.Summer.720p.BluRay.x264-METiS.srt"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Stream with high frequencies VQ coding
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

that means gstreamer is ok ?

Shay Tessler

unread,
May 24, 2010, 9:46:07 AM5/24/10
to gstreamer-java
ok i played it with gstreamer and its working

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe
playbin uri="file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Su
mmer.720p.BluRay.x264-METiS.mkv" suburi="file:///Y:/Movies/500 Days Of
Summer (720p)/500.Days.Of.Summer.720p.BluRay.x264-METiS.srt"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Stream with high frequencies VQ coding
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

that means gstreamer is ok ?

Shay Tessler

unread,
May 24, 2010, 10:13:50 AM5/24/10
to gstreamer-java
ok i played it with gstreamer and its working

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe
playbin uri="file:///Y:/Movies/500 Days Of Summer (720p)/
500.Days.Of.Su
mmer.720p.BluRay.x264-METiS.mkv" suburi="file:///Y:/Movies/500 Days Of
Summer (720p)/500.Days.Of.Summer.720p.BluRay.x264-METiS.srt"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Stream with high frequencies VQ coding
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

that means gstreamer is ok ?

Roberto Faga

unread,
May 24, 2010, 10:36:59 AM5/24/10
to gstream...@googlegroups.com
Yes, it means there is something wrong on the code. By the way, if you don't want to change the sub position from bottom-centered, you can use the suburi and "subtitle-font-desc" on a playbin. Try this code, I tested successfully there:

http://pastebin.com/wkVyhqbr

I think it's easier, since you don't need to build a bin and can use or not a subtitle file. And as a suggestion to gst-java MediaPlayer class, it can has a setSubtitle() and setSubtitleFontDesc() to optionally pass a subtitle location and desc.

Roberto Faga

unread,
May 24, 2010, 10:38:39 AM5/24/10
to gstream...@googlegroups.com

Shay Tessler

unread,
May 24, 2010, 12:14:56 PM5/24/10
to gstreamer-java
you are the man:-)
its working now

On May 24, 5:38 pm, Roberto Faga <robertof...@gmail.com> wrote:
> Ah, and here there is a list of all playbin2 properties:
>
> http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-base-plu...
>
>
>
> On Mon, May 24, 2010 at 11:36, Roberto Faga <robertof...@gmail.com> wrote:
> > Yes, it means there is something wrong on the code. By the way, if you
> > don't want to change the sub position from bottom-centered, you can use the
> > suburi and "subtitle-font-desc" on a playbin. Try this code, I tested
> > successfully there:
>
> >http://pastebin.com/wkVyhqbr
>
> > I think it's easier, since you don't need to build a bin and can use or not
> > a subtitle file. And as a suggestion to gst-java MediaPlayer class, it can
> > has a setSubtitle() and setSubtitleFontDesc() to optionally pass a subtitle
> > location and desc.
>
> > On Mon, May 24, 2010 at 10:46, Shay Tessler <shay...@gmail.com> wrote:
>
> >> ok i played it with gstreamer and its working
>
> >> C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.6\bin>gst-launch.exe
> >> playbin uri="file:///Y:/Movies/500 Days Of Summer (720p)/
> >> 500.Days.Of.Su
> >> mmer.720p.BluRay.x264-METiS.mkv" suburi="file:///Y:/Movies/500 Days Of
> >> Summer (720p)/500.Days.Of.Summer.720p.BluRay.x264-METiS.srt"
> >> Setting pipeline to PAUSED ...
> >> Pipeline is PREROLLING ...
> >> Stream with high frequencies VQ coding
> >> Pipeline is PREROLLED ...
> >> Setting pipeline to PLAYING ...
> >> New clock: GstAudioSinkClock
>
> >> that means gstreamer is ok ?
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "gstreamer-java" group.
> >> To post to this group, send email to gstream...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> gstreamer-jav...@googlegroups.com<gstreamer-java%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/gstreamer-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
> To post to this group, send email to gstream...@googlegroups.com.
> To unsubscribe from this group, send email to gstreamer-jav...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/gstreamer-java?hl=en.

Shay Tessler

unread,
May 24, 2010, 12:50:54 PM5/24/10
to gstreamer-java
thank you . i also set
playbin.set("subtitle-encoding", "Windows-1255");
to put hebrew subtitles :)

What happend when i want to replace subtitle while playing
or change subtitle offset
can i do that ?

thank you .

Shay Tessler

unread,
May 24, 2010, 12:53:09 PM5/24/10
to gstreamer-java
thank you . i also set
playbin.set("subtitle-encoding", "Windows-1255");
to put hebrew subtitles :)

What happend when i want to replace subtitle while playing
or change subtitle offset
can i do that ?

thank you .

Shay Tessler

unread,
May 24, 2010, 12:53:16 PM5/24/10
to gstreamer-java
thank you . i also set
playbin.set("subtitle-encoding", "Windows-1255");
to put hebrew subtitles :)

What happend when i want to replace subtitle while playing
or change subtitle offset
can i do that ?

thank you .

Shay Tessler

unread,
May 24, 2010, 1:04:30 PM5/24/10
to gstreamer-java
thank you . i also set
playbin.set("subtitle-encoding", "Windows-1255");
to put hebrew subtitles :)

What happend when i want to replace subtitle while playing
or change subtitle offset
can i do that ?

thank you .

Roberto Faga

unread,
May 24, 2010, 1:22:30 PM5/24/10
to gstream...@googlegroups.com
I'm not sure, but I think you need to stop (not pause) and play the pipeline again if you change the sub file. And I think it's easier to change the SRT offset, even if you write on a temp file, as I think it'll be hard to change the offset on subparse element (I didn't found doc about its properties)

Shay Tessler

unread,
May 24, 2010, 1:51:41 PM5/24/10
to gstreamer-java
thank you . i also set
playbin.set("subtitle-encoding", "Windows-1255");
to put hebrew subtitles :)

What happend when i want to replace subtitle while playing
or change subtitle offset
can i do that ?

thank you .

Shay Tessler

unread,
May 24, 2010, 1:53:21 PM5/24/10
to gstreamer-java
or it will be more easy to read and parse the subtitle files my self
and display them using the "textoverlay" ?
> > <gstreamer-java%2Bunsu...@googlegroups.com<gstreamer-java%252Buns...@googlegroups.com>

Shay Tessler

unread,
May 24, 2010, 2:15:35 PM5/24/10
to gstreamer-java
or link and ulink subtitles elments ?

On May 24, 8:53 pm, Shay Tessler <shay...@gmail.com> wrote:
> or it will be more easy to read and parse the subtitle files my self
> and display them using the "textoverlay" ?
>
>
>
> Roberto Faga wrote:
> > I'm not sure, but I think you need to stop (not pause) and play the pipeline
> > again if you change the sub file. And I think it's easier to change the SRT
> > offset, even if you write on a temp file, as I think it'll be hard to change
> > the offset on subparse element (I didn't found doc about its properties)
>
> > For more options, visit this group athttp://groups.google.com/group/gstreamer-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
> To post to this group, send email to gstream...@googlegroups.com.
> To unsubscribe from this group, send email to gstreamer-jav...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/gstreamer-java?hl=en.

Tal Shalif

unread,
May 24, 2010, 5:33:12 PM5/24/10
to gstream...@googlegroups.com

Try getting a video only pipeline working. Use basic examples as your starting point. Make sure your pipeline actually runs with gst-launch - then you can use exactly the same pipeline using Pipeline.launch().

On May 23, 2010 10:49 PM, "Shay Tessler" <sha...@gmail.com> wrote:

also remarking the line
//subtitle.set("location", file.getAbsoluteFile());

i dont see the movie pla...

On May 23, 8:58 pm, Shay Tessler <shay...@gmail.com> wrote:
> ok this is what i do

>     mediaPlayer...

> ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups...

Tal Shalif

unread,
May 24, 2010, 5:44:04 PM5/24/10
to gstream...@googlegroups.com

... previous message got stuck in off-line storage and was delivered one day late...

Shay Tessler

unread,
May 25, 2010, 9:08:21 AM5/25/10
to gstreamer-java
sorry i didnt much understand what you mean .
about the delay .
i was searching throw google ,how to add delay to subtitle using
gstreamer and didnt found
i it possible ?


On May 25, 12:33 am, Tal Shalif <tsha...@gmail.com> wrote:
> Try getting a video only pipeline working. Use basic examples as your
> starting point. Make sure your pipeline actually runs with gst-launch - then
> you can use exactly the same pipeline using Pipeline.launch().
>

Shay Tessler

unread,
May 25, 2010, 1:32:58 PM5/25/10
to gstreamer-java
i was at gstreamer irc channel
they told me that change subtitle delay at playbin2 is not yet
available
and its possible but complicated
i will try to parse subtitles using java , and play with textoverlay
and i will post here when i am done
maybe someone will be interested in my code
Reply all
Reply to author
Forward
0 new messages