Command line screen recording with two monitors

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
rohuezo
Blank Cone
Blank Cone
Posts: 29
Joined: 18 Jul 2013 08:50
VLC version: 2.0.8 Win/2.2.2 Mac
Operating System: Windows / Mac OS X
Location: Fürth, Germany

Command line screen recording with two monitors

Postby rohuezo » 02 Aug 2013 13:39

Hello,

I'm doing screen recording of automated test (middle of the night) using VLC command line. Here is the string I use to record:

Code: Select all

screen:// -I rc --rc-quiet --rc-host=127.0.0.1:81 -Vdummy --novideo --nommx --no3dn --nommxext --nosse :screen-fps=5.000000 :screen-mouse-image=File:///C:/temp/mouse.png --screen-left=0 --screen-top=0 --screen-width=1920 --screen-height=1080 :sout=#transcode{vcodec=h264,vb=384,fps=5,acodec=none}:file{dst=C:\\Temp\\out.mp4}
This command works great for recording the primary screen only. I have two identical monitors using the same resolution side by side which creates a desktop 3840x1080. I would like to record both monitors but I cannot make it happen. I have tried the following command but VLC will not record both monitors or the given dimensions:

Code: Select all

screen:// -I rc --rc-quiet --rc-host=127.0.0.1:81 -Vdummy --novideo --nommx --no3dn --nommxext --nosse :screen-fps=5.000000 :screen-mouse-image=File:///C:/temp/mouse.png --screen-left=0 --screen-top=0 --screen-width=3840 --screen-height=1080 :sout=#transcode{vcodec=h264,vb=384,fps=5,acodec=none}:file{dst=C:\\Temp\\out.mp4}
Here are the debug messages. You can see where I pass the 3840x1080

Code: Select all

qt4 debug: Adding option: live-caching=300 --screen-left=0 --screen-top=0 --screen-width=3840 --screen-height=1080
but VLC ignores that and enters the primary screen resolution 1920x1080:

Code: Select all

screen debug: screen width: 1920, height: 1080, depth: 32
The output video has the correct dimension 3840x1080 but the recorded screen is only 1920x1080.

So basically my question is: How can I record both screens using the VLC command line? Is there a screen-1:// or something similar? I couldn't find anything like that on the help. The only help I found on Screen-Input is here (in German):

Code: Select all

Bildschirm-Input --screen-fps=<Fließkommazahl> Bildwiederholrate Gewünschte Bildwiederholrate für die Aufnahme. --screen-top=<Ganzzahl [-2147483648 .. 2147483647]> Linke obere Ecke des Bildschirmteils Obere Koordinate der linken oberen Ecke des Bildschirmteils. --screen-left=<Ganzzahl [-2147483648 .. 2147483647]> Linke obere Ecke des Bildschirmteils Linke Koordinate der linken oberen Ecke des Bildschirmteils. --screen-width=<Ganzzahl [-2147483648 .. 2147483647]> Breite des Bildschirmteils Breite des Bildschirmteils --screen-height=<Ganzzahl [-2147483648 .. 2147483647]> Höhe des Bildschirmteils Höhe des Bildschirmteils --screen-follow-mouse, --no-screen-follow-mouse Maus verfolgen (standardmäßig aus) Verfolgt die Maus bei der Aufnahme eines Bildschirmteils. (standardmäßig aus) --screen-mouse-image=<Text> Bild für Mauszeiger Wenn angegeben, wird das Bild benutzt um, den Mauszeiger auf die Aufnahme zu zeichnen. --screen-fragment-size=<Ganzzahl [-2147483648 .. 2147483647]> Aufnahmefragmentgröße Aufnahme optimieren, indem der Bildschirm in Stücke mit vorgegebener Höhe unterteilt wird (16 könnte ein guter Wert sein und 0 bedeutet 'deaktiviert').
Which I'm using already most of these parameters.

Here is the link to the film I created with my parameters: https://dl.dropboxusercontent.com/u/35035040/output.mp4
--
Roberto Huezo, M.A.
Computational Linguist
Software Developer

rohuezo
Blank Cone
Blank Cone
Posts: 29
Joined: 18 Jul 2013 08:50
VLC version: 2.0.8 Win/2.2.2 Mac
Operating System: Windows / Mac OS X
Location: Fürth, Germany

Re: Command line screen recording with two monitors

Postby rohuezo » 05 Aug 2013 10:35

I forgot to mention my system is Windows 7 64-Bit and VLC Version 2.0.7...
--
Roberto Huezo, M.A.
Computational Linguist
Software Developer

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Command line screen recording with two monitors

Postby Jean-Baptiste Kempf » 05 Aug 2013 14:47

Sorry, it is probably not implemented.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests