[FFmpeg-user] Supported pix_fmts for decoders using -h decoder

Paul B Mahol onemda at gmail.com
Sun Apr 15 14:01:47 EEST 2018


On 4/15/18, Kieran O Leary <kieran.o.leary at gmail.com> wrote:
> Hi,
>
> I was wondering if there was a reason why supported pix_fmts are
> rarely seen when calling `ffmpeg -h decoder=$codec`. I did a quick
> audit and it looks like pix_fmts are declared in the help section of
> some decoders (see below), but for the most part it is left out.
> One benefit that I could see would be that it would allow scripts to
> check if an installed version of ffmpeg can decode a pixel format that
> might have been added recently, rather than just catching the errors.
>
> Would this be of any benefit, and would patches be welcome?
>
>
> Decoder flashsv [Flash Screen Video v1]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: bgr24
> Decoder flashsv2 [Flash Screen Video v2]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: bgr24
> --
> Decoder flv [FLV / Sorenson Spark / Sorenson H.263 (Flash Video)]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> --
> Decoder h263 [H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2]:
>     General capabilities: horizband dr1 trunc delay
>     Threading capabilities: none
>     Supported pixel formats: vaapi_vld vdpau yuv420p
> Decoder h263i [Intel H.263]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder h263p [H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2]:
>     General capabilities: horizband dr1 trunc delay
>     Threading capabilities: none
>     Supported pixel formats: vaapi_vld vdpau yuv420p
> --
> Decoder mpeg4 [MPEG-4 part 2]:
>     General capabilities: horizband dr1 trunc delay threads
>     Threading capabilities: frame
>     Supported pixel formats: vaapi_vld vdpau yuv420p
> --
> Decoder msmpeg4v1 [MPEG-4 part 2 Microsoft variant version 1]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder msmpeg4v2 [MPEG-4 part 2 Microsoft variant version 2]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder msmpeg4 [MPEG-4 part 2 Microsoft variant version 3]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> --
> Decoder rv10 [RealVideo 1.0]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder rv20 [RealVideo 2.0]:
>     General capabilities: dr1 delay
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder rv30 [RealVideo 3.0]:
>     General capabilities: dr1 delay threads
>     Threading capabilities: frame
>     Supported pixel formats: yuv420p
> Decoder rv40 [RealVideo 4.0]:
>     General capabilities: dr1 delay threads
>     Threading capabilities: frame
>     Supported pixel formats: yuv420p
> --
> Decoder svq1 [Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv410p
> Decoder svq3 [Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3]:
>     General capabilities: horizband dr1 delay
>     Threading capabilities: none
>     Supported pixel formats: yuvj420p
> --
> Decoder vc1 [SMPTE VC-1]:
>     General capabilities: dr1 delay
>     Threading capabilities: none
>     Supported pixel formats: vaapi_vld vdpau yuv420p
> Decoder vc1image [Windows Media Video 9 Image v2]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> --
> Decoder wmv1 [Windows Media Video 7]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder wmv2 [Windows Media Video 8]:
>     General capabilities: horizband dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> Decoder wmv3 [Windows Media Video 9]:
>     General capabilities: dr1 delay
>     Threading capabilities: none
>     Supported pixel formats: vaapi_vld vdpau yuv420p
> Decoder wmv3image [Windows Media Video 9 Image]:
>     General capabilities: dr1
>     Threading capabilities: none
>     Supported pixel formats: yuv420p
> --
> Decoder xface [X-face image]:
>     General capabilities: none
>     Threading capabilities: none
>     Supported pixel formats: monow
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

If you gonna add it and then maintain it, i'm ok with it.


More information about the ffmpeg-user mailing list