Skip to content

Instantly share code, notes, and snippets.

View AndriusWild's full-sized avatar

AndriusWild

  • CA
View GitHub Profile
@AndriusWild
AndriusWild / conv.sh
Last active April 21, 2020 01:29
Script to compress mp4 files using ffmpeg
#! /bin/bash
# The Purpose of this Script is to batch convert and compress any video file to mp4 format
#
# WARNING: LOSSY COMPRESSION !!!
# Variable used:
# sourcedir is the directory where to be converted videos are. Converted video will be saved in the same folder
# usage:
@AndriusWild
AndriusWild / Chromecast batch conversion script
Created March 3, 2017 20:45 — forked from steventrux/Chromecast batch conversion script
A bash script to batch convert video files for chromecast compatibility
#! /bin/bash
# Batch Convert Script by StevenTrux
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility
# this script only convert necessary tracks if the video is already
# in H.264 format it won't convert it saving your time!
# Put all video files need to be converted in a folder!
# the name of files must not have " " Space!
# Rename the File if contain space