[Cin] FFmpeg supported QSV pixel formats and profiles

Andrew Randrianasulu randrianasulu at gmail.com
Sat Oct 12 14:39:29 CEST 2024


сб, 12 окт. 2024 г., 13:23 Terje J. Hanssen via Cin <
cin at lists.cinelerra-gg.org>:

>
>
> Den 12.10.2024 12:08, skrev Terje J. Hanssen:
>
>  An overview over the system FFmpeg 7.x supported QSV pixel formats and
> profiles:
>
>
> ffmpeg -hide_banner -h encoder=hevc_qsv | egrep 'Supported|profile|main'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 p010le p012le yuyv422 y210le qsv bgra
> x2rgb10le vuyx xv30le
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      main            1            E..V.......
>      main10          2            E..V.......
>      mainsp          3            E..V.......
>      main            0            E..V.......
>
>
> ffmpeg -hide_banner -h encoder=h264_qsv | egrep 'Supported|profile|main'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 qsv
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      main            77           E..V.......
>
>
I think we can concentrate on av1 for now.

does it fail if you add "-profile main" to ffmpeg command line for dv av1
encode?

dv due to it being software codec, so ffmpeg forced to push and convert
frames from system memory, as opposed to hdv (hw) = > av1 on-gpu transcode)




>
> hevc_qsv and h264_qsv encoders also have "high" profile:
>
>
> ffmpeg -hide_banner -h encoder=hevc_qsv | egrep
> 'Supported|profile|main|high'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 p010le p012le yuyv422 y210le qsv bgra
> x2rgb10le vuyx xv30le
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      main            1            E..V.......
>      main10          2            E..V.......
>      mainsp          3            E..V.......
>   -tier              <int>        E..V....... Set the encoding tier (only
> level >= 4 can support high tier) (from 0 to 256) (default high)
>      main            0            E..V.......
>      high            256          E..V.......
>
>
> ffmpeg -hide_banner -h encoder=h264_qsv | egrep
> 'Supported|profile|main|high'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 qsv
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      main            77           E..V.......
>      high            100          E..V.......
>
>
>
>
> ffmpeg -hide_banner -h encoder=av1_qsv | egrep 'Supported|profile|main'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 p010le qsv
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      main            1            E..V.......
>
>
> ffmpeg -hide_banner -h encoder=vp9_qsv | egrep 'Supported|profile|main'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 p010le vuyx qsv xv30le
>   -profile           <int>        E..V....... (from 0 to INT_MAX) (default
> unknown)
>      profile0        1            E..V.......
>      profile1        2            E..V.......
>      profile2        3            E..V.......
>      profile3        4            E..V.......
>
>
> ffmpeg -hide_banner -h encoder=vp9_qsv | egrep 'Supported|main'
>     Supported hardware devices: qsv qsv qsv
>     Supported pixel formats: nv12 p010le vuyx qsv xv30le
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241012/e4e53c58/attachment-0001.htm>


More information about the Cin mailing list