How to scale to maximum video sink width and height

Pander pander at users.sourceforge.net
Sun Oct 9 14:50:32 UTC 2016


On 10/03/2016 11:45 AM, Sebastian Dröge wrote:
> On Sun, 2016-10-02 at 11:36 +0200, Pander wrote:
>>  
>> Now, these systems do not provide available screen dimension via
>> xrandr or xpdyinfo as X is not used nor is X configured.
>>
>> 1) Can gstreamer query the screen width and height?
>>
>> 2) Can a pipeline like above do that automatically with a scaling
>> with
>> only referring to "maximum available screen size" in the video sink?
>>
>> 3) Are there other non-gstreamer tools to figure out the width and
>> height of a connected screen, without using tools from X?
> 
> Don't use gst-launch-1.0, it is only a debugging/testing tool, and the
> same is true for the window created by the sinks.
> 
> 
> If you need control over the window, embed it into your application
> with the GstVideoOverlay interface or any of the UI toolkit specific
> video sinks. This way you can also do full screen or anything else you
> would like to do with the video.

Can non-testing command line usage of gstreamer do this?

Such as $ avplay /dev/video0

> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 



More information about the gstreamer-devel mailing list