I use version 2.1.6 of vlc and I discovered that it was possible to save a window, so a program in progress. Not a region, real window.
You can move the window and the recording still works
I use this command, first list open window
Code: Select all
wmctrl -l
Code: Select all
vlc -I dummy window://0x4d8bd3 --screen-fps=20 --sout=#transcode{vcodec=h264,vb072}:standard{access=file,mux=mp4,dst=capture.mp4}
Code: Select all
vlc -I dummy window://0x3a00001 --screen-fps=30 --input-slave pulse://alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor --sout='#transcode{vcodec=h264,vb072,acodec=mp3,ab=128}:standard{access=file,mux=mp4,dst=capture.mp4'
Code: Select all
[0xb19141b0] x264 encoder error: cannot open x264 encoder
[libx264 @ 0xb1937b60] height not divisible by 2 (780x641)
The result, i record a Firefox session:
http://gongzone.chez.com/vlc_record_firefox.mp4
And wine session (with "rebirth" program) and sound
http://gongzone.chez.com/rebirth_capture_vlc.mp4
There is a defect, the mouse is never visible.
Did you know about this trick?
Regard.