4 echo "Usage: $0 input title [transcode options]" >&2
12 echo "INAM $title" | iconv -f koi8-r -t utf-8 >avi_comments.txt
13 echo "ICMT Codec: FFmpeg (DivX5)" >>avi_comments.txt
15 tc_encode "$input" --avi_comments=avi_comments.txt "$@" &&
16 mv output.avi "$title".avi &&
17 exec rm avi_comments.txt divx4.log