Screen capture in Linux

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Screen capture in Linux

Davide Perini
Hi,
gstreamer devel recently added the fast screen capture using the Windows
Desktop Duplication API.

Is there a similar fast screen capture for Linux?

Thanks
Davide

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Olivier Crête-3
Hi,

If you are using gnome-shell, you can capture using pipewiresrc which should be the best performance you can get on a modern system. Otherwise, if you use old X, you can use ximagesrc.

Olivier

On Fri, 2020-08-07 at 11:50 +0200, Davide Perini wrote:
Hi,
gstreamer devel recently added the fast screen capture using the Windows 
Desktop Duplication API.

Is there a similar fast screen capture for Linux?

Thanks
Davide

_______________________________________________
gstreamer-devel mailing list
[hidden email]

https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Davide Perini
trying both pipewiresrc and ximagesrc but it says that the pipeline is incorrect.

gst-launch-1.0 ximagesrc ! videoscale ! ximagesync

any idea?
I would like to do screen recording and output the recording on a window.

Thanks


Il 07/08/2020 17.52, Olivier Crête ha scritto:
Hi,

If you are using gnome-shell, you can capture using pipewiresrc which should be the best performance you can get on a modern system. Otherwise, if you use old X, you can use ximagesrc.

Olivier

On Fri, 2020-08-07 at 11:50 +0200, Davide Perini wrote:
Hi,
gstreamer devel recently added the fast screen capture using the Windows 
Desktop Duplication API.

        
Is there a similar fast screen capture for Linux?

        
Thanks
Davide

        
_______________________________________________
gstreamer-devel mailing list
[hidden email]

        
          
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

      
-- 
Olivier Crête


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Davide Perini
tried this
gst-launch-1.0 ximagesrc ! videoscale ! autovideosync

but it says that it can't find autovideosync.
I installed it on fedora 32 using the suggested commands here:
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c

Thanks
Davide

Il 18/08/2020 04.29, Davide Perini ha scritto:
trying both pipewiresrc and ximagesrc but it says that the pipeline is incorrect.

gst-launch-1.0 ximagesrc ! videoscale ! ximagesync

any idea?
I would like to do screen recording and output the recording on a window.

Thanks


Il 07/08/2020 17.52, Olivier Crête ha scritto:
Hi,

If you are using gnome-shell, you can capture using pipewiresrc which should be the best performance you can get on a modern system. Otherwise, if you use old X, you can use ximagesrc.

Olivier

On Fri, 2020-08-07 at 11:50 +0200, Davide Perini wrote:
Hi,
gstreamer devel recently added the fast screen capture using the Windows 
Desktop Duplication API.
Is there a similar fast screen capture for Linux?
Thanks
Davide
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier Crête


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Jim Ruxton
Wondering if you meant to use "ximagesink" rather than the "ximagesync"
that you used here?


>> trying both pipewiresrc and ximagesrc but it says that the pipeline
>> is incorrect.
>>
>> gst-launch-1.0 ximagesrc ! videoscale ! ximagesync
Jim
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Davide Perini
Thanks for the answer,
even ximagesinc give me a "wrong pipeline no element ximagesinc"

Davide

Il 18/08/2020 06.34, Jim Ruxton ha scritto:
> Wondering if you meant to use "ximagesink" rather than the
> "ximagesync" that you used here?
>
>
>>> trying both pipewiresrc and ximagesrc but it says that the pipeline
>>> is incorrect.
>>>
>>> gst-launch-1.0 ximagesrc ! videoscale ! ximagesync
> Jim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Ian Davidson
Try "ximagesink" with a  "k"

On 18/08/2020 11:33, Davide Perini wrote:
> Thanks for the answer,
> even ximagesinc give me a "wrong pipeline no element ximagesinc"
>
> Davide
>
> Il 18/08/2020 06.34, Jim Ruxton ha scritto:
>> Wondering if you meant to use "ximagesink" rather than the
>> "ximagesync" that you used here?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

parithi
In reply to this post by Davide Perini
ximagesink



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Screen capture in Linux

Davide Perini
I feel a little bit "dumb" xD
Thanks


Il 18/08/2020 12.46, parithi ha scritto:

> ximagesink
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel