The time now is Fri 05 Mar 2021, 02:46
All times are UTC - 4 |
Author |
Message |
fabrice_035

Joined: 28 Apr 2014 Posts: 768 Location: Bretagne / France
|
Posted: Sun 04 Nov 2018, 10:44 Post subject:
[vlc] record open windows Subject description: record Window, not region ! |
|
Hey,
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
next record the chosen window, without sound :
Code: |
vlc -I dummy window://0x4d8bd3 --screen-fps=20 --sout=#transcode{vcodec=h264,vb072}:standard{access=file,mux=mp4,dst=capture.mp4}
|
next exemple, with sound (i use pulseaudio)
Code: |
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'
|
Be carefull with video codec, vlc send error code:
Code: |
[0xb19141b0] x264 encoder error: cannot open x264 encoder
[libx264 @ 0xb1937b60] height not divisible by 2 (780x641)
|
You need resize window and find good size.
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.
_________________ Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.1696s ][ Queries: 11 (0.1391s) ][ GZIP on ] |