Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hints and tips
View previous topic :: View next topic  
Author Message
Woofage



Joined: Wed Jan 16, 2008 1:28 pm
Posts: 75
Location: Suffolk, UK

PostPosted: Sat Jan 09, 2010 11:49 pm    Post subject: Archos 2 Vision - video re-scale with mencoder (mini howto) Reply with quote

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
View user's profile Send private message
koenr



Joined: Thu Jun 02, 2011 5:02 pm
Posts: 1

PostPosted: Thu Jun 02, 2011 5:08 pm    Post subject: Video encoding Archos Vision 18b Reply with quote

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
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Fri Jun 03, 2011 12:46 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
captain caca



Joined: Thu Oct 27, 2011 1:15 am
Posts: 1

PostPosted: Thu Oct 27, 2011 1:35 am    Post subject: archos 18 vision encoder Reply with quote

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 user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hints and tips All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast