To make an MOV an MPEG, plz to use the following command:
ffmpeg -i in.mov -f mpeg1video -vf "crop=iw-mod(iw\,2):ih-mod(ih\,2)" -vb 5000k out.mpg
function bar(x: string, y: number): string { | |
return x.length * y; | |
} | |
type PermissionOverwrite = { | |
id: string; | |
type: 'role' | 'member', | |
allow: number; | |
deny: number; | |
} |
var num = 1; | |
var num2 = num; | |
num++; | |
console.log(num); // 2 | |
console.log(num2); // 1 | |
var obj = { | |
val: 'A string' | |
}; |
(function(){ | |
var obj = { | |
name: 'No Name' | |
}; | |
window.setName = function(name){ | |
obj.name = name; | |
}; |
{ | |
guiEnabled: true, | |
draw: function(){ | |
this.parent(); | |
if (this.guiEnabled) { | |
this.drawGUI(); | |
} | |
}, |
var Settings = Class.$extend({ | |
chart: { | |
type: 'spline' | |
}, | |
title: { | |
text: null | |
}, | |
xAxis: { | |
title: { | |
text: "Time (sec)", |
var template = [ | |
'<div>', | |
'<h1>{title}</h1>', | |
'<p>{content}</p>', | |
'</div>' | |
].join(''); |
" TESTING: Toggle whitespace save | |
function! ToggleWhitespaceSave() | |
if exists('b:pw') && b:pw == 1 | |
unlet b:pw | |
echo 'Stripping whitespace on save' | |
else | |
let b:pw = 1 | |
echo 'Preserving whitespace on save' | |
endif | |
endfunction |
function! SynStack() | |
echo join(map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")'), " > ") | |
endfunc | |
nnoremap <F7> :call SynStack()<CR> |
" My First .vimrc | |
" Run this command in Terminal to setup Vundle and appropriate directories: | |
" mkdir ~/.vim ~/.vim/bundle; git clone https://github.com/gmarik/vundle.git .vim/bundle/vundle | |
" Always set nocompatible, seriously | |
set nocompatible | |
" Required for Vundle | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() |