Codebase list magicrescue / lintian-fixes/main recipes / avi
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

avi @lintian-fixes/mainraw · 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