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