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

2015-11-22 Thread Nicolas George
Le decadi 30 brumaire, an CCXXIV, Zenny a écrit : > It worked, but compared to xpra, > 1. the output is interaction lagged and, > 2. piped output only covers only 1/4th of the screen until in Slideshow mode. For the second issue, you need to scale the video before displaying it, otherwise you wil

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

2015-11-20 Thread Zenny
On 11/20/15, Zenny wrote: > On 11/19/15, Nicolas George wrote: >> 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

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

2015-11-20 Thread Zenny
On 11/19/15, Nicolas George wrote: > 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 an

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 d

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 works fine. > > A

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 rig

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 list

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 >> >> output format >> >> pipe:: Inv

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" > > > > Your build of FFmpe

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 rebuild > or > ask to

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 x11grab -i :0 -f opengl - >> >> The first

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 w

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 display, the second ha

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 windo

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 also forward the di

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 understand. > > T

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, 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 also forward the display of the Xvfb server to the current server (w

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 interaction

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 can

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 http://xpra.org/trac/ticket/1

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 I want to capture in 4K fro

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 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. You are right if t

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: Dig

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 point out options

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 this list; if you d

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 http://xpra.org/trac/ticket/

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

2015-11-12 Thread Nicolas George
Le duodi 22 brumaire, an CCXXIV, Zenny a écrit : > 1. create a virtual xserver of 4k resolution without any physical > display, and pipe to the physical screen (downsizing to FullHD ). http://www.x.org/archive/X11R7.6/doc/man/man1/Xvfb.1.xhtml Regards, -- Nicolas George signature.asc Descri

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

2015-11-12 Thread Zenny
Hi, I have a situation. I do not have a 4K screen, but I need to screencapture at 4K using ffmpeg to test something. I tried with: $ ffmpeg -report -y -f x11grab -r 25 -s 3840x2160 -i :0 -pix_fmt yuv420p -vcodec libx264 -ar 48000 -qscale 1 -r 24 4k_screecapture.mp4 but got an very obvious error