AVI to Archos v0.2
![]() |
Description : Convert any avi files to archos 404. Using XviD video codec (320×240), and MP3 audio codec. Very fast. |
| License : | Open Source (GPLv3) |
| Released : | May 8, 2008 |
| Filesize : | 907 bytes |
| Type : | Bash Script |
| OS : | Linux (any) |
| MD5 : | 8ccd911b4a9f4e178777b13454259aa6 |
| Installation : | 1. Open terminal 2. Change directory to where you downloaded the file. 3. Type: chmod +x ./avi2arc.sh (this sets permission) |
| Usage : | — Type: ./avi2arc.sh * (where you have your video files) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #!/bin/bash # avi2archos v0.2 by EMCGFX # Convert avi files to archos 404. # Using XviD video and MP3 audio codecs. # Original Script mpg2avi By Steel_J # Convert mpeg streams into high quality mpeg4 avi with mp3 audio. # requirements: mplayer/mencoder # Version 0.2 -- Added scale command. # Verions 0.1 -- First release. #Begin clear # remove spaces for i in *.[Aa][Vv][Ii]; do mv "$i" `echo $i | tr ' ' '.'`; done > /dev/null 2>&1 & # remove uppercase for i in *.[Aa][Vv][Ii]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done > /dev/null 2>&1 & # convert avi movies into archos avi's with mencoder for i in *.[Aa][Vv][Ii]; do nice -n 10 mencoder -ovc xvid -oac mp3lame \ -vf scale=320:240 -xvidencopts bitrate=500 $i -o ""$i".avi"; echo "Finished"; done exit; |




