maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Best Video Settings For "MPlayer" (Using Media Player)...? (https://talk.maemo.org/showthread.php?t=8966)

iTab 2007-08-18 05:35

Best Video Settings For "MPlayer" (Using Media Player)...?
 
What are the best settings for video play on the "MPlayer"...?

I am using the Media Converter.

symphone 2007-08-18 09:23

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Resolution you can use "770 MPlayer Optimal (400*240)", and Video Bitrate 384 is enough, or 448 for detail.

gammer 2007-08-18 13:53

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by symphone (Post 69407)
Resolution you can use "770 MPlayer Optimal (400*240)", and Video Bitrate 384 is enough, or 448 for detail.

That's too low a bitrate... Read here: http://maemo.org/community/wiki/VideoEncoding

iTab 2007-08-18 14:05

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
I am using:

770 High Quality (352x208) 3/4 fps
Video Bitrate: 768
Audio Bitrate: 96


It's not that clear and it's pretty "herky-jerky" and not a smooth video playback.

Thanks, what about "Enhance Color" & "Audio Gain"...?

Serge 2007-08-19 02:47

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by iTab (Post 69431)
I am using:
[B]770 High Quality (352x208) 3/4 fps

Try using 400x240 resolution and original fps instead. It should work a lot better.

The resolution you are using now requires software scaling, so you lose both in image quality and decoding speed. Also changing fps is always a bad idea, first you get jerkiness (clearly visible on panning scenes) even if the cpu is fast enough for decoding this video, in addition you have a risk of encountering audio/video sync problems.

As for video bitrate, it should be fine with MPlayer, but you can check 'Report' after video playback to see the statistics and ensure that no frames have been dropped. Video should play nonstop till its finish on its own without you interrupting it, otherwise you will not get detailed statistics. You can use some short video clip for testing. If you get dropped frames, try reducing bitrate until it is fine. Audio bitrate for mp3 does not affect cpu usage in mplayer, choose any value you like taking only sound quality and file size into account.

Good luck.

jlomein 2007-08-20 00:40

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Just FYI, the settings I use for 16:9 widescreen resolution videos in Media Convertor are:

770 MPlayer Optimal 400x240
1024 video bitrate
96 audio bitrate
Optimize for 770 full screen (crops video)
High quality conversion (2-passes)


These settings give me the best quality video, although in fast moving scenes there are a few dropped frames here and there. I've tried smaller video bitrates but it results in pixelation and lower quality. 96kbps for audio bitrate is a little low when using high quality headphones, sometimes I do 128kpbs. Note that for 16:9 widescreen resolution video I use the "Optimize for 770" option which crops the frame, since the 770 has a 15:9 screen ratio. This causes you to lose a little of the picture, but it corrects for stretching/squishing of the frame.

I have yet to be able to properly convert videos with a 4:3 video resolution ratio. Using the "Optimize for 770" option overly crops the frame, turning 4:3 into 15:9 by cutting off huge chunks of the top and bottom. Without enabling that option, I get a 4:3 video that is stretched width wize to 15:9.

iTab 2007-08-20 02:39

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Thanks, I'll try that!

Serge 2007-08-20 06:46

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by jlomein (Post 69730)
1024 video bitrate
...
High quality conversion (2-passes)

I would not recommend using both high bitrate and 2-pass encoding together. The purpose of 2-pass encoding is to estimate and assign more bits for high complexity scenes which need them at the expense of more simple ones. So the bitrate 1024 you mentioned above is an average bitrate value (with local maximums and minimums far away from this value). Two pass encoding provides the best quality per file size and is a good choice assuming the cpu is fast enough to handle any bitrate we throw at it (which is true for desktop but not quite true for internet tablets). So some scenes may get too high bitrate and choke your 770/N800 cpu. By the way, there are some interesting mencoder options (vrc_maxrate and vrc_minrate) which may be used to specify lower and upper bitrate boundaries according to their description. Probably trying these options with two pass encoding may help to avoid framedrops.

But if you don't care about file sizes and want the best quality possible, I suggest to use a high constant bitrate and single pass encoding.

jlomein 2007-08-20 06:53

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by Serge (Post 69793)
I would not recommend using both high bitrate and 2-pass encoding together.

I'm not too knowledgable, but I ran several 30 second test videos with 1024 video bitrate, comparing 2 pass encoding and 1 pass encoding. Each time, 2 pass encoding created a better quality video, and both had about equal dropped frames (not many).

I have watched about three 40 minute TV show episodes using 2 pass encoding and 1024 video bitrate and it looks good to me.:confused: Perhaps my videos don't have enough action scenes to make the frame rate drop?

Serge 2007-08-20 07:02

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by jlomein (Post 69797)
I'm not too knowledgable, but I ran several 30 second test videos with 1024 video bitrate, comparing 2 pass encoding and 1 pass encoding. Each time, 2 pass encoding created a better quality video, and both had about equal dropped frames (not many).

In this case you could increase bitrate for single pass encoding until the quality gets closer or surpasses 1024 kbps 2-pass encoding while still being easier for your cpu to handle it smooth. But that's just the theory, surely more tests are welcome.

iTab 2007-09-09 14:53

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
To be clear, what should the following settings be:

Video Resolution:
Video Bitrate:
Audio Bit Rate:

Optimize for Nokia 770 (crops video):
High Quality Conversion:
Enhance Color:
Audio Gain:

bholzman 2007-09-10 01:03

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
On the 770, weird as it may sound, I have had more problems with mplayer than the built in video player (latest 2006 OS). Here is my experience with DVDs.

DVD Ripping and Video Conversion software (on Mac): Handbrake (free)
Horizontal Resolution: 352
Video Bitrate: 448
Audio Bitrate: 128
Single Pass (though 2 pass worked as well)
FPS: 15

This is based somewhat on what I have seen in the forums and a lot of iterations in getting something to work.

For me, the video quality is perfectly acceptable. This probably could be optimized more, but I got tired doing it myself and settled once the result was satisfactory. Again, these videos would not run on mplayer but they do run on the built in video player.

Also, I should note that the video file size does not appear to change that much regardless of what settings are selected (e.g. FPS or video bitrate).

Serge 2007-09-10 11:36

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Quote:

Originally Posted by bholzman (Post 74442)
Again, these videos would not run on mplayer but they do run on the built in video player.

It must be some problem with video or audio codec. MPlayer works best with mpeg4 video + mp3 audio. Any other codecs (especially audio) are much less optimized, some of them may cause performance problems or even playback failure. If you use mpeg4 + mp3, you can have 400x240 resolution, 30 fps and quite high bitrate (up to 600 kbps should be fine).

iTab 2007-09-10 21:39

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Are these also the best settings for using Media Converter with Canola?

iTab 2007-09-11 02:45

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
I am using the "770 Very High Quality" setting, however, I cannot make a video larger than 640 kbps that will play on the player (via Canola) - any ideas?

aflegg 2007-09-11 07:11

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
There's a limit to the amount of bandwidth the gstreamer codecs can support. The presets have been chosen to produce videos which are known to work. There's more info in the wiki.

HTH,

Andrew

PS. You don't need to ask it in quite so many places.

iTab 2007-09-11 13:05

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
Thanks Andrew. Where can I see this "Wiki" with the best Canola Video settings?

aflegg 2007-09-11 14:04

Re: Best Video Settings For "MPlayer" (Using Media Player)...?
 
JFGI?

http://maemo.org/community/wiki/videoencoding/

Canola uses the same gstreamer framework as the built-in "Media Player", so it won't play anything which that won't.

For that you'll need to use mplayer or UKMP (which is a front-end to mplayer).


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

vBulletin® Version 3.8.8