GNOME Bugzilla – Bug 765413
GStreamer: android player: fill screen with video without black borders
Last modified: 2016-04-27 02:45:32 UTC
Hello, I am a Android Developer, I got a problem use the Android binary, play the video-data, the video frame-data can not full screen, (top edge & bottom edge) | (left edge & right edge) has black border I hope the video-frame is full the surface, no have black border. can you please add more function to change the show size, if you see the problem, reply to me please. many thinks !
*** Bug 765414 has been marked as a duplicate of this bug. ***
So if I understand you correctly you want to fill the screen so that there are no black borders. This means you are going to distort the image in many cases. Most of our video sinks have a "force-aspect-ratio" property which you can set to FALSE to make it not respect the aspect ratio.
Hello, I get the Binaries for GStreamer on Android is compiled library, it include *.h *.o *.a , no have code source, and no have configure, I get the library form https://gstreamer.freedesktop.org/data/pkg/android/ , and the androd project from https://github.com/sdroege/gst-player , I can't find the configure , if you know how to add "force-aspect-ratio" to FALSE , tell me the way, Many thanks !!!
See https://bugzilla.gnome.org/show_bug.cgi?id=765310 With GstPlayer you can also get the playbin pipeline via gst_player_get_pipeline(), and from there get the sink elements and override anything you want. But ideally there should be simple API for this on GstPlayer
Let's also mark this as a duplicate of the other bug then. *** This bug has been marked as a duplicate of bug 765310 ***
Many Thank ! I fix my issues .