Codebase list magicrescue / debian/latest recipes / avi
debian/latest

Tree @debian/latest (Download .tar.gz)

avi @debian/latestraw · history · blame

1
2
3
4
5
6
7
8
9
# Extracts avi files.
# Depends on MPlayer's mencoder: http://www.mplayerhq.hu/
0 string RIFF
8 string AVI\x20
# mencoder will keep reading after the avi ends, so we use tools/safecat to
# stop it when it's not outputting useful things anymore.
extension avi
command safecat -d 30M -u 2M -t 200M "$1"|mencoder -nocache -o "$1" -ovc copy -oac copy -
min_output_file 102400