Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 17 Sep 2019, 02:33
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
[vlc] record open windows
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
fabrice_035


Joined: 28 Apr 2014
Posts: 642
Location: Bretagne / France

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

Code:

wmctrl -l


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? Shocked

Regard.

_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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.0318s ][ Queries: 11 (0.0082s) ][ GZIP on ]