| View previous topic :: View next topic |
| Author |
Message |
Woofage
Joined: Wed Jan 16, 2008 1:28 pm Posts: 75 Location: Suffolk, UK
|
Posted: Sat Jan 09, 2010 11:49 pm Post subject: Archos 2 Vision - video re-scale with mencoder (mini howto) |
|
|
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: | | 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: | | ./archos_video original_video_filename rescaled_video.avi |
I'm just posting this for everyone's info. |
|
| Back to top |
|
 |
koenr
Joined: Thu Jun 02, 2011 5:02 pm Posts: 1
|
Posted: Thu Jun 02, 2011 5:08 pm Post subject: Video encoding Archos Vision 18b |
|
|
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: | | 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) |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Fri Jun 03, 2011 12:46 am Post subject: |
|
|
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. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
captain caca
Joined: Thu Oct 27, 2011 1:15 am Posts: 1
|
Posted: Thu Oct 27, 2011 1:35 am Post subject: archos 18 vision encoder |
|
|
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: |
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. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|