User Ratings
Rate This Project
Login To Rate This Project
User Reviews
-
Hi everyone. The converter works well, but only admit avi format as input. The .jar file only allow to set certain size/resolution and no batch conversion. To improve this, you can create a copy of amv-conv.sh, amv-batch.sh for example, copy this and paste into the file: #!/bin/bash #script to convert videos files within a directory #script para convertir archivos de vídeo dentro de un directorio # Set video types #Establecer los tipos de vídeo inputformat=avi outputformat=amv #Output Directory #Directorio de Salida outputdir=amv-batch # Remove any spaces from filenames #Retire todos los espacios de nombres de archivo rename s'/ //' *.$inputformat # check if we have an output directory #Comprobar si tenemos un directorio de salida if [ -d $outputdir ] then echo "Directory Exists, ready to convert files" else mkdir $outputdir echo "Created directory $outputdir/" fi # read in the files and start the conversion,change the options according to the output format #leer los archivos y comenzar la conversión,cambiar las opciones de acuerdo con el formato de salida for i in *.avi; do ./ffmpeg-amv -i "$i" -s 20 -aspect 4:3 -ab 128k -ar 22050 -ac 1 "$outputdir"/"${i%.*}.amv"; done and give execution permissions: $ sudo chmod +x amv-batch.sh Once you have done, open a terminal in the path of amvconv0.1 (several file browser allow these, like nautilus, thunar, dolphin) and write this: $ ./amv-batch.sh or whatever you call your file. remember place it inside the amvconv0.1 path I set -s to 160x120, 208x176 , 320x240, the manual of mp3 player indicate last one as the resolution, and aspect to 4:3. The -ac should be set to 1. Apparently the original amv codec only support mono, not stereo, And with mp2 codec the video is not played in my device. If you have 16:9 videos in mp4 or mkv format, you can converted first to avi with the aspect ratio adjustment. I apologize for edit so much the review, but have to try different changes to the script, now it works.