#!/bin/bash

SRC_FILE="$1"
DST_FILE="$1.ogv"


gst-launch-0.10 filesrc location=$SRC_FILE ! decodebin name=decode decode. \
! queue ! ffmpegcolorspace ! faceblur ! ffmpegcolorspace \
! theoraenc ! oggmux name=mux  decode. ! queue ! audioconvert ! vorbisenc \
! mux.  mux. ! filesink location=$DST_FILE
