maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MPlayer which version is suitable (https://talk.maemo.org/showthread.php?t=2405)

jay8378 2007-08-14 07:40

Re: MPlayer which version is suitable
 
Sorry if this has been suggested b4. A feature i would like to see for the internet tablet's mplayer is some sort of save point function. say i'm watching a movie somewhere and something happens where i need to shut the player down for a while and use the tablet for something else.
I cant resume where i last stopped the movie. I have to seek throughout the movie where i last stopped.


Great work on the last release btw. It fixed my lag every so often bug on the n800 :D
Edit:Well it fixed it half way.

konttori 2007-08-14 09:20

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 55394)
I have enabled jpeg and png output codecs in SVN, the next mplayer build will have them supported.

And thanks a lot for starting development of an advanced gui frontend, maybe we will be able to get rid of the current placeholder gui eventually.

Great!

I got the latest mplayer and it's working just perfectly for making the thumb images. I did have problems making the seek work to get to e.g. 30 secs from beginning, but that's no biggie.

I also hope that ukmp might grow to be a proper player for videos as well, but it really needs quite a bit more love to be a proper video player front-end.

konttori 2007-08-14 09:35

Re: MPlayer which version is suitable
 
Hey Serge, can you help me out with this one a bit:
WHen I run a 800x480 video from mplayer front-end, I get smooth playback at 15 fps. WHen I do the same from ukmp or command line, it stutters. In ukmp, I just a make a command line call for mplayer <videofile>. SHould I have additional options to get maximal playback speed?

Thanks!

neiljerram 2007-08-17 17:10

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by aflegg (Post 54468)
Use the D-Pad. Left/right are short skips, up/down bigger jumps.

Is there a known reason for seeking not working with some files?

Seeking usually works for me, but for one particular file it doesn't: nothing happens when I press the D-Pad left, right, up and down, and nothing happens when I try to use the Fast Seek menu item either.

File information for a file that _does_ work is:
DIVX
236 kbps
320x208
dspmp3
128 kbps
44100, 2

File information for a file that _doesn't_ work is the same, except for:
238 kbps instead of 236
320x192 instead of 320x208.

Many thanks - Neil

Serge 2007-08-17 17:56

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by mrn (Post 67409)
Hello.
when trying to play movies from youtube, the audio cannot be shifted,
ie synced manually to the video throught the menü of mplayer.

Do you have Nokia 770? This audio/video sync problem usually can be observed when cpu does not have enough resources to decode both video and audio in realtime. N800 is faster and should be much less likely to encounter this problem with youtube.

Quote:

just wanted to ask: isn't that feature implemented, or this does not only work
when playing flv files?
Audio/video shift option does not work currently, thanks for reminding, I will remove it from menu in order not to cause confusion.

Serge 2007-08-17 18:11

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by jay8378 (Post 68343)
Sorry if this has been suggested b4. A feature i would like to see for the internet tablet's mplayer is some sort of save point function. say i'm watching a movie somewhere and something happens where i need to shut the player down for a while and use the tablet for something else.
I cant resume where i last stopped the movie. I have to seek throughout the movie where i last stopped.
I just had a situation that caused me to lose my spot. my battery was about to die and the tablet warned me. In turn the movie started over :( I couldnt skip back cause my movie doesnt have key frames i assume.

Yes, this feature was already suggested: https://garage.maemo.org/tracker/ind...id=54&atid=272
One of the things that holds me back is that I never liked GUI programming (and actually have almost no experience with it). I can add storing last video file name and playback position to some file in /home/user/.mplayer on exit, that would be the first step in implementing 'resume playback' feature.

Quote:

edit: ok i found out the battery low warning wasn't the cause. The movie stops in the same place every time but plays fine on my desktop.
Well, I suppose your desktop is not powered by a 200-300MHz pentium class processor? ;) But it also may be a decoding bug though. Please check what mplayer reports in console when playing this video from ssh session (If you are able to get back to mplayer gui frontend after getting this bug, you can also press 'report' button to see the same information there).

Quote:

Great work on the last release btw. It fixxed my lag every so often bug on the n800 :D
It was not a bug then, MPlayer just got a bit faster. If you find a heavier video, this 'bug' will strike you again ;)

Serge 2007-08-17 18:40

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by konttori (Post 68357)
I got the latest mplayer and it's working just perfectly for making the thumb images. I did have problems making the seek work to get to e.g. 30 secs from beginning, but that's no biggie.

You can try to use '-ss 30' command option for that.

Quote:

I also hope that ukmp might grow to be a proper player for videos as well, but it really needs quite a bit more love to be a proper video player front-end.
Developing video frontends will be easier with the next build of mplayer: https://garage.maemo.org/plugins/scm...y=rev&view=rev
Also looks like the next version of N800 firmware will get faster Xv and we will have less reasons to resort to direct framebuffer access for video output: https://bugs.maemo.org/show_bug.cgi?id=1278

Serge 2007-08-17 18:46

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by konttori (Post 68360)
Hey Serge, can you help me out with this one a bit:
WHen I run a 800x480 video from mplayer front-end, I get smooth playback at 15 fps. WHen I do the same from ukmp or command line, it stutters. In ukmp, I just a make a command line call for mplayer <videofile>. SHould I have additional options to get maximal playback speed?

That's strange. Mplayer frontend just does the same. Maybe something else was eating cpu at the same time?

Serge 2007-08-17 18:52

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by neiljerram (Post 69245)
Is there a known reason for seeking not working with some files?

Seeking usually works for me, but for one particular file it doesn't: nothing happens when I press the D-Pad left, right, up and down, and nothing happens when I try to use the Fast Seek menu item either.

Seeking is not working for the files which are missing index (usually partially downloaded files). It is possible to rebuild index in mplayer using '-idx' option, it takes a while before starting playback, but seeking becomes possible. Unfortunately '-idx' option does not work properly on ARM with the current toolchain: https://garage.maemo.org/tracker/ind...id=54&atid=269
I tried to upgrade gcc compiler to version 4.1.1 and this particular problem disappeared. But the new compiler is not perfect either and causes other problems :(

neiljerram 2007-08-17 19:48

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 69277)
Seeking is not working for the files which are missing index (usually partially downloaded files). It is possible to rebuild index in mplayer using '-idx' option, it takes a while before starting playback, but seeking becomes possible

Thanks Serge, that was the clue that I needed. I recently switched to a different computer for doing encoding, and it looks like seeking doesn't work for all the files that I've encoded since then. So probably there's an mencoder setting that is different on the new computer.

- Neil


All times are GMT. The time now is 20:31.

vBulletin® Version 3.8.8