Difference between revisions of "Ffmpeg screen capture x11grab"

From thelinuxwiki
Jump to: navigation, search
(Pushed from thelinuxwiki.com.)
 
Line 1: Line 1:
 
screen capture whole display, where this example resolution 1920x1080 = monitor resolution sarting at the top left corner of screen
 
screen capture whole display, where this example resolution 1920x1080 = monitor resolution sarting at the top left corner of screen
  ffmpeg -f x11grab -r 10 -s 1920x1080 -i :0.0 /var/video/video.mp4
+
  ffmpeg -f x11grab -r 10 -s 1920x1080 -i :0.0 /var/tmp/video.mp4
  
 
screen capture part of display, where example resolution starts at an offset of 1250x525(x,y) which effectively records the the bottom right hand corner of the screen.  
 
screen capture part of display, where example resolution starts at an offset of 1250x525(x,y) which effectively records the the bottom right hand corner of the screen.  
  ffmpeg -f x11grab -r 10 -s 650x480 -i :0.0+1250,525 /var/video/video.mp4
+
  ffmpeg -f x11grab -r 10 -s 650x480 -i :0.0+1250,525 /var/tmp/video.mp4
  
 
[[category:video]]
 
[[category:video]]

Revision as of 03:04, 13 September 2013

screen capture whole display, where this example resolution 1920x1080 = monitor resolution sarting at the top left corner of screen

ffmpeg -f x11grab -r 10 -s 1920x1080 -i :0.0 /var/tmp/video.mp4

screen capture part of display, where example resolution starts at an offset of 1250x525(x,y) which effectively records the the bottom right hand corner of the screen.

ffmpeg -f x11grab -r 10 -s 650x480 -i :0.0+1250,525 /var/tmp/video.mp4