Skip to content

Instantly share code, notes, and snippets.

@Craigosaurous
Craigosaurous / hdvideo2ipod.sh
Created July 22, 2010 07:13
Converts h264 DVB-T recordings to an iPod frendily format
#!/bin/bash
#hdvideo2ipod.sh Converts h264 DVB-T recordings from to an iPod friendly format
#get video format info
VideoFormat=`nice -n 15 ffmpeg -i "$1" 2>&1 | grep Stream`
#report details to console
echo "Input Filename: $1"
echo "$VideoFormat"