![]() |
Limiting factor on N900 high definition video playback?
Samsung I8910 Omnia HD which was released 6 months before the N900 with identical OMAP3430 platform with A8 cpu at 600Mhz can record and playback 720P (1280x720 resolution) videos. It can even play 720P xvid/divx codec avi videos with no frame drops.
So why can't the N900 do this with the same hardware? (Heck, now that N900 can be overclocked to 1Ghz, it's faster than nearly ALL the mobile phones out in the market right now.) It's not a matter of it's too slow or dropping frame rates but it won't even attempt to play the file at all. It's as if there is some form of resolution limit which is imposed on both default media player and mplayer and just exits out when it's too high. So it doesn't even try playing the file. Does anyone know if there is some kind of soft limit? |
Re: Limiting factor on N900 high definition video playback?
Quote:
Quote:
But again, it deliberately restricts what formats you can play, and nothing I've encoded or thrown at it has ever worked. |
Re: Limiting factor on N900 high definition video playback?
Quote:
The default media player is really bad as a main video player. It doesn't play videos smoothly and drops frames badly. Even with normal SD xvid avi files. Mplayer plays them butter smooth but Nokia media player plays them choppy. It's as if it plays the videos at around 15-20fps max. When I try to play a 1280x528 video file with mplayer via CLI, I get the following error VO: [xv] 1280x528 => 1280x528 Planar YV12 [zoom] [xv] Source image dimensions are too high: 1280x528 (maximum is 864x648) FATAL: Cannot initialize video driver. Is there an option in mplayer to output to a lower resolution? (or force sw scaler?) UPDATE: oooh. Got the 720p video to work by using following CLI command: mplayer -vf scale=800:480 filename.avi But as you said, it is VERY slow. Playing at maybe about 5fps at best. (and mine is running at 1Ghz. lol) hmm. Can't we somehow accelerate this or get mplayer to use the dsp? grrr. N900 has the hardware but it's frustrating how we cannot use it. |
Re: Limiting factor on N900 high definition video playback?
Yes you can accelerate it, either by optimising the ARM code used by mplayer (and I understand that there is quite a bit of room for optimisation there) or by passing off some or all of the decoding to the DSP (by writing a DSP task and ARM-side wrapper).
It would be interesting to learn why the built-in media player is apparently slow - it uses GStreamer to wrap the DSP decoding. The question is then whether to write an improved GStreamer + DSP task or to use the DSP without GStreamer (e.g. if that's what's causing the slowdown). |
Re: Limiting factor on N900 high definition video playback?
Well for xvid files atleast, if the file uses nonstandard packed b frames, where the b frames are muxed together with p frames on the container level, tagging them on to the end of the p frame, the codec will see this big p frame, and complete decoding of it, and discard the extra unrelated data (in its opinion) and wait for the next frame to be fed from the demuxer...
The result being all b frames getting dropped, which can be as much as 2/3rds of all frames.. I guess the solution would be to either make the avi demuxer aware of it, and teach it to look inside and parse mpeg4asp frames, reorder them and feed them properly to the codec, or to make the codec aware of them... |
Re: Limiting factor on N900 high definition video playback?
Transcoding with ffmpeg2theora, by using preset "padma", I've got every video working in reasonable speed.
Code:
$ ffmpeg2theora --preset padma anyfile.xxx Well, KMplayer plays them fine though. |
Re: Limiting factor on N900 high definition video playback?
is arm handling video acceleration on default media player?
|
Re: Limiting factor on N900 high definition video playback?
Quote:
@slender: the default media player uses gstreamer, which is DSP accelerated for the more common codecs. |
Re: Limiting factor on N900 high definition video playback?
Quote:
Is the optimisations or utilising the dsp possible with mplayer on N900? Can someone here do such a thing? Quote:
(or is this trancoding from a PC?) My goal is not to transcode files up to 720p and play it directly on the N900. (such as youtube 720p mp4 videos) |
Re: Limiting factor on N900 high definition video playback?
And then there's this guy: http://www.hyperx-i8910.com/
He modded the symbian rom for i8910 and he has some experience since he managed to get video recording with decent sound recording on samsung omnia HD. Maybe it helps. |
All times are GMT. The time now is 16:37. |
vBulletin® Version 3.8.8