am currently testing ffmpeg with amf
so here is the settings
-vcodec h264_amf
Code:
Encoder h264_amf [AMD AMF H.264 Encoder]:
General capabilities: delay
Threading capabilities: none
Supported pixel formats: nv12 bgra argb rgba yuv420p yuyv422
h264_amf AVOptions:
-usage <int> E..V.... Encoder Usage (from 0 to 3) (default transcoding)
transcoding E..V.... Generic Transcoding
ultralowlatency E..V....
lowlatency E..V....
webcam E..V.... Webcam
-profile <int> E..V.... Profile (from 66 to 100) (default main)
baseline E..V....
main E..V....
high E..V....
-level <int> E..V.... Profile Level (from 0 to 62) (default auto)
auto E..V....
1.0 E..V....
1.1 E..V....
1.2 E..V....
1.3 E..V....
2.0 E..V....
2.1 E..V....
2.2 E..V....
3.0 E..V....
3.1 E..V....
3.2 E..V....
4.0 E..V....
4.1 E..V....
4.2 E..V....
5.0 E..V....
5.1 E..V....
5.2 E..V....
6.0 E..V....
6.1 E..V....
6.2 E..V....
-preanalysis <boolean> E..V.... Pre-Analysis Mode (default false)
-quality <int> E..V.... Quality Preference (from 0 to 2) (default speed)
speed E..V.... Prefer Speed
balanced E..V.... Balanced
quality E..V.... Prefer Quality
-rc <int> E..V.... Rate Control Method (from 0 to 3) (default vbr_peak)
cqp E..V.... Constant Quantization Parameter
cbr E..V.... Constant Bitrate
vbr_peak E..V.... Peak Contrained Variable Bitrate
vbr_latency E..V.... Latency Constrained Variable Bitrate
-enforce_hrd <boolean> E..V.... Enforce HRD (default false)
-filler_data <boolean> E..V.... Filler Data Enable (default false)
-vbaq <boolean> E..V.... Enable VBAQ (default false)
-frame_skipping <boolean> E..V.... Rate Control Based Frame Skip (default false)
-qp_i <int> E..V.... Quantization Parameter for I-Frame (from -1 to 51) (default -1)
-qp_p <int> E..V.... Quantization Parameter for P-Frame (from -1 to 51) (default -1)
-qp_b <int> E..V.... Quantization Parameter for B-Frame (from -1 to 51) (default -1)
-max_au_size <int> E..V.... Maximum Access Unit Size (in bits) (from 0 to INT_MAX) (default 0)
-header_spacing <int> E..V.... Header Insertion Spacing (from -1 to 1000) (default -1)
-bf_delta_qp <int> E..V.... B-Picture Delta QP (from -10 to 10) (default 4)
-bf_ref <boolean> E..V.... Enable Reference to B-Frames (default true)
-bf_ref_delta_qp <int> E..V.... Reference B-Picture Delta QP (from -10 to 10) (default 4)
-intra_refresh_mb <int> E..V.... Intra Refresh MBs Number Per Slot in Macroblocks (from 0 to INT_MAX) (default 0)
-slices <int> E..V.... Number of Slices per Frame (from 1 to 8160) (default 1)
-coding <int> E..V.... Coding Type (from 0 to 2) (default auto)
auto E..V.... Automatic
cavlc E..V.... Context Adaptive Variable-Length Coding
cabac E..V.... Context Adaptive Binary Arithmetic Coding
-me_half_pel <boolean> E..V.... Enable ME Half Pixel (default true)
-me_quater_pel <boolean> E..V.... Enable ME Quarter Pixel (default true)
-vcodec hevc_amf
Code:
Encoder hevc_amf [AMD AMF HEVC encoder]:
General capabilities: delay
Threading capabilities: none
Supported pixel formats: nv12 bgra argb rgba yuv420p yuyv422
hevc_amf AVOptions:
-usage <int> E..V.... Set the encoding usage (from 0 to 3) (default transcoding)
transcoding E..V....
ultralowlatency E..V....
lowlatency E..V....
webcam E..V....
-profile <int> E..V.... Set the encoding profile (default main) (from 0 to 1) (default main)
main E..V....
high E..V....
-level <int> E..V.... Set the encoding level restriction (default auto) (from 0 to 186) (default auto)
auto E..V....
1.0 E..V....
2.0 E..V....
2.1 E..V....
3.0 E..V....
3.1 E..V....
4.0 E..V....
4.1 E..V....
5.0 E..V....
5.1 E..V....
5.2 E..V....
6.0 E..V....
6.1 E..V....
6.2 E..V....
-quality <int> E..V.... Set the encoding quality (from 0 to 10) (default speed)
balanced E..V....
speed E..V....
quality E..V....
-rc <int> E..V.... Set the rate control mode (from 0 to 3) (default vbr_peak)
cqp E..V....
cbr E..V....
vbr_peak E..V....
vbr_latency E..V....
-gops_per_idr <int> E..V.... GOPs per IDR 0 means no IDR will be inserted (from 0 to INT_MAX) (default 60)
-header_insertion_mode <int> E..V.... Set header insertion mode (from 0 to 2) (default balanced)
balanced E..V....
speed E..V....
quality E..V....
-preanalysis <boolean> E..V.... Enable preanalysis (default false)
-enable_vbaq <int> E..V.... Set header insertion mode (from 0 to 1) (default none)
none E..V....
auto E..V....
-enforce_hrd <boolean> E..V.... Enforce HRD (default false)
-filler_data <boolean> E..V.... Filler Data Enable (default false)
-max_au_size <int> E..V.... Max AU Size in bits (from 0 to INT_MAX) (default 60)
-min_qp_i <int> E..V.... min quantization parameter for I frame (from -1 to 51) (default -1)
-max_qp_i <int> E..V.... max quantization parameter for I frame (from -1 to 51) (default -1)
-min_qp_p <int> E..V.... min quantization parameter for P frame (from -1 to 51) (default -1)
-max_qp_p <int> E..V.... max quantization parameter for P frame (from -1 to 51) (default -1)
-qp_p <int> E..V.... quantization parameter for P frame (from -1 to 51) (default -1)
-qp_i <int> E..V.... quantization parameter for I frame (from -1 to 51) (default -1)
-skip_frame <boolean> E..V.... Rate Control Based Frame Skip (default false)
-me_half_pel <boolean> E..V.... Enable ME Half Pixel (default true)
-me_quater_pel <boolean> E..V.... Enable ME Quarter Pixel (default true)