Dmaienc h264 — различия между версиями

Материал из virt2real wiki
Перейти к: навигация, поиск
 
Строка 44: Строка 44:
  
 
Element Implementation:
 
Element Implementation:
   Has change_state() function: 0x76843e50
+
   Has change_state() function: 0x3689f81c
  
 
Element has no clocking capabilities.
 
Element has no clocking capabilities.
Строка 68: Строка 68:
 
     Pad Template: 'sink'
 
     Pad Template: 'sink'
  
<pre>Element Properties:
+
Element Properties:<pre>
 
   name                : The name of the object
 
   name                : The name of the object
 
                         flags: readable, writable
 
                         flags: readable, writable
Строка 76: Строка 76:
 
                         Integer. Range: 0 - 2147483647 Default: 0  
 
                         Integer. Range: 0 - 2147483647 Default: 0  
 
   copyOutput          : Boolean that set if the output buffers should be copied into standard gst buffers
 
   copyOutput          : Boolean that set if the output buffers should be copied into standard gst buffers
 +
                        flags: readable, writable
 +
                        Boolean. Default: false
 +
  fixTimestamp        : Boolean that set if the buffers timestamp should be changed
 +
to follow pipeline framerate. This property ignores input buffer timestamp
 
                         flags: readable, writable
 
                         flags: readable, writable
 
                         Boolean. Default: false
 
                         Boolean. Default: false
Строка 107: Строка 111:
 
                         flags: readable, writable
 
                         flags: readable, writable
 
                         Integer. Range: 0 - 2147483647 Default: 30  
 
                         Integer. Range: 0 - 2147483647 Default: 30  
 +
  forceintra          : Force next frame to be an intracodec frame
 +
                        flags: readable, writable
 +
                        Boolean. Default: false
 
   profile            : H264 Profile to use:
 
   profile            : H264 Profile to use:
 
66  - Base Line
 
66  - Base Line
Строка 132: Строка 139:
 
                         Boolean. Default: true
 
                         Boolean. Default: true
 
   t8x8inter          : Enable 8x8 Transform for P Frame (only for High Profile)
 
   t8x8inter          : Enable 8x8 Transform for P Frame (only for High Profile)
 +
                        flags: readable, writable
 +
                        Boolean. Default: false
 +
  encquality          : Encoder quality:
 +
0 - Version 1.1 backward compatible
 +
1 - High Quality (same as encodingpreset=1)
 +
2 - High Speed (same as encodingpreset=2)
 +
 +
                        flags: readable, writable
 +
                        Integer. Range: 0 - 2 Default: 2
 +
  enabletcm          : When encquality is 0, this flag controls if TCM memory should be used (otherwise is ignored and default to yes)
 
                         flags: readable, writable
 
                         flags: readable, writable
 
                         Boolean. Default: false
 
                         Boolean. Default: false
Строка 146: Строка 163:
 
                         flags: readable, writable
 
                         flags: readable, writable
 
                         Integer. Range: 0 - 255 Default: 0  
 
                         Integer. Range: 0 - 255 Default: 0  
 +
  svcsyntaxen        : Control for SVC syntax and DPB management:
 +
0  - SVC disabled sliding window enabled
 +
1  - SVC enabled sliding window enabled
 +
2  - SVC disabled MMCO enabled
 +
3  - SVC enabled MMCO enabled
 +
 +
                        flags: readable, writable
 +
                        Integer. Range: 0 - 3 Default: 0
 
   seqscaling          : Sequence scaling matrix present:
 
   seqscaling          : Sequence scaling matrix present:
 
0 = Disable
 
0 = Disable
Строка 185: Строка 210:
 
                         Boolean. Default: false
 
                         Boolean. Default: false
 
   headers            : Include on the stream the SPS/PPS headers
 
   headers            : Include on the stream the SPS/PPS headers
 +
                        flags: readable, writable
 +
                        Boolean. Default: false
 +
  single-nalu        : Buffers contains a single NALU
 
                         flags: readable, writable
 
                         flags: readable, writable
 
                         Boolean. Default: false
 
                         Boolean. Default: false

Текущая версия на 09:10, 27 февраля 2016

Factory Details:

 Long name:	DMAI xDM 1.0 H264 Encoder
 Class:	Codec/Encoder/Video
 Description:	DMAI H264 encoder
 Author(s):	Don Darling; Texas Instruments, Inc., Diego Dompe; RidgeRun Engineering 
 Rank:		primary (256)

Plugin Details:

 Name:			TICodecPlugin
 Description:		Plugin for TI xDM-Based Codecs
 Filename:		/usr/lib/gstreamer-0.10/libgstticodecplugin.so
 Version:		0.10.0.1
 License:		LGPL
 Source module:	gstticodecplugin
 Binary package:	TI / RidgeRun
 Origin URL:		http://www.ti.com/, http://www.ridgerun.com

GObject

+----GstObject
      +----GstElement
            +----dmaienc_h264

Pad Templates:

 SRC template: 'src'
   Availability: Always
   Capabilities:
     video/x-h264
             framerate: [ 0/1, 2147483647/1 ]
                 width: [ 1, 2147483647 ]
                height: [ 1, 2147483647 ]
 SINK template: 'sink'
   Availability: Always
   Capabilities:
     video/x-raw-yuv
                format: NV12
             framerate: [ 0/1, 2147483647/1 ]
                 width: [ 256, 4096 ]
                height: [ 256, 4096 ]


Element Flags:

 no flags set

Element Implementation:

 Has change_state() function: 0x3689f81c

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

Pads:

 SRC: 'src'
   Implementation:
     Has custom eventfunc(): gst_pad_event_default
     Has custom queryfunc(): gst_pad_query_default
     Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
     Has acceptcapsfunc(): gst_pad_acceptcaps_default
   Pad Template: 'src'
 SINK: 'sink'
   Implementation:
     Has chainfunc(): gst_tidmaienc_chain
     Has custom eventfunc(): gst_tidmaienc_sink_event
     Has custom queryfunc(): gst_pad_query_default
     Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
     Has setcapsfunc(): gst_tidmaienc_set_sink_caps
     Has acceptcapsfunc(): gst_pad_acceptcaps_default
   Pad Template: 'sink'
Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "dmaienc_h2640"
  outputBufferSize    : Size of the output buffer
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  copyOutput          : Boolean that set if the output buffers should be copied into standard gst buffers
                        flags: readable, writable
                        Boolean. Default: false
  fixTimestamp        : Boolean that set if the buffers timestamp should be changed 
			to follow pipeline framerate. This property ignores input buffer timestamp
                        flags: readable, writable
                        Boolean. Default: false
  ratecontrol         : Rate Control Algorithm to use:
			 1 - Constant Bit Rate (CBR), for video conferencing
			 2 - Variable Bit Rate (VBR), for storage
			 3 - Two pass rate control for non real time applications
			 4 - No Rate Control is used
			 5 - User defined on extended parameters
                        flags: readable, writable
                        Integer. Range: 1 - 5 Default: 2 
  encodingpreset      : Encoding Preset Algorithm to use:
			 0 - Default (check codec documentation)
			 1 - High Quality
			 2 - High Speed
			 3 - User defined on extended parameters
                        flags: readable, writable
                        Integer. Range: 0 - 3 Default: 3 
  maxbitrate          : Maximum bit-rate to be supported in bits per second
                        flags: readable, writable
                        Integer. Range: 1000 - 20000000 Default: 50000000 
  targetbitrate       : Target bit-rate in bits per second, should be <= than the maxbitrate
                        flags: readable, writable
                        Integer. Range: 1000 - 20000000 Default: 10000000 
  intraframeinterval  : Interval between two consecutive intra frames:
			 0 - Only first I frame followed by all P frames
			 1 - No inter frames (all intra frames)
			 2 - Consecutive IP sequence (if no B frames)
			 N - (n-1) P sequences between I frames

                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 30 
  forceintra          : Force next frame to be an intracodec frame
                        flags: readable, writable
                        Boolean. Default: false
  profile             : H264 Profile to use:
			 66  - Base Line
			 77  - Main Line
			 100 - High Line (Default)

                        flags: readable, writable
                        Integer. Range: 0 - 100 Default: 100 
  level               : H264 Level to use:
			  9 - For 1.b
			 10 - For 1.0
			 .. Any valid level between
			 51 - For 5.1

                        flags: readable, writable
                        Integer. Range: 9 - 51 Default: 40 
  entropy             : Entropy mode:
			 0 - CAVLC
			 1 - CABAC

                        flags: readable, writable
                        Integer. Range: 0 - 1 Default: 1 
  t8x8intra           : Enable 8x8 Transform for I Frame (only for High Profile)
                        flags: readable, writable
                        Boolean. Default: true
  t8x8inter           : Enable 8x8 Transform for P Frame (only for High Profile)
                        flags: readable, writable
                        Boolean. Default: false
  encquality          : Encoder quality:
			 0 - Version 1.1 backward compatible
			 1 - High Quality (same as encodingpreset=1)
			 2 - High Speed (same as encodingpreset=2)

                        flags: readable, writable
                        Integer. Range: 0 - 2 Default: 2 
  enabletcm           : When encquality is 0, this flag controls if TCM memory should be used (otherwise is ignored and default to yes)
                        flags: readable, writable
                        Boolean. Default: false
  ddrbuf              : Use DDR buffers instead of IMCOP buffers
                        flags: readable, writable
                        Boolean. Default: false
  ntemplayers         : Number of temporal Layers for SVC:
			 0   - one layer
			 1   - two layers (F, F/2)
			 2   - three layers (F, F/2, F/4)
			 3   - four layers (F, F/2, F/4, F/8)
			 255 - all P refer to previous I or IDR frame

                        flags: readable, writable
                        Integer. Range: 0 - 255 Default: 0 
  svcsyntaxen         : Control for SVC syntax and DPB management:
			 0   - SVC disabled sliding window enabled
			 1   - SVC enabled sliding window enabled
			 2   - SVC disabled MMCO enabled
			 3   - SVC enabled MMCO enabled

                        flags: readable, writable
                        Integer. Range: 0 - 3 Default: 0 
  seqscaling          : Sequence scaling matrix present:
			 0 = Disable
			 1 = Auto (Default)
			 2 = Low
			 3 = Moderate
			 4 = Reserved

                        flags: readable, writable
                        Integer. Range: 0 - 4 Default: 1 
  qpintra             : Quantization Parameter (QP) for I frame (only valid when rate control is disabled or is fixed QP)
                        flags: readable, writable
                        Integer. Range: 1 - 31 Default: 28 
  qpinter             : Quantization Parameter (QP) for P frame (only valid when rate control is disabled or is fixed QP)
                        flags: readable, writable
                        Integer. Range: 1 - 31 Default: 28 
  rcalgo              : Rate Control Algorithm (requires ratecontrol set to 5):
			 0 - CBR
			 1 - VBR (Default)
			 2 - Fixed QP
			 3 - CVBR
			 4 - Custom RC1 - Fixed size frame
			 5 - Custom CBR1
			 6 - Custom VBR1

                        flags: readable, writable
                        Integer. Range: 0 - 6 Default: 1 
  airrate             : Adaptive intra refresh. This indicates the maximum number of MBs(per frame) that can be refreshed using AIR.
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  idrinterval         : Interval between two consecutive IDR frames
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  bytestream          : Generate h264 NAL unit stream instead of 'packetized' stream (no codec_data is generated) 
                        flags: readable, writable
                        Boolean. Default: false
  aud                 : Generate h264 Access Unit Delimiters format
                        flags: readable, writable
                        Boolean. Default: false
  headers             : Include on the stream the SPS/PPS headers
                        flags: readable, writable
                        Boolean. Default: false
  single-nalu         : Buffers contains a single NALU
                        flags: readable, writable
                        Boolean. Default: false