[Bug 771697] New: Develop media player with GStreamer. I have a few troubles.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 20 09:49:38 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=771697

            Bug ID: 771697
           Summary: Develop media player with GStreamer. I have a few
                    troubles.
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bamzunee at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

GStreamer Enquiry

 - Current GStreamer version : 1.6.4, 
 - build platform
   → mac OS X 10.11 el Capitan(universal build by cerebra)
   → window 10 GStreamer homepage 1.6.4 download version

Hi, I am a developer in Korea and I currently develop media player with
GStreamer but I have a few troubles. 

1. For Official App store from Apple release, I made a framework with wrapped
GStreamer. For the release, currently, my framework calls GStreamer through
absolute path (/Library/Frameworks/GStreamer.framework) However, I'd like to
use this relative path down below.
 - MyApp.app
    : MyApp.app
      /Contents
         /Frameworks
            /My.framework
            /GStreamer.framework

2. For Official App store from Apple release, I inputted the code sign in
Terminal and these are the result below. I succeed the code sign and upload was
also successful but with GStreamer framework, there is always code sign error.

 - Terminal input codesign command
    : code sign -f —deep -s '3rd Party Mac Developer Application: My Developer
ID' —entitlements "MyApp.entitlements" "MyApp.app"
 - Output Message
    : unsealed contents present in the root directory of an embedded framework
      In subcomponent:
MyPath/MayApp.app/Contents/Frameworks/GStreamer.framework

3. my framework becomes deadlock when I change subtitle when I swap subtitle
(subtitle URL change) makes my framework deadlock with glimagesink or
osxvideosink on Windows and Mac, However, it works well with d3dvideosink on
Windows. I referred totem-streamer and there are the codes below that I used 

/* Wait for the previous state change to finish */
gst_element_get_state( pPipeline, NULL, NULL, GST_CLOCK_TIME_NONE );
gst_element_query_position( (GstElement*)pPipeline, format, &cur_pos );
/* READY */
gst_element_get_state( pPipeline, &cur_state, NULL, 0 );
if ( cur_state > GST_STATE_READY ){
   gst_element_set_state( pPipeline, GST_STATE_READY );
   /* Block for new state */
   gst_element_get_state( pPipeline, NULL, NULL, GST_CLOCK_TIME_NONE );
}
g_object_set( G_OBJECT(pPipeline), "suburi", szSubTitle, NULL );
/* And back to the original state */
if ( cur_state > GST_STATE_READY ){
   gst_element_set_state( pPipeline, cur_state );
   /* Block for new state */
   gst_element_get_state( pPipeline, NULL, NULL, GST_CLOCK_TIME_NONE );
}
if ( cur_pos > 0 ){
   gst_element_seek( pPipeline, dRate,
                   GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |
GST_SEEK_FLAG_ACCURATE,
                  GST_SEEK_TYPE_SET, cur_pos,
                  GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE );
}

4. When my framework plays a video file, the play screen rendering is always on
the top of any other renderings such as layout, button, label, etc. What I want
to do is the other renderings can be show/hide so that I can make play control,
playlist as totem-Streamer.

5. I am currently using Delphi Berlin Firemonkey and the Delphi only supports
OS X 32bit for build and currently, Streamer doesn't support since v1.5.1 came.
so I built myself GStreamer v1.6.4 as Universal. I am wondering that GStreamer
release higher version with Universal again.

Thanks in advance and Please let me know if you have any question.

Best Regards

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list