조회 수 8739 추천 수 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

List of Articles
번호 제목 글쓴이 날짜 조회 수 추천 수
53 HEVC 코덱 설정->튜닝 옵션별 각 화질 비교 4 file 바봉이 2020.02.05 17489 0
» H264(AMF), HEVC(AMF) 옵션 도움말 1 JKyle 2020.02.03 8739 0
51 H264(NVENC), HEVC(NVENC) 옵션 도움말 1 JKyle 2020.02.03 10596 0
50 필터 적용 사례: 로고/워터마크 제거 1 JKyle 2020.01.31 8245 2
49 HDR 영상과 10비트 영상 3 JKyle 2020.01.29 13010 3
48 색공간과 Bit Depth 4 JKyle 2020.01.28 6746 2
47 샤나인코더 영상 사이즈 변경 옵션을 통한 FFmpeg 필터의 기초 이해 4 JKyle 2020.01.27 10566 3
46 샤나인코더의 H264 설정과 FFmpeg의 x264 설정 이해 8 JKyle 2020.01.27 24786 2
45 FFmpeg 명령어 구조와 샤나인코더 작동 방식 이해 JKyle 2020.01.26 4866 2
44 [인포그래픽] 인코딩 작업 흐름과 자막 작업 1 JKyle 2020.01.25 2975 0
43 [인포그래픽] 인코딩 작업의 흐름도 1 JKyle 2020.01.25 5788 2
42 [필독] 비디오 코덱과 기본 용어 (H.264, HEVC) 2 JKyle 2020.01.25 25436 7
41 샤나인코더로 움짤 만들기 4 file JKyle 2019.09.08 6819 0
40 기록 보기에서 Consider increasing the value for the 'analyzeduration' and 'probesize' options 내용이 있을 때 해결법 4 Rina 2019.09.04 3819 1
39 SRT SMI 자막 인코딩 이용시 한글 깨짐 자막변환 방법 file 나그네3 2019.03.14 25791 1
38 webm VP9 멀티스레드 활성화하는 방법, 속도 향상시키는 방법 마소리스 2018.09.25 6066 0
37 "비트레이트를 원본보다 높게 주면 원본보다 퀄리티가 나아질 수 있다"는 주장에 대해 6 JKyle 2018.09.19 17973 0
36 SSIM, PSNR로 측정한 NVENC 인코딩 4 file JKyle 2018.09.09 3874 0
35 인코딩된 파일의 PSNR, SSIM 값 계산하기 file JKyle 2018.09.05 3231 1
34 8비트 원본을 10비트로 인코딩하면 8비트로 인코딩할 때보다 화질이 더 낫다? 5 JKyle 2018.09.04 8108 0
Board Pagination Prev 1 2 3 4 Next
/ 4