Log in

View Full Version : Mencoder - swscale


Bathrone
24th March 2009, 04:26
Gday folks :)

Looking at this mencoder output:


VDec: vo config request - 1920 x 1080 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 5)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0xc7aec0]BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0xc7aec0]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0xc7aec0]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0xc7aec0]using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0xc7aec0]1920x1080 -> 1920x1080

I assume whats happening is that the png images are in rgb24 and I need to convert them to yv12?

Is there anyway to improve the quality of this process? Another filter? Some setting?

Thanks

nm
24th March 2009, 11:07
I assume whats happening is that the png images are in rgb24 and I need to convert them to yv12?
If you are encoding with a codec that only supports YV12 (like x264, MPEG-4 ASP codecs, ...), then yes.

Is there anyway to improve the quality of this process? Another filter? Some setting?
Not really since you aren't resizing.

Bathrone
24th March 2009, 13:56
Thanks again NM your a source of wisdom on these topics. Your right Im not resizing - its a colouremtry change to suit yv12. Just wasnt sure if the colour format change could be made higher quality.