Command line screen recording with two monitors
Posted: 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:
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:
Here are the debug messages. You can see where I pass the 3840x1080
but VLC ignores that and enters the primary screen resolution 1920x1080:
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):
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
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}
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}
Code: Select all
qt4 debug: Adding option: live-caching=300 --screen-left=0 --screen-top=0 --screen-width=3840 --screen-height=1080
Code: Select all
screen debug: screen width: 1920, height: 1080, depth: 32
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').
Here is the link to the film I created with my parameters: https://dl.dropboxusercontent.com/u/35035040/output.mp4