[FFmpeg-user] Pixel Format 10-bit YUV (v210) and 10-bit RGB (r210)

i.yaropolov at rian.ru i.yaropolov at rian.ru
Tue Feb 12 10:31:56 CET 2013


Hello

Is it possible to add additional  Pixel Format 10-bit YUV (v210) and 10-bit RGB (r210) to ffmpeg?

A problem description is below:

I am trying to capture Decklink Card.
ffmpeg -list_options true -f dshow -i video="Decklink Video Capture"
DirectShow video device options
Pin "Capture"
pixel_format=uyvy422 min s=720x486 fps=29.97 max s=720x486 fps=29.97
pixel_format=uyvy422 min s=720x576 fps=25 max s=720x576 fps=25
unknown compression type 0x43594448 min s=1920x1080 fps=25 max s=1920x1080 fps=25
unknown compression type 0x43594448 min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97
unknown compression type 0x43594448 min s=1280x720 fps=50 max s=1280x720 fps=50
unknown compression type 0x43594448 min s=1280x720 fps=59.9402 max s=1280x720 fps=59.9402
unknown compression type 0x30313276 min s=720x486 fps=29.97 max s=720x486 fps=29.97
unknown compression type 0x30313276 min s=720x576 fps=25 max s=720x576 fps=25
unknown compression type 0x30313276 min s=1920x1080 fps=25 max s=1920x1080 fps=25
unknown compression type 0x30313276 min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97
unknown compression type 0x30313276 min s=1280x720 fps=50 max s=1280x720 fps=50
unknown compression type 0x30313276 min s=1280x720 fps=59.9402 max s=1280x720 fps=59.9402

The problem is with unknown compression type - pixel_format!!!!
Can you help with?
Below is answer from BlackMagic support:
Thanks for your inquiry. The DeckLink Video Capture supports pixel formats native to DeckLink capture devices.
The supported pixel formats are 8-bit YUV (UYVY), 10-bit YUV (v210) and 10-bit RGB (r210).

ffmpeg -pix_fmts

Pixel formats:
I.... = Supported Input  format for conversion
.O... = Supported Output format for conversion
..H.. = Hardware accelerated format
...P. = Paletted format
....B = Bitstream format
FLAGS NAME            NB_COMPONENTS BITS_PER_PIX
-----
IO... yuv420p                3            12
IO... yuyv422                3            16
IO... rgb24                  3            24
IO... bgr24                  3            24
IO... yuv422p                3            16
IO... yuv444p                3            24
IO... yuv410p                3             9
IO... yuv411p                3            12
IO... gray                   1             8
IO..B monow                  1             1
IO..B monob                  1             1
I..P. pal8                   1             8
IO... yuvj420p               3            12
IO... yuvj422p               3            16
IO... yuvj444p               3            24
..H.. xvmcmc                 0             0
..H.. xvmcidct               0             0
IO... uyvy422                3            16
..... uyyvyy411              3            12
IO... bgr8                   3             8
.O..B bgr4                   3             4
IO... bgr4_byte              3             4
IO... rgb8                   3             8
.O..B rgb4                   3             4
IO... rgb4_byte              3             4
IO... nv12                   3            12
IO... nv21                   3            12
IO... argb                   4            32
IO... rgba                   4            32
IO... abgr                   4            32
IO... bgra                   4            32
IO... gray16be               1            16
IO... gray16le               1            16
IO... yuv440p                3            16
IO... yuvj440p               3            16
IO... yuva420p               4            20
..H.. vdpau_h264             0             0
..H.. vdpau_mpeg1            0             0
..H.. vdpau_mpeg2            0             0
..H.. vdpau_wmv3             0             0
..H.. vdpau_vc1              0             0
IO... rgb48be                3            48
IO... rgb48le                3            48
IO... rgb565be               3            16
IO... rgb565le               3            16
IO... rgb555be               3            15
IO... rgb555le               3            15
IO... bgr565be               3            16
IO... bgr565le               3            16
IO... bgr555be               3            15
IO... bgr555le               3            15
..H.. vaapi_moco             0             0
..H.. vaapi_idct             0             0
..H.. vaapi_vld              0             0
IO... yuv420p16le            3            24
IO... yuv420p16be            3            24
IO... yuv422p16le            3            32
IO... yuv422p16be            3            32
IO... yuv444p16le            3            48
IO... yuv444p16be            3            48
..H.. vdpau_mpeg4            0             0
..H.. dxva2_vld              0             0
IO... rgb444le               3            12
IO... rgb444be               3            12
IO... bgr444le               3            12
IO... bgr444be               3            12
I.... gray8a                 2            16
IO... bgr48be                3            48
IO... bgr48le                3            48
IO... yuv420p9be             3            13
IO... yuv420p9le             3            13
IO... yuv420p10be            3            15
IO... yuv420p10le            3            15
IO... yuv422p10be            3            20
IO... yuv422p10le            3            20
IO... yuv444p9be             3            27
IO... yuv444p9le             3            27
IO... yuv444p10be            3            30
IO... yuv444p10le            3            30
IO... yuv422p9be             3            18
IO... yuv422p9le             3            18
..H.. vda_vld                0             0
IO... gbrp                   3            24
IO... gbrp9be                3            27
IO... gbrp9le                3            27
IO... gbrp10be               3            30
IO... gbrp10le               3            30
I.... gbrp16be               3            48
I.... gbrp16le               3            48
IO... yuva420p9be            4            22
IO... yuva420p9le            4            22
IO... yuva422p9be            4            27
IO... yuva422p9le            4            27
IO... yuva444p9be            4            36
IO... yuva444p9le            4            36
IO... yuva420p10be           4            25
IO... yuva420p10le           4            25
IO... yuva422p10be           4            30
IO... yuva422p10le           4            30
IO... yuva444p10be           4            40
IO... yuva444p10le           4            40
IO... yuva420p16be           4            40
IO... yuva420p16le           4            40
IO... yuva422p16be           4            48
IO... yuva422p16le           4            48
IO... yuva444p16be           4            64
IO... yuva444p16le           4            64
..H.. vdpau                  0             0
I.... rgba64be               4            64
I.... rgba64le               4            64
..... bgra64be               4            64
..... bgra64le               4            64
IO... 0rgb                   3            24
IO... rgb0                   3            24
IO... 0bgr                   3            24
IO... bgr0                   3            24
IO... yuva444p               4            32
IO... yuva422p               4            24
IO... yuv420p12be            3            18
IO... yuv420p12le            3            18
IO... yuv420p14be            3            21
IO... yuv420p14le            3            21
IO... yuv422p12be            3            24
IO... yuv422p12le            3            24
IO... yuv422p14be            3            28
IO... yuv422p14le            3            28
IO... yuv444p12be            3            36
IO... yuv444p12le            3            36
IO... yuv444p14be            3            42
IO... yuv444p14le            3            42
IO... gbrp12be               3            36
IO... gbrp12le               3            36
IO... gbrp14be               3            42
IO... gbrp14le               3            42

c:\ffmpeg\bin>



Looking forward to hearing from you

Regards,

Ilya Yaropolov




________________________________
Информация в данном сообщении электронной почты и вложениях к нему предназначена исключительно для персонального и конфиденциального использования назначенными получателями. Использование данного сообщения и вложений к нему во внеслужебных целях не допускается. Если вы не являетесь назначенным получателем, вы не можете читать, использовать, копировать, пересылать или иным образом распространять это сообщение и вложения к нему. Пожалуйста, если Вы получили это сообщение по ошибке, перешлите его назад и удалите все копии сообщения и вложений к нему из вашей системы. Спасибо.             This e-mail and any files sent with it are confidential and intended solely for the use of the named addressee. Use of this e-mail or any attachments for non-work-related purposes is strictly prohibited. If you are not the intended recipient of this e-mail, do not read, use, copy, resend or otherwise distribute the e-mail or any files sent with it. If you received this e-mail by mistake, please notify the sender by e-mail and delete all copies of the e-mail and attachments from your system. Thank you.


More information about the ffmpeg-user mailing list