Does VPU encoder accepts NV12 as input format ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does VPU encoder accepts NV12 as input format ?

482 Views
gautammanam
Contributor I

Hi All,

I am trying to encode raw data to H264 . Does vpu encoder accepts NV12 format as input, so that i can avoid all format conversions ?If it accepts what is the parameter to set

Labels (2)
0 Kudos
1 Reply

322 Views
Yuri
NXP Employee
NXP Employee

   Many details of VPU as third party IP are not provided.

You may use FSL solutions, in particular, one can define what data

formats are used by Gstreamer elements, using gst-inspect command :

For imxv4l2src: v4l2 based camera src

  SRC template: 'src'

    Capabilities:

      ANY

For vpuenc

($ gst-inspect vpuenc )

  SINK template: 'sink'

    Capabilities:

      video/x-raw-yuv

                 format: TNVP

      video/x-raw-yuv

                 format: NV12

      video/x-raw-yuv

                 format: I420

  SRC template: 'src'

    Capabilities:

      video/mpeg

            mpegversion: 4

           systemstream: false

      video/x-h263

      video/x-h264

      image/jpeg


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos