Skip to content

Instantly share code, notes, and snippets.

View AARomanov1985's full-sized avatar
🏠
Working from home

Aleksandr Romanov AARomanov1985

🏠
Working from home
View GitHub Profile
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-surround'
Plugin 'scrooloose/syntastic'
ffmpeg -i video.avi -b:v 800k -s 256x144 -vcodec mpeg2video -ab 48k -ar 8000 -acodec ac3 final_video.mp4
@AARomanov1985
AARomanov1985 / Xgamma settings
Last active May 6, 2017 19:03
Цветовой баланс для разного времени суток
# День:
xgamma -rgamma 1.0 -bgamma 1.0 -ggamma 1.0
# Вечер:
xgamma -ggamma 0.85 -bgamma 0.75
# Ночь:
xgamma -ggamma 0.75 -bgamma 0.6
mkdir '#1_P_OPEN_CATEGORY_PROJECTNAME'
cd '#1_P_OPEN_CATEGORY_PROJECTNAME'
echo Target: > notes.txt
mkdir '#1_T_OPEN_CATEGORY_TASKNAME'
cd '#1_T_OPEN_CATEGORY_TASKNAME'
echo Target: > notes.txt
@AARomanov1985
AARomanov1985 / vhs.sh
Last active July 9, 2025 09:29
Create VHS Effect with Ffmpeg
# This command performs video and audio processing using FFmpeg.
# Video Processing:
# - Scale the video to a width of 480 pixels, maintaining the aspect ratio.
# - Adjust the color saturation to 0.8 times the original value.
# - Add noise to the video with an intensity of 20, using a temporal and spatial noise pattern.
# Audio Processing:
# - Add a delay to the noise audio to synchronize it with the original audio.
# - Adjust the volume of the noise audio to 0.1 times the original volume.