|
|
2006-08-23
, 16:36
|
|
Posts: 9 |
Thanked: 0 times |
Joined on Aug 2006
|
#111
|
|
|
2006-08-23
, 22:27
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#112
|
I've uploaded a new version of my command line encoder which supports an "mplayer" prefix for 400x240 video.
It plays back much better than the "best" preset for the built-in video player with no noticeable tearing, even at 25fps.
Tested using the command:
No frame drops with this preset :-)Code:mplayer -fs -vo x11 -ao gst -ac dspmp3
|
|
2006-08-24
, 08:42
|
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#113
|
Just tested this encoder, it works fine for 16:9 widescreen movies and produces video with very good quality. But when I tried to convert 640x480 video, it got cropped too much to fit 400x240. Also when I tried adding '-o' option, it was converted to 400x304 which is not very good for mplayer. So the only thing I'm still missing is proper conversion for 4:3 movies. Anyway, good work, it's a very useful tool =b
To be honest, actually I noticed some framedrops on complicated panning scenes with this preset, but it still looks quite acceptable or even good. And we still have potential for quite a noticeable performance improvement by using YUV colorspace directly. Also video decoder from ffmpeg library that is used in mplayer can be probably better optimized for arm
|
|
2006-08-26
, 04:34
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#114
|
What's the best 4:3 ratio for mplayer? Presumably you'd want the height to be maximum, and the width to be minimum. However, the amount of cropping can be reduced (it's the @cropLimit definition at the start of the code).

Does mplayer need the multiple-of-16 size that the built-in video player does?
Would it be better in general if the width declared in the preset was ignored for 4:3 stuff (i.e where it's taller than wider) in the original aspect?
|
|
2006-08-26
, 12:39
|
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#115
|
|
|
2006-08-29
, 12:45
|
|
Posts: 449 |
Thanked: 29 times |
Joined on Jun 2006
|
#116
|
|
|
2006-08-29
, 14:52
|
|
Posts: 264 |
Thanked: 28 times |
Joined on May 2006
|
#117
|
|
|
2006-08-30
, 13:42
|
|
Posts: 449 |
Thanked: 29 times |
Joined on Jun 2006
|
#118
|
I can stream a windows media audio stream of WEEI (Boston sports talk radio) using:
mplayer -fs -vo x11 -ao gst -cache 200 http://wmc2.liquidcompass.cc/WEEI?MSWMExt=.asf
|
|
2006-08-30
, 19:52
|
|
Posts: 220 |
Thanked: 19 times |
Joined on Jun 2006
|
#119
|
|
|
2006-09-02
, 18:13
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#120
|
As for gstreamer framebuffer sink, it is unlikely that I will even try it (though it seems to have YUV support in its caps). Normal framebuffer seems to be a more reliable option to get YUV support, though it will require mplayer to be run as root to use it. Anyway, I still have some other things in my todo list and don't have any plans to try either of these options in the near future. If you feel like trying gstreamer framebuffer sink, you can do some hacking yourself, any useful patches will be welcome