Howto | Convert DVR-MS to MPEG
10 Mar 2009Simple bash script to convert all dvr-ms files in a directory
#! /bin/bash
for a in *.dvr-ms; do
if [ -f "$a" ]; then
b="${a%.dvr-ms}"
ffmpeg -i "$a" -vcodec copy -acodec copy "${b}.mpg"
fi
done