조회 수 8738 추천 수 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
번호 제목 글쓴이 날짜 조회 수 추천 수
73 하드웨어 가속 디코딩을 꺼서 인코딩 속도를 높이기 6 JKyle 2018.06.19 26328 1
72 필터 적용 사례: 로고/워터마크 제거 1 JKyle 2020.01.31 8245 2
71 파일 형식(컨테이너)에 언어 메타데이터 정보 넣기 file Rina 2014.01.26 10013 0
70 적당한 소리 볼륨 크기값 찾아 소리 볼륨 증폭시키기 3 file Rina 2014.08.21 17166 2
69 자막을 특정 글꼴(폰트)로 표시하도록 할 때 □로 나오는 문제를 UnicodeBMP로 변환하여 해결하는 방법 file Rina 2021.10.30 6590 1
68 인코딩된 파일의 PSNR, SSIM 값 계산하기 file JKyle 2018.09.05 3231 1
67 원본 영상이 끊켜보일때 부드럽게 보이게 인코딩 하는 방법 1 Rina 2015.07.19 14129 2
66 오디오 채널 중 원하는 부분만 선택해서 인코딩하기 4 file JKyle 2020.05.22 9412 1
65 오디오 / 내장된 자막 / 비디오 스트림 복사 및 언어설정 방법 4 file 능소화 2016.11.19 13816 0
64 압축률과 영상코덱에 관하여 능소화 2014.02.19 27396 1
63 소장용 고화질 1080p 영상 인코딩 팁 2 퍼플군단 2018.06.12 29044 0
62 샤나인코더의 커스텀 매개변수들 JKyle 2021.01.18 5423 2
61 샤나인코더의 이스터 에그: (E-)AC3 오디오를 mp4 형식에 담기 (⇦ 5.2.1 이전 버전에만 해당) file JKyle 2021.01.23 4963 1
60 샤나인코더의 H264 설정과 FFmpeg의 x264 설정 이해 8 JKyle 2020.01.27 24782 2
59 샤나인코더와 자막, Q&A 1 file JKyle 2018.05.31 19171 2
58 샤나인코더로 움짤 만들기 4 file JKyle 2019.09.08 6818 0
57 샤나인코더 영상 사이즈 변경 옵션을 통한 FFmpeg 필터의 기초 이해 4 JKyle 2020.01.27 10566 3
56 샤나인코더 4.9 버전부터 추가된 편의기능 >>프리셋 메뉴 및 설정 메뉴를 빠르게 열기<< file Rina 2018.06.28 7261 0
55 샤나인코더 - 기본 메뉴 소개 file Rina 2021.02.07 11703 2
54 샤나에서 HEVC(x265)로 2패스 인코딩하기 12 file JKyle 2018.08.28 13899 0
Board Pagination Prev 1 2 3 4 Next
/ 4