2022-08-10, 05:18 PM
Is it possible to use Wavefront Processing with 2 Pass Encoding?
Here is my command line
Pass 1:
ffmpeg -i sample.avi -vf "crop=1416:1072:252:4" -b:v 7M -c:v omx_enc_hevc -omx_core omxil_core.dll -omx_name OMX.MainConcept.enc_hevc.video -omx_param "force_omx_param=1:preset=4k10:perf_level=30:cfg_file_path=hevc_config.ini:pass=1" sample.hevc -y
Pass 2
ffmpeg -i sample.avi -vf "crop=1416:1072:252:4" -b:v 7M -c:v omx_enc_hevc -omx_core omxil_core.dll -omx_name OMX.MainConcept.enc_hevc.video -omx_param "force_omx_param=1:preset=4k10:perf_level=30:cfg_file_path=hevc_config.ini:pass=2" sample.hevc -y
My INI File
I get this message when I run this
HEVC validation error E0089: Layer 0 (4k 10): 'wavefront_processing' was set to 0 (pps.entropy_coding_sync_enabled_flag).
Am I doing something wrong in my settings or does it not work with one of the options?
Thanks!
Here is my command line
Pass 1:
ffmpeg -i sample.avi -vf "crop=1416:1072:252:4" -b:v 7M -c:v omx_enc_hevc -omx_core omxil_core.dll -omx_name OMX.MainConcept.enc_hevc.video -omx_param "force_omx_param=1:preset=4k10:perf_level=30:cfg_file_path=hevc_config.ini:pass=1" sample.hevc -y
Pass 2
ffmpeg -i sample.avi -vf "crop=1416:1072:252:4" -b:v 7M -c:v omx_enc_hevc -omx_core omxil_core.dll -omx_name OMX.MainConcept.enc_hevc.video -omx_param "force_omx_param=1:preset=4k10:perf_level=30:cfg_file_path=hevc_config.ini:pass=2" sample.hevc -y
My INI File
Code:
[HEVC Settings]
aq_mode = 2
max_num_ref_pics_p = 6
max_num_b_pics = 7
adaptive_num_b_pics = 1
output_colorimetry.signal_range = 1
hw_acceleration = 2
hw_acc_mode = 2
min_src_pic_buffering = 20
max_src_pic_buffering = 60
num_threads = 0
max_num_reencodings = 10
max_dec_pic_buffering = 9
persistent_parsets = 0
[HEVC Layer 0000]
wavefront_processing = 1
sign_data_hiding = 0
transform_skip = 0
log2_max_cu_size = 5
bit_rate_mode = 2
hrd_conformance = 0
bit_rate = 7000000
hss_rate = 35000000
cpb_size = 14000000
I get this message when I run this
HEVC validation error E0089: Layer 0 (4k 10): 'wavefront_processing' was set to 0 (pps.entropy_coding_sync_enabled_flag).
Am I doing something wrong in my settings or does it not work with one of the options?
Thanks!