#!/bin/bash FILE=$1 ## 8100, 240x260 res ## décommenter selon votre format de sortie #RES=240:135 # resolution, 16:9 ratio RES=240:180 # resolution, 4:3 ratio ## 8800, 320x240 res ## décommenter selon votre format de sortie #RES=320:180 # resolution, 16:9 ratio #RES=240:180 # resolution, 4:3 ratio ## generic ABR=64 # audio bitrate VBR=230 # video bitrate mencoder "$FILE" \ -o "${FILE%.*}_bb.avi" \ -of avi \ -ovc lavc \ -oac mp3lame \ -lavcopts vcodec=mpeg4:vbitrate=$VBR:acodec=mp3:abitrate=$ABR \ -vf scale=$RES