maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Solved] Kmplayer + 720p = problems (https://talk.maemo.org/showthread.php?t=92990)

FlashInTheNight86 2014-04-08 07:08

[Solved] Kmplayer + 720p = problems
 
Playing some videos with Kmplayer as frontend I had no sound, while same videos played well in default Media Player and MediaBox. The problem was due to specific codecs in those movies using cpu for audio decoding instead of dsp while Kmplayer itself is more cpu-demanding than abovementioned frontends. The problem was solved by overclocking the device.

mr_pingu 2014-04-08 08:42

Re: 720p + fullscreen = problems
 
Afaik, mplayer only uses CPU for decoding while the other two uses the DSP + CPU. Which gives them a fair advantage over (K)mplayer

michaaa62 2014-04-08 08:57

Re: 720p + fullscreen = problems
 
Quote:

Originally Posted by FlashInTheNight86 (Post 1420355)
I want to watch fullscreen videos (without stupid annoying black stripes and without zooming - just stretch the vid to screensize) with the 720p libraries. I have problems when playing videos with multiple audio streams. What I tried so far:

1. Built-in media player - works well, but no fullscreen option.
2. Kmplayer - works perfect, but only for movies with one audio stream. When two or more - sound disappears on screen tap or volume change or whatever action I do, and usually not comes back until I do some rewinding back and forth.
3. Mediabox - works well, but no fullscreen option.

Purging and reinstalling KMplayer didn't help. Any solutions?

In Mediabox just tap on the screen while playing the movie to switch to full screen! You could also select the media renderer in mediabox settings to test for best results.
The usual limitations of the N900 are valid, nevertheless.

Estel 2014-04-08 10:50

Re: 720p + fullscreen = problems
 
I think you're a little missinterpreting "fullscreen". OMP and vanilla Media Player all have fullscreen option - with respect for aspect ratio, which is why you have black stripers. OMP also have optiom to zoom, which get rid of black stripes, at the cost of leftmost and rightmost part of video.

What you want is, literally, "streetch to screen" (i know you used this term too, you just seem to use it and "fullscreen" for the same thing), which of course, disortes aspect ratio, horribly.

Why you would want something like that is beyond me, but, of course, I respect your right to find strange things useful. Sadly, I have no idea, except for re-encoding your files to contain only one audio track, for use with kmplayer.

BTW, as you want just to, literally, get rid of bonus audio tracks, you can do it in lossless way (good FOSS video editing tools have this option, if youmre not touching video stream, like in this case).

/Estel

elros34 2014-04-08 14:26

Re: 720p + fullscreen = problems
 
You can try this player. It's in beta stage so there is no keep aspect ratio option.

Estel 2014-04-08 15:01

Re: 720p + fullscreen = problems
 
I'm afraid it would require fixes in kmplayer code. It just wasn't created with multiple audio tracks in mind.

You can try requesting feature enhancement in OMP thread - it already have "zoom", so it could have "stretch", probably (especially, that backend is the same as in your kmplayer case). I think it wasn't implemented as no one, ever, considered it as useful feature ;)

Other than that, there is only re-encoding. Either to get rid of additional audio tracks and leave video stream untouched, or to leave audios as they are, but stretch videos to 800x480 at encoding time.

/Estel

Estel 2014-04-09 02:13

Re: 720p + fullscreen = problems
 
sure it works with mplayer, but AIUI, you want to use it with MAFW (just like OMP and vanilla Media Player).

If you don't care which backend you're using, try smplayer - it's frontend for mplayer that have GUI options for virtually everything that mplayer can handle, so I'm pretty sure it allows stretching to screen and disabling aspect ratio, not to mention handling multi-audio sources correctly. Once, I even played a music files via USB sound card connected to N900 via it (by using ALSA output instead of pulseaudio - try it with MAFW as long as you want, sadly, it won't work, due to undefined bugs in our pulseaudio implementations).

/Estel

Sohil876 2014-04-10 08:19

Re: 720p + fullscreen = problems
 
Quote:

Originally Posted by FlashInTheNight86 (Post 1420649)
To be honest, I have no qt with maemo toolchain installed at the moment, could someone please compile and upload?

That is compiled, extract it then run qmvideoplayer

Sohil876 2014-04-10 10:40

Re: 720p + fullscreen = problems
 
Quote:

Originally Posted by FlashInTheNight86 (Post 1420668)
Tried it, no sound at all and laggy in multiple-stream audios.

Strange works totally fine for me, no lags at all sound is perfectly fine too(single audio videos).

elros34 2014-04-10 10:46

Re: 720p + fullscreen = problems
 
FlashInTheNight86, maybe you should look at gst-launch (e.g. gst-launch-0.10 playbin2 uri=file:///path/to/file)


All times are GMT. The time now is 18:58.

vBulletin® Version 3.8.8