Archos 2 Vision - video re-scale with mencoder (mini howto)

Share your how-tos and guides with other users

Moderators: ChriThor, LXF moderators

Archos 2 Vision - video re-scale with mencoder (mini howto)

Postby Woofage » Sat Jan 09, 2010 11:49 pm

The above mp3 (etc) player comes with a piece of windoze s/w to rescale video to 220x176 which is the size of the screen. I ran this in Wine but it didn't work properly. Anyway, it turns out it is just a front end to mencoder.

If you want to use Linux to re-scale video for the above player, save the following string into a text file (say called archos_video) and give it executable permissions:
Code: Select all
mencoder -noodml "$1" -of avi -o "$2" -ofps 18 -vf-add scale=220:176, -vf-add expand=220:176:-1:-1:1,rotate=2,flip -srate 44100 -ovc xvid -xvidencopts bitrate=550:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

Run using:
Code: Select all
./archos_video original_video_filename rescaled_video.avi

I'm just posting this for everyone's info.
Posts: 75
Joined: Wed Jan 16, 2008 1:28 pm
Location: Suffolk, UK

Video encoding Archos Vision 18b

Postby koenr » Thu Jun 02, 2011 4:08 pm

Thanks a lot for this - was expecting something like that. It would have been a small effort from Archos to add that to some documentation.

Anyway, for who is searching this for an Archos Vision 18b, use following code:

Code: Select all
mencoder -noodml "$1" -of avi -o "$2" -ofps 18 -vf-add scale=160:128, -vf-add expand=160:128:-1:-1:1,flip -srate 44100 -ovc xvid -xvidencopts bitrate=550:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=64

(I removed the rotate and altered the scale/expand size)
Posts: 1
Joined: Thu Jun 02, 2011 4:02 pm

Postby nelz » Thu Jun 02, 2011 11:46 pm

Nice one. You can also save the settings into a profile in menconder's config file then call mencoder with that profile name. It's a more useful approach if you have several types of conversion to do and don't want a separate script for each one.

I've moved this to Hints and Tips and this is definitely one of each of those.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
Site admin
Posts: 9048
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

archos 18 vision encoder

Postby captain caca » Thu Oct 27, 2011 12:35 am

Hi all,
Thanks a lot for all that, thanks to you i just wrote a version of the script working with my archos 18 vision ; here it is :

Code: Select all
mencoder -noodml "$1" -of avi -o "$2" -ofps 15 -vf-add scale=160:128, -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0:profile=sp3 -oac lavc -lavcopts acodec=mp2:abitrate=96

i removed the flip, adapted the audio bitrate, and told it to use simple profiles l3 for mpeg4. It's working for me.
captain caca
Posts: 1
Joined: Thu Oct 27, 2011 12:15 am

Return to Hints and tips

Who is online

Users browsing this forum: No registered users and 0 guests