조회 수 8798 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

샤나 홈페이지 매개변수 도움말 섹션이 업데이트되면서 H264(AMF), HEVC(AMF) FFmpeg 명령행(command-line) 옵션 도움말이 사라져 버렸습니다. (FFmpeg 공식 문서에도 이 부분은 누락돼 있습니다.)

 

그래서 FFmpeg 실행 파일에서 해당 인코더들의 옵션을 직접 뽑아서 올립니다. (2020년 1월 N-96336 버전 기준인데, 샤나인코더 5 버전 내장 FFmpeg 라이브러리와 다를 게 없을 겁니다.)

 

매개변수 창(F8)의 인코딩 설정에서 적용할 수 있는 옵션들로, 본인의 하드웨어 사양에 따라 설정이 조금씩 달라져야 합니다.

 

AMD 그래픽 카드를 소유하신 분들은 인코딩 커스텀 설정하시는 데 참고하시기 바랍니다.

 


[H264(AMF)]

Encoder h264_amf [AMD AMF H.264 Encoder]:

    General capabilities: delay hardware 

    Threading capabilities: none

    Supported pixel formats: nv12 yuv420p d3d11 dxva2_vld

h264_amf AVOptions:

  -usage             <int>        E..V...... Encoder Usage (from 0 to 3) (default transcoding)

     transcoding     0            E..V...... Generic Transcoding

     ultralowlatency 1            E..V...... 

     lowlatency      2            E..V...... 

     webcam          3            E..V...... Webcam

  -profile           <int>        E..V...... Profile (from 66 to 257) (default main)

     main            77           E..V...... 

     high            100          E..V...... 

     constrained_baseline 256          E..V...... 

     constrained_high 257          E..V...... 

  -level             <int>        E..V...... Profile Level (from 0 to 62) (default auto)

     auto            0            E..V...... 

     1.0             10           E..V...... 

     1.1             11           E..V...... 

     1.2             12           E..V...... 

     1.3             13           E..V...... 

     2.0             20           E..V...... 

     2.1             21           E..V...... 

     2.2             22           E..V...... 

     3.0             30           E..V...... 

     3.1             31           E..V...... 

     3.2             32           E..V...... 

     4.0             40           E..V...... 

     4.1             41           E..V...... 

     4.2             42           E..V...... 

     5.0             50           E..V...... 

     5.1             51           E..V...... 

     5.2             52           E..V...... 

     6.0             60           E..V...... 

     6.1             61           E..V...... 

     6.2             62           E..V...... 

  -quality           <int>        E..V...... Quality Preference (from 0 to 2) (default speed)

     speed           1            E..V...... Prefer Speed

     balanced        0            E..V...... Balanced

     quality         2            E..V...... Prefer Quality

  -rc                <int>        E..V...... Rate Control Method (from -1 to 3) (default -1)

     cqp             0            E..V...... Constant Quantization Parameter

     cbr             1            E..V...... Constant Bitrate

     vbr_peak        2            E..V...... Peak Contrained Variable Bitrate

     vbr_latency     3            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)

  -preanalysis       <boolean>    E..V...... Pre-Analysis Mode (default false)

  -max_au_size       <int>        E..V...... Maximum Access Unit Size for rate control (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)

  -coder             <int>        E..V...... Coding Type (from 0 to 2) (default auto)

     auto            0            E..V...... Automatic

     cavlc           2            E..V...... Context Adaptive Variable-Length Coding

     cabac           1            E..V...... Context Adaptive Binary Arithmetic Coding

  -me_half_pel       <boolean>    E..V...... Enable ME Half Pixel (default true)

  -me_quarter_pel    <boolean>    E..V...... Enable ME Quarter Pixel (default true)

  -aud               <boolean>    E..V...... Inserts AU Delimiter NAL unit (default false)

  -log_to_dbg        <boolean>    E..V...... Enable AMF logging to debug output (default false)

 


[HEVC(AMF)]

Encoder hevc_amf [AMD AMF HEVC encoder]:

    General capabilities: delay hardware 

    Threading capabilities: none

    Supported pixel formats: nv12 yuv420p d3d11 dxva2_vld

hevc_amf AVOptions:

  -usage             <int>        E..V...... Set the encoding usage (from 0 to 3) (default transcoding)

     transcoding     0            E..V...... 

     ultralowlatency 1            E..V...... 

     lowlatency      2            E..V...... 

     webcam          3            E..V...... 

  -profile           <int>        E..V...... Set the profile (default main) (from 1 to 1) (default main)

     main            1            E..V...... 

  -profile_tier      <int>        E..V...... Set the profile tier (default main) (from 0 to 1) (default main)

     main            0            E..V...... 

     high            1            E..V...... 

  -level             <int>        E..V...... Set the encoding level (default auto) (from 0 to 186) (default auto)

     auto            0            E..V...... 

     1.0             30           E..V...... 

     2.0             60           E..V...... 

     2.1             63           E..V...... 

     3.0             90           E..V...... 

     3.1             93           E..V...... 

     4.0             120          E..V...... 

     4.1             123          E..V...... 

     5.0             150          E..V...... 

     5.1             153          E..V...... 

     5.2             156          E..V...... 

     6.0             180          E..V...... 

     6.1             183          E..V...... 

     6.2             186          E..V...... 

  -quality           <int>        E..V...... Set the encoding quality (from 0 to 10) (default speed)

     balanced        5            E..V...... 

     speed           10           E..V...... 

     quality         0            E..V...... 

  -rc                <int>        E..V...... Set the rate control mode (from -1 to 3) (default -1)

     cqp             0            E..V...... Constant Quantization Parameter

     cbr             3            E..V...... Constant Bitrate

     vbr_peak        2            E..V...... Peak Contrained Variable Bitrate

     vbr_latency     1            E..V...... Latency Constrained Variable Bitrate

  -header_insertion_mode <int>        E..V...... Set header insertion mode (from 0 to 2) (default none)

     none            0            E..V...... 

     gop             1            E..V...... 

     idr             2            E..V...... 

  -gops_per_idr      <int>        E..V...... GOPs per IDR 0-no IDR will be inserted (from 0 to INT_MAX) (default 60)

  -preanalysis       <boolean>    E..V...... Enable preanalysis (default false)

  -vbaq              <boolean>    E..V...... Enable VBAQ (default false)

  -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...... Maximum Access Unit Size for rate control (in bits) (from 0 to INT_MAX) (default 0)

  -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_quarter_pel    <boolean>    E..V...... Enable ME Quarter Pixel  (default true)

  -aud               <boolean>    E..V...... Inserts AU Delimiter NAL unit (default false)

  -log_to_dbg        <boolean>    E..V...... Enable AMF logging to debug output (default false)

 


 

이상입니다.

Facebook Twitter Pinterest Kakao

  1. 샤나인코더로 움짤 만들기

  2. [필독] 비디오 코덱과 기본 용어 (H.264, HEVC)

  3. [인포그래픽] 인코딩 작업의 흐름도

  4. [인포그래픽] 인코딩 작업 흐름과 자막 작업

  5. FFmpeg 명령어 구조와 샤나인코더 작동 방식 이해

  6. 샤나인코더의 H264 설정과 FFmpeg의 x264 설정 이해

  7. 샤나인코더 영상 사이즈 변경 옵션을 통한 FFmpeg 필터의 기초 이해

  8. 색공간과 Bit Depth

  9. HDR 영상과 10비트 영상

  10. 필터 적용 사례: 로고/워터마크 제거

  11. H264(NVENC), HEVC(NVENC) 옵션 도움말

  12. H264(AMF), HEVC(AMF) 옵션 도움말

  13. HEVC 코덱 설정->튜닝 옵션별 각 화질 비교

  14. 다중 오디오 동영상 인코딩하기

  15. 오디오 채널 중 원하는 부분만 선택해서 인코딩하기

  16. [필독] 기초 용어 정리 (샤나인코더 기준)

  17. 샤나인코더의 커스텀 매개변수들

  18. 샤나인코더의 이스터 에그: (E-)AC3 오디오를 mp4 형식에 담기 (⇦ 5.2.1 이전 버전에만 해당)

  19. 샤나인코더 - 기본 메뉴 소개

  20. H264 비디오 코덱 설정 도움말

Board Pagination Prev 1 2 3 4 Next
/ 4