maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Aspect ratio adjustment for DivX files (N900) (https://talk.maemo.org/showthread.php?t=75727)

tobymansell 2011-08-14 08:39

Aspect ratio adjustment for DivX files (N900)
 
Hi there,

How do i get a divx movie on the phone to fit the whole screen. Im not seeing any settings with the default video player on the N900 to scale the video to fit the whole screen.

It's about the size of a matchbox at the moment.

cheers guys.

funkmunk 2011-08-14 08:55

Re: Aspect ratio adjustment for DivX files (N900)
 
Use a video converter....Use aspect ratio 800X480...

tobymansell 2011-08-14 09:06

Re: Aspect ratio adjustment for DivX files (N900)
 
Is there not a media player for the N900 which has settings to adjust the aspect ratio without the need to re encode every video?

Appreciate your help! :)

Electricgod 2011-08-14 09:22

Re: Aspect ratio adjustment for DivX files (N900)
 
Quote:

Originally Posted by tobymansell (Post 1069591)
Is there not a media player for the N900 which has settings to adjust the aspect ratio without the need to re encode every video?

Appreciate your help! :)

SiB player does!

enable 'stretch video' in setting

anthonie 2011-08-14 10:59

Re: Aspect ratio adjustment for DivX files (N900)
 
Yes, SiB-player, which is the frontend for the mplayer from the command line. If you want more options, or prefer to use command line, type
Code:

mplayer --help
for a list of options (More than you'd probably care for...)

tobymansell 2011-08-14 11:12

Re: Aspect ratio adjustment for DivX files (N900)
 
wicked guys nice 1!!!

tobymansell 2011-08-14 11:16

Re: Aspect ratio adjustment for DivX files (N900)
 
Is there a download link to this?

Cheers.

anthonie 2011-08-14 12:04

Re: Aspect ratio adjustment for DivX files (N900)
 
A download link to what?

Provided you have rootsh installed and use sudo to extecute root commands, type

Code:

sudo apt-get install mplayer
That should install mplayer for you which you then can start from the command line.

Any other program in installable the same way. Alternatively you can use Hildon Application Manager to install these things for you. Be aware though, that HAM is sloooooow.

tobymansell 2011-08-14 12:23

Re: Aspect ratio adjustment for DivX files (N900)
 
hi there ive actually just tried that above command and it now says 'Password:'
Is there a default password for it?
thanks.

anthonie 2011-08-14 13:03

Re: Aspect ratio adjustment for DivX files (N900)
 
No there is not. It's a matter of your sudoers file allowing you or not to work without a password as sudo.

The workaround is to simply change your identity to root first via

Code:

sudo gainroot
and then repeat the commands I gave you, but leave out the sudo part. So:

Code:

apt-get install mplayer
That should do the trick.

If this annoys you for whatever reason and you want to be able to use sudo without the need for a password, you'll have to edit a text file, located over at

Code:

/etc/sudoers/01sudo
In there you'll need to have a line saying

Code:

user ALL = NOPASSWD: /usr/bin/sudo
It requires a reboot to bring the change to effect. And ofcourse, this change will have to be done as root.

tobymansell 2011-08-14 14:29

Re: Aspect ratio adjustment for DivX files (N900)
 
hi thanks for your help!

I got as far as this code 'apt-get install mplayer' then it said:couldnt find package mplayer.
Would you guys be able to provide me with a link to mplayer as i dont have internet on my n900 but only usb cable.?

Thanks guys.

tobymansell 2011-08-14 14:45

Re: Aspect ratio adjustment for DivX files (N900)
 
'user is not in the sudoers file. this incident will be reported' is what i get after typing: apt-get install mplayer

What should i do about this?

tobymansell 2011-08-14 14:47

Re: Aspect ratio adjustment for DivX files (N900)
 
i got to this part: apt-get install mplayer to which it said it could not find the package mplayer.... what should i do about that?

Thanks

Acidspunk 2011-08-14 14:52

Re: Aspect ratio adjustment for DivX files (N900)
 
use the app manager and look for sib under multimedia?

tobymansell 2011-08-14 15:01

Re: Aspect ratio adjustment for DivX files (N900)
 
Hi there!

Im afraid i cant do that as i cant get the net to work on my n900 is there an exact link to access that file and copy it over to my phone via usb?

Thank you.

anthonie 2011-08-14 15:36

Re: Aspect ratio adjustment for DivX files (N900)
 
Downloadable version of mplayer (command line version) here:

http://maemo.org/downloads/product/Maemo5/mplayer/

There are, however, a number of dependencies that need to be fulfilled, which might be a kind of nasty if you've got your n900 not connected to the internet. The package is in extras so if apt-get couldn't find it, it is probably because you don't have the extras repo enabled.

Read on the deps here:
http://maemo.org/packages/package_in...svn20091221-4/

More info on repo's can be found below:
http://wiki.maemo.org/Extras

If you decide to do use the terminal and your n900, make sure that you run a

Code:

apt-get update
as root, before attempting to install it.

anthonie 2011-08-14 15:39

Re: Aspect ratio adjustment for DivX files (N900)
 
Quote:

Originally Posted by tobymansell (Post 1069718)
'user is not in the sudoers file. this incident will be reported' is what i get after typing: apt-get install mplayer

What should i do about this?

Have you used
Code:

sudo gainroot
and gotten that error?

Simply try

Code:

root
on the terminal. On mine that works just as fine. Your prompt should change once you've become root.

tobymansell 2011-08-14 15:58

Re: Aspect ratio adjustment for DivX files (N900)
 
hi there,

thanks for your quick replies.

I have just been onto here: http://maemo.org/packages/package_in...svn20091221-4/

Downloaded the .deb almal file and put it into my data directory on my n900 attempted to run it to which i am getting an error saying:
unable to install Mplayer movie player' (command line only). some application packages required for the installation are missing.

What should i do about that?

In xterminal i have entered 'apt-get update' to which it told me fialed to update all the reps i have added which i htink is down to the fact the phone has no internet on it.

i downloaded the file from here: http://maemo.org/downloads/product/Maemo5/mplayer/ which is mplayer.install and i put this into my data dir from 'my computer' via windows so its now in the main nokia n900 folder on the phone.
However when i go to x terminal and then type apt-get install mplayer it tells me it cannot find the file on E: or something.

any other recommendations?

thanks so much again for your help.

tobymansell 2011-08-14 15:59

Re: Aspect ratio adjustment for DivX files (N900)
 
btw when i do sudo gainroot i do not get an error it actually tells me root shell is enabled.

thanks.

anthonie 2011-08-14 16:49

Re: Aspect ratio adjustment for DivX files (N900)
 
I am afraid, Toby, you're up for the least convenient way of installing a program and it's dependencies.

Go to the package page I linked in my earlier reaction; have a look at the listed dependencies and download every single one of them to the same folder as where you downloaded mplayer. Make sure no other packages (deb files) are in that folder, only the ones needed for mplayer.

Once that is done, browse to that folder from within your terminal, by using

Code:

cd /home/user/MyDocs/<folder_with_programs>
Once there, issue the following command as root

Code:

dpkg -i *.deb
That should take care of the whole installation process.

Happy to hear your root is fixed/working.

tobymansell 2011-08-14 17:08

Re: Aspect ratio adjustment for DivX files (N900)
 
Quote:

have a look at the listed dependencies and download every single one of them to the same folder as where you downloaded mplayer.
Hi thanks for your help again!
I am on the link now and was wondering where the option is to download all of the dependancies?

sorry about this i am the biggest noob when it comes to this phone and its OS.

immi.shk 2011-08-14 17:56

Re: Aspect ratio adjustment for DivX files (N900)
 
you can also install "Kmplayer" it is also having Stretch & Zoom to Fit options..

anthonie 2011-08-15 16:28

Re: Aspect ratio adjustment for DivX files (N900)
 
@Toby

You mean, all of the deps at once? I'm afraid not. That's why it would be useful to install from the phone itself, as apt-get was designed to take care of dependencies, opposed to dpkg.

So, no, you'll have to download them separately.

qwazix 2011-08-15 16:39

Re: Aspect ratio adjustment for DivX files (N900)
 
sorry to barge in but I remember seeing in the wiki that you should never use visudo, it will slowly kill your phone

alninek 2011-08-20 10:14

Re: Aspect ratio adjustment for DivX files (N900)
 
i've had a similar problem;
before pr 1.3 a divx file seems to be perfect ratio; after 1.3 and CSSU the ratio of SAME file has became stretched in height... is this a bug or a problem with default player? ..the same with mediabox

don_falcone 2011-08-20 10:41

Re: Aspect ratio adjustment for DivX files (N900)
 
...he seems to have a complicated time.

"The" way would be:
- enabling extras and extras-testing (and perhaps extras-devel too, usual warnings apply) repositories
- install Faster Application Manager (a.k.a. FAPman) from extras repository
- launch it, let it import the Hildon Application Manager (HAM) settings, do an repository update check
- install mentioned players straight from the reps

ammyt 2011-08-20 10:48

Re: Aspect ratio adjustment for DivX files (N900)
 
Quote:

Originally Posted by don_falcone (Post 1073478)
...he seems to have a complicated time.

"The" way would be:
- enabling extras and extras-testing (and perhaps extras-devel too, usual warnings apply) repositories
- install Faster Application Manager (a.k.a. FAPman) from extras repository
- launch it, let it import the Hildon Application Manager (HAM) settings, do an repository update check
- install mentioned players straight from the reps

...If he had a working internet connection on his N900, which he doesn't.


All times are GMT. The time now is 21:46.

vBulletin® Version 3.8.8