[FFmpeg-devel] [RFC] Lavfi test system

Stefano Sabatini stefano.sabatini-lala
Mon Dec 28 00:58:55 CET 2009


On date Sunday 2009-12-13 03:33:18 +0100, Michael Niedermayer encoded:
> On Sun, Dec 13, 2009 at 01:52:41AM +0100, Stefano Sabatini wrote:
[...]
> > > and then each filter should be individually tested against all
> > > colorspaces.
> > 
> > Not every pixel format will be in general supported, so we may
> > manually add a list of supported formats. Even better would be to add
> > some interface to expose the set of supported inputs (though not sure
> > this is possible, especially considering the scale filter).
> 
> you are searching for query_formats() ?

Well at least now I have a tool for exposing that info.

BTW:
make show-filter-formats; and show-filter-formats scale 100:100
make: `show-filter-formats' is up to date.
input pad default [0]: yuv420p yuyv422 rgb24 bgr24 yuv422p yuv444p yuv410p yuv411p gray monow monob pal8 yuvj420p yuvj422p yuvj444p xvmcmc xvmcidct uyvy422 uyyvyy411 bgr8 bgr4 bgr4_byte rgb8 rgb4 rgb4_byte nv12 nv21 argb rgba abgr bgra gray16be gray16le yuv440p yuvj440p yuva420p vdpau_h264 vdpau_mpeg1 vdpau_mpeg2 vdpau_wmv3 vdpau_vc1 rgb48be rgb48le rgb565be rgb565le rgb555be rgb555le bgr565be bgr565le bgr555be bgr555le vaapi_moco vaapi_idct vaapi_vld yuv420p16le yuv420p16be yuv422p16le yuv422p16be yuv444p16le yuv444p16be vdpau_mpeg4 
output pad default [0]: yuv420p yuyv422 rgb24 bgr24 yuv422p yuv444p yuv410p yuv411p gray monow monob pal8 yuvj420p yuvj422p yuvj444p xvmcmc xvmcidct uyvy422 uyyvyy411 bgr8 bgr4 bgr4_byte rgb8 rgb4 rgb4_byte nv12 nv21 argb rgba abgr bgra gray16be gray16le yuv440p yuvj440p yuva420p vdpau_h264 vdpau_mpeg1 vdpau_mpeg2 vdpau_wmv3 vdpau_vc1 rgb48be rgb48le rgb565be rgb565le rgb555be rgb555le bgr565be bgr565le bgr555be bgr555le vaapi_moco vaapi_idct vaapi_vld yuv420p16le yuv420p16be yuv422p16le yuv422p16be yuv444p16le yuv444p16be vdpau_mpeg4 
 
I believe all the HW accelerated formats should be avoided, right?

Also how to feed a filter with video formats for which we cannot write
in output (I mean pal formats)? I'm asking since for today I run out
of ideas and asking is soo easy...

Regards.
-- 
FFmpeg = Forgiving Friendly Merciless Puristic Eager Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-filter-formats.c
Type: text/x-csrc
Size: 3204 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091228/24e0932f/attachment.c>



More information about the ffmpeg-devel mailing list