Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
Thanks Nicolas for the pointer. I am trying to use xvfb with xpra for forwarding. However there I am experiencing a bottleneck. The capture is 4k, but the content ran via xpra is only 1/4th of the screen. Xpra client is at FullHD. Discussed over the xpra bugtracker at

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > I am trying to use xvfb with xpra for forwarding. Why do you use xpra for forwarding? Furthermore, IIRC, xpra uses lossy compression, this is a very bad idea. > On 11/12/15, Nicolas George wrote: Remember not to top-post on

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Zenny wrote: > On 11/19/15, Nicolas George wrote: >> Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >>> However, I have never forwarded xserver display with ffmpeg. Any hints >>> appreciated. >> >> There is nothing special: >> >> ffmpeg -f

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> "[NULL @ 0x3d89f60] Requested output format 'opengl' is not a suitable >> output format >> pipe:: Invalid argument" > > Your build of FFmpeg seems to be missing it. You probably need to

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Clément Bœsch wrote: > On Thu, Nov 19, 2015 at 08:07:59PM +0100, Zenny wrote: >> On 11/19/15, Nicolas George wrote: >> > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> >> "[NULL @ 0x3d89f60] Requested output format 'opengl' is not a suitable >> >>

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > "[NULL @ 0x3d89f60] Requested output format 'opengl' is not a suitable > output format > pipe:: Invalid argument" Your build of FFmpeg seems to be missing it. You probably need to rebuild or ask to the person who provided it. Maybe "-f xv" will

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Clément Bœsch
On Thu, Nov 19, 2015 at 08:07:59PM +0100, Zenny wrote: > On 11/19/15, Nicolas George wrote: > > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > >> "[NULL @ 0x3d89f60] Requested output format 'opengl' is not a suitable > >> output format > >> pipe:: Invalid argument" > > > >

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Moritz Barsnick a écrit : >> Would you consider SDL to be an option, if it was supported in the >> build? > > Yes, indeed, forgot this one. Thanks Moritz and Nicolos for additional input about SDL which also

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Moritz Barsnick a écrit : > Would you consider SDL to be an option, if it was supported in the > build? Yes, indeed, forgot this one. And I have no idea why x2x does not work. Except... "into the piped window"... With "-east", the pointer must be moved to the

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> However, I have never forwarded xserver display with ffmpeg. Any hints >> appreciated. > > There is nothing special: > > ffmpeg -f x11grab -i :0 -f opengl - > > The first half grabs the

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Moritz Barsnick
On Thu, Nov 19, 2015 at 19:27:04 +0100, Nicolas George wrote: > Maybe "-f xv" will work for you, but it is significantly inferior to > opengl. Would you consider SDL to be an option, if it was supported in the build? Moritz ___ ffmpeg-user mailing

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > Did exactly as you described, but there is no mouse or keyboard > interaction with the ffmpeg-piped window. Tried with -south option and > brought the mouse to the bottom of the screen, no luck. > > If anyone has glued x2x with the ffmpeg-piped

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> I am trying to use xvfb with xpra for forwarding. > > Why do you use xpra for forwarding? Furthermore, IIRC, xpra uses lossy > compression, this is a very bad idea. Appreciate if you kindly

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > Appreciate if you kindly point out options besides xpra to achieve > what I am trying to achieve. Nothing: Xvfb is a X11 server, you do not need to forward it, just capture from it. Regards, -- Nicolas George signature.asc Description:

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Jimmy Asher
have you looked at the Spice ? http://www.linux-kvm.org/page/SPICE what i get from my quick google read on this was that QXL vGPU driver found in Spice offers higher fidelity than other traditional virtual video drivers other reoccurring theme was something about that the virtual driver res

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > You are right if there is no interaction. But if I need to display and > interact with an application like libreoffice and capture it, I need a > real display to interact with, as far as I understand. Then you need to use xpra for the

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> Appreciate if you kindly point out options besides xpra to achieve >> what I am trying to achieve. > > Nothing: Xvfb is a X11 server, you do not need to forward it, just capture > from it.

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Jimmy Asher
have you looked at noVNC ? https://github.com/kanaka/noVNC ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Moritz Barsnick
On Thu, Nov 19, 2015 at 15:14:31 +0100, Zenny wrote: > Xpra works fine, but the bottleneck is that xpra downgrade the > resolution of virtual X server also to match that of the client, which > I do not want. See detailed discussion 'the xpra way' and her > bottlneck at

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Jimmy Asher wrote: > have you looked at noVNC ? > > https://github.com/kanaka/noVNC Thank you so much for this pointer. I had a look at that, but xpra too has similar feature built-in ( https://www.xpra.org/trac/wiki/Clients/HTML5). The bottleneck is that

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : >> You are right if there is no interaction. But if I need to display and >> interact with an application like libreoffice and capture it, I need a >> real display to interact with, as far as I

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Zenny
On 11/19/15, Nicolas George wrote: > Le nonidi 29 brumaire, an CCXXIV, Nicolas George a écrit : >> Then you need to use xpra for the interaction, but the capture should >> still >> go through the original Xvfb server. > > Sorry, forgot to add: > > Or, even better: use ffmpeg to

Re: [FFmpeg-user] ffmpeg screencapture from a virtual xserver larger than the physical screen

2015-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIV, Zenny a écrit : > However, I have never forwarded xserver display with ffmpeg. Any hints > appreciated. There is nothing special: ffmpeg -f x11grab -i :0 -f opengl - The first half grabs the display, the second half displays the resulting video stream in a