조회 수 8769 추천 수 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.09.19 18053 0
72 2Audio 내장 플레이어로 재생시 기본재생 음성 지정하기 file 능소화 2017.04.09 4533 1
71 8비트 원본을 10비트로 인코딩하면 8비트로 인코딩할 때보다 화질이 더 낫다? 5 JKyle 2018.09.04 8153 0
70 8쓰레드 부터 점유율 100프로 못찍을때 해결방법 입니다. 쩌는사냐인코더 2017.03.11 8934 0
69 AAC 코덱(LC, HE-AAC, HE-AACv2), OPUS 코덱에서 효율적인 비트레이트 구간 1 file Rina 2014.10.20 20278 2
68 AMD 플루이드모션 60프레임 인코딩 (real 프레임레이트) 설정방법 (ffmpeg 프레임 보간기법) 23 file 능소화 2017.06.06 23555 0
67 ASS 자막 파일을 aegisub으로 작업 시 libass를 사용하세요. file Rina 2018.01.20 4449 1
66 AV1, THEORA, VP8, VP9 비디오 코덱 설정 도움말 Rina 2021.03.26 16944 1
65 DIVX, H263, MPEG1, MPEG2, MPEG4, WMV, XVID 비디오 코덱 설정 도움말 Rina 2021.03.25 9031 0
64 FFmpeg 명령어 구조와 샤나인코더 작동 방식 이해 JKyle 2020.01.26 4912 2
63 FFmpeg 옵션 입니다.(영문 및 한글 설명 포함) 4 file 능소화 2014.03.17 23067 1
62 H264 비디오 코덱 설정 도움말 Rina 2021.03.16 107316 1
61 H264(AMF), HEVC(AMF) 비디오 코덱 설정 도움말 Rina 2021.04.01 29119 0
» H264(AMF), HEVC(AMF) 옵션 도움말 1 JKyle 2020.02.03 8769 0
59 H264(NVENC) 비디오 코덱 설정 도움말 Rina 2021.03.25 19747 2
58 H264(NVENC), HEVC(NVENC) 옵션 도움말 1 JKyle 2020.02.03 10677 0
57 H264(QSV), HEVC(QSV) 비디오 코덱 설정 도움말 Rina 2021.03.29 23830 0
56 HD(720p) 이상 고해상도 동영상을 HD의 WebM(VP9, Opus 코덱)으로 인코딩하기 file JKyle 2018.05.20 5192 0
55 HDR 영상 인코딩하기! 8 황금별똥 2018.01.23 8831 0
54 HDR 영상과 10비트 영상 3 JKyle 2020.01.29 13170 3
Board Pagination Prev 1 2 3 4 Next
/ 4