After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753487 - video-overlay: Lack of get render rectangle in videooverlay interface
video-overlay: Lack of get render rectangle in videooverlay interface
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.4.5
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-11 02:41 UTC by Haihua Hu
Modified: 2018-05-01 07:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Haihua Hu 2015-08-11 02:41:35 UTC
The videooverlay interface support to chenge render rectangle of video display, but there is no API to get the render rectangle data.
Comment 1 Nicolas Dufresne (ndufresne) 2015-08-11 13:16:51 UTC
Is it just being requested for symmetry, or do you have a use case for it ? Would it possibly to provide such a use case ? (justifying the addition of new API).
Comment 2 Haihua Hu 2015-08-12 01:30:53 UTC
(In reply to Nicolas Dufresne (stormer) from comment #1)
> Is it just being requested for symmetry, or do you have a use case for it ?
> Would it possibly to provide such a use case ? (justifying the addition of
> new API).

I am now working on a project to create a simple API to help user write application based on "playbin". Since there are many kinds of video sink need to support, I use videooverlay interface to simply realize video display resize. I have to check if the resize is already successfully and want to get the display area data from Gstreamer back, but I don't find the API. I think it is necessary to add this kind API in videooverlay interface.
Comment 3 Tim-Philipp Müller 2015-08-12 07:22:10 UTC
Not sure this API would really do what you want.

Also, note that there's also another effort for a simple API for playbin here:

https://github.com/sdroege/gst-player/
Comment 4 Haihua Hu 2015-08-12 07:34:12 UTC
(In reply to Tim-Philipp Müller from comment #3)
> Not sure this API would really do what you want.
> 
> Also, note that there's also another effort for a simple API for playbin
> here:
> 
> https://github.com/sdroege/gst-player/

I just want to get the rectangle data back from gstreamer. My solution now is to read the display area property of video sink, but the property name is not same between all kinds of video sink. Now there is a common way to set render rectangle in videooverlay interface, but I think there should also be a common way to get the render rectangle.
Comment 5 Haihua Hu 2015-08-27 09:00:09 UTC
(In reply to Tim-Philipp Müller from comment #3)
> Not sure this API would really do what you want.
> 
> Also, note that there's also another effort for a simple API for playbin
> here:
> 
> https://github.com/sdroege/gst-player/

Is there any update for my issue? I think this is necessary to add this API. If not, could you please give me the reason.
Comment 6 Edward Hervey 2018-05-01 07:08:15 UTC
This is a support question. There are ways to do it differently with current stable GStreamer. Please ask your question on the mailing list.