Gst-inspect mfw vpuencoder 1109 2.0.2

Document created by jesseg Employee on Aug 16, 2012Last modified by Jodi Paul on Aug 21, 2013
Version 3Show Document
  • View in full screen mode
MAX resolution 1024 x 768
Factory Details:
     Long name:    Freescale: Hardware (VPU) Encoder
     Class:            Codec/Encoder/Video
     Description:    Encodes raw YUV 4:2:0 data to MPEG4 SP, H.264 BP or
H.263 (Annex J, K (RS=0 and ASO=0) and T) elementary data;Enco des raw YUV 4:2:0, 4:2:2 horizontal, 4:2:2 vertical or 4:0:0 data into MJPEG elementary data;
     Author(s):       Multimedia Team <shmmmw@freescale.com>
     Rank:             primary (256)

Plugin Details:
     Name:                    mfw_vpuencoder
     Description:            Encodes Raw YUV Data to MPEG4 SP, H.264 BP or 
H.263 data. For H.263 P0, the source frame rate must be 3000
0/1001 fps
     Filename:               /usr/lib/gstreamer-0.10/libmfw_gst_vpu_enc.so
     Version:                  2.0.2
     License:                  unknown
     Source module:        gst-fsl-plugin
     Binary package:       Gstreamer Multimedia Plugins (Freescale)
     Origin URL:              http://www.freescale.com

GObject
  +----GstObject
        +----GstElement
              +----MfwGstVPU_Enc

Pad Templates:
   SINK template: 'sink'
      Availability: Always
      Capabilities:
         video/x-raw-yuv
                  format: I420
                  width: [ 48, 8192 ]
                  height: [ 32, 8192 ]
       video/x-raw-yuv
                  format: YV12
                  width: [ 48, 8192 ]
                  height: [ 32, 8192 ]
       video/x-raw-yuv
                  format: NV12
                  width: [ 48, 8192 ]
                  height: [ 32, 8192 ]
       video/x-raw-yuv
                  format: Y42B
                  width: [ 48, 8192 ]
                  height: [ 32, 8192 ]
       video/x-raw-yuv
                  format: Y444
                  width: [ 48, 8192 ]
                  height: [ 32, 8192 ]

   SRC template: 'src'
       Availability: Always
       Capabilities:
           video/mpeg
                            width: [ 48, 1280 ]
                          height: [ 32, 720 ]
                  mpegversion: 4
                systemstream: false
           video/x-h263
                            width: [ 48, 1280 ]
                           height: [ 32, 720 ]
           video/x-h264
                            width: [ 48, 1280 ]
                           height: [ 32, 720 ]
           image/jpeg
                            width: [ 48, 8192 ]
                           height: [ 32, 8192 ]


Element Flags:
   no flags set

Element Implementation:
   Has change_state() function: 0x2b01c98c
   Has custom save_thyself() function: gst_element_save_thyself
   Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
   SRC: 'src'
     Implementation:
     Pad Template: 'src'
   SINK: 'sink'
     Implementation:
       Has chainfunc(): 0x2b01de28
       Has custom eventfunc(): mfw_gst_vpuenc_sink_event
       Has bufferallocfunc(): mfw_gst_vpuenc_buffer_alloc
     Pad Template: 'sink'

Element Properties:
   name                : The name of the object
                         flags: readable, writable
                         String. Default: null Current: "mfwgstvpu_enc0"
   codec-type          : selects the codec type for encoding
                         flags: readable, writable
                         Enum "MfwGstVpuEncCodecs" Default: 2, "std_avc" 
Current: 2, "std_avc"
                            (0): std_mpeg4        - STD_MPEG4
                            (1): std_h263           - STD_H263
                            (2): std_avc             - STD_AVC
                            (7): std_mjpg           - STD_MJPG
   profile             : enable time profile of the vpu encoder plug-in
                         flags: readable, writable
                         Boolean. Default: false Current: false
   width               : width of the frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 48 - 8192 Default: 48
Current: 0
   height              : height of the frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 32 - 8192 Default: 32
Current: 0
   bitrate             : target bitrate (in kbps) at which stream is to 
be encoded - 0 for VBR and others for CBR
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 32767 Default: 0
Current: 32768
   gopsize             : gets the GOP size at which stream is to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 32767 Default: 30
Current: 30
   qp                  : gets the quantization parameter - range is 0-51 
- will be ignored for CBR (bitrate!=0)
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 51 Default: 15
Current: 4294967295
   max-qp              : Maximum quantization parameter for CBR - range 
is 0-51 for H264 and 1-31 for MPEG4 - lower value brings be tter video quality but higher frame sizes
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 51 Default: 51
Current: 4294967295
   min-qp              : Minimum quantization parameter for CBR - range 
is 0-51 for H264 and 1-31 for MPEG4 - lower value brings be tter video quality but higher frame sizes
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 51 Default: 0
Current: 4294967295
   gamma               : gamma value for CBR - tells VPU the speed on 
changing qp - lower will cause better video quality
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 32768 Default: 
24576 Current: 24576
   intrarefresh        : 0 - Intra MB refresh is not used. Otherwise - 
At least N MB's in every P-frame will be encoded as intra MB 's.
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 3600 Default: 0
Current: 0
   h263profile0        : enable encoding of H.263 profile 0 when 
codec-type is set to std_h263
                         flags: readable, writable
                         Boolean. Default: false Current: false
   loopback            : disables parallelization for performance - turn 
off if pipeline with decoder
                         flags: readable, writable
                         Boolean. Default: true Current: true
   intra-qp            : Quantization parameter for I frame. When this 
value is -1, the quantization parameter for I frames is auto matically determined by the VPU. In MPEG4/H.263 mode, the range is 1.C31; in H.264 mode, the range is from 0.C51. This is ignored for STD_MJPG
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 51 Default: 15
Current: 4294967295
   crop-left           : The left crop value of input frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 4294967295
Default: 0 Current: 0
   crop-top            : The top crop value of input frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 4294967295
Default: 0 Current: 0
   crop-right          : The right crop value of input frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 4294967295
Default: 0 Current: 0
   crop-bottom         : The bottom crop value of input frame to be encoded
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 4294967295
Default: 0 Current: 0
   rotation-angle      : Pre-rotation angle - should be 0, 90, 180 or 270
                         flags: readable, writable
                         Unsigned Integer. Range: 0 - 270 Default: 0
Current: 0
   mirror-direction    : mirror direction from source image to encoded image
                         flags: readable, writable
                         Enum "MfwGstVpuEncMirDir" Default: 0, 
"none                " Current: 0, "none                "
                            (0): none                     - MIRDIR_NONE
                            (1): vertical mirroring     - MIRDIR_VER
                            (2): horizontal mirroring - MIRDIR_HOR
                            (3): both directions       - MIRDIR_HOR_VER
   h264-byte-stream    : Generate H.264 byte stream format of NALU. Take 
effect for H.264 stream only.
                         flags: readable, writable
                         Boolean. Default: true Current: true


Attachments

    Outcomes