This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -f x11grab -thread_queue_size 64 -video_size 1920x1080 -framerate 30 -i :1 \ | |
-f v4l2 -thread_queue_size 64 -video_size 320x180 -framerate 30 -i /dev/video0 \ | |
-filter_complex 'overlay=main_w-overlay_w:main_h-overlay_h:format=yuv444' \ | |
-vcodec libx264 -preset ultrafast -qp 0 -pix_fmt yuv444p \ | |
video.mkv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import cv2 | |
c = cv2.imread('ketil.jpg') | |
height, width = c.shape[:2] | |
cv2.namedWindow('jpg', cv2.WINDOW_NORMAL) | |
cv2.resizeWindow('jpg', width, height) | |
cv2.imshow('jpg', c) | |
r = cv2.waitKey(0) | |
print "DEBUG: waitKey returned:", chr(r) | |
cv2.destroyAllWindows() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; generated by Slic3r 0.9.11-dev on 2013-07-10 at 20:50:53 | |
; layer_height = 0.35 | |
; perimeters = 2 | |
; top_solid_layers = 2 | |
; bottom_solid_layers = 2 | |
; fill_density = 0.3 | |
; perimeter_speed = 80 | |
; infill_speed = 100 | |
; travel_speed = 300 |