Skip to content

Instantly share code, notes, and snippets.

@fabiofalci
fabiofalci / convert.sh
Last active August 18, 2017 15:25
stabilize and concat videos
#!/bin/bash
echo Generating trf files...
find . -type f -name 'V100*.MOV' -print0 | \
xargs -0 -P 4 -n 1 -I {} \
ffmpeg -hide_banner -loglevel panic -i {} -b:v 12000k -b:a 1536k -vf vidstabdetect=shakiness=5:show=1:result={}.trf -f null -
echo Generating st files...
find . -type f -name 'V100*.MOV' -print0 | \
xargs -0 -P 4 -n 1 -I {} \
@fabiofalci
fabiofalci / pom.xml
Created October 3, 2014 12:23
Spring boot maven jrebel
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>stats</groupId>
<artifactId>stats</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
# usage: ./eclimd -f .test_eclimrc
osgi.instance.area.default=@user.home/workspace.test
nailgun.server.port=9092
# increase heap space
-Xmx256M
# increase perm gen size
-XX:MaxPermSize=256m
-Declimd.port=9092
-Declipse.home=$ECLIPSE_HOME