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
ffmpegCmd << "ffmpeg -r 60 -f rawvideo -pix_fmt rgba " | |
<< "-s " << FrameWidth << "x" << FrameHeight << " " | |
<< "-i - -preset fast -y -pix_fmt yuv420p -crf 21 " << CaptureVideoPath; | |
ffmpegPipe = _popen(ffmpegCmd, "wb"); | |
while(rendering) | |
{ | |
fwrite(framePixels, frameSizeInBytes, 1, ffmpegPipe); | |
} |
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
Vex is a minimalistic markup language with the motto "form without meaning". | |
This is going to @italic=really hurt. | |
// @author: Per Vognsen | |
// @version: 1.3 | |
The weather forecast for @date is @weather. | |
@list{ |
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
import sublime | |
import sublime_plugin | |
import re | |
from subprocess import Popen, PIPE | |
class ExampleCommand(sublime_plugin.EventListener): | |
TIMEOUT_MS = 200 | |
def __init__(self): |