===============================================
#!/bin/sh
if [ ! "$2" ]; then
echo "Use: kdvd filenameinput filenameoutput"
exit
fi
ffmpeg -i "$1" \
-f vob \
-vcodec mpeg2video \
-bf 2 \
-ab 224 \
-mbd 2 \
-g 15 \
-aspect 16:9 \
-b 3300
-maxrate 5000 \
-minrate 300 \
-bufsize 1835 \
-strict 1 \
-qcomp 0.5 \
-intra_matrix "8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,
37,12,14,18,27,29,34,37,38,22,26,27,31,36,
37,38,40,26,27,31,36,37,38,40,48,27,29,34,
37,38,40,48,58,29,34,37,38,40,48,58,69,34,
37,38,40,48,58,69,79" \
-inter_matrix "16,18,20,22,24,26,28,30,18,20,22,24,26,28,
30,32,20,22,24,26,28,30,32,34,22,24,26,30,
32,32,34,36,24,26,28,32,34,34,36,38,26,28,
30,32,34,36,38,40,28,30,32,34,36,38,42,42,
30,32,34,36,38,40,42,44" \
-s 720x576 \
"$2"
==============================================
copy + paste and save as kdvd.sh.
fixed: "added -b 3300"
|