View Full Version : Yet another x265 HEVC encoder
Kurtnoise
25th March 2014, 13:56
I found this (https://github.com/lheric/x265) today on github...It looks completely different from the Multicoreware one and it's written in plain C. :cool:
A windows build is available here (https://www.mediafire.com/?4kcziqf43au3jf8) for testing.
Kurtnoise
25th March 2014, 13:58
265 core:1r1.0
Syntax: x265 [options] -o outfile infile
Infile should be raw (in which case resolution is required).
Outfile type is selected by filename:
.bin -> Raw bytestream
Options:
-h, help List all options
-c Configuration file name
Rate Distoration Optimization:
lambda-modifier0 Lambda modifier for temporal layer 0
lambda-modifier1 Lambda modifier for temporal layer 1
lambda-modifier2 Lambda modifier for temporal layer 2
lambda-modifier3 Lambda modifier for temporal layer 3
lambda-modifier4 Lambda modifier for temporal layer 4
lambda-modifier5 Lambda modifier for temporal layer 5
lambda-modifier6 Lambda modifier for temporal layer 6
lambda-modifier7 Lambda modifier for temporal layer 7
max-delta-qp max dQp offset for block
delta-qp-rd max dQp offset for slice
max-cu-dqp-depth max depth for a minimum CuDQP
rdo-q flag for using RD optimized quantization
rdo-q-ts flag for using RD optimized quantization for transform skip
rd-penalty RD-penalty for 32x32 TU for intra in non-intra slices.
0:disbaled
1:RD-penalty
2:maximum RD-penalty
Sequence Parameter Set:
conformance-mode Window conformance mode (0: no window,
1:automatic padding,
2:padding,
3:conformance
conf-left Left offset for window conformance mode 3
conf-right Right offset for window conformance mode 3
conf-top Top offset for window conformance mode 3
conf-bottom Bottom offset for window conformance mode 3
profile Profile to be used when encoding (Incomplete)
level Level limit to be used, eg 5.1 (-incomplete)
tier Tier to use for interpretation of --Level
progressive-source Indicate that source is progressive
interlaced-source Indicate that source is interlaced
non-packedSource Indicate that source does not contain frame packing
frame-only Indicate that the bitstream contains only frames
max-cu-width Maximum CU width
max-cu-height Maximum CU height
max-cu-size Maximum CU size
max-partitionDepth CU depth
quadtree-tu-log2-max-size Maximum TU size in logarithm base 2
quadtree-tU-log2-min-size Minimum TU size in logarithm base 2
quadtree-tu-max-depth-intra Depth of TU tree for intra CUs
quadtree-tu-max-depth-inter Depth of TU tree for inter CUs
internal-bit-depth Bit-depth the codec operates at. (default:input-bit-depth)
If different to input-bit-depth, source data will be converted
internal-bit-depthc As per internal-bit-depth but for chroma component. (default:intrenal-bit-depth)
lossless-cu-enable flag for using lossless coding
sao Enable Sample Adaptive Offset
loop-filter-disable flag for using deblocking filter
pcm-enabled-flag flag for using IPCM
tmvp-mode TMVP mode 0: TMVP disable for all slices.
1: TMVP enable for all slices (default)
2: TMVP enable for certain slices only
scaling-list 0: no scaling list,
1: default scaling lists,
2: scaling lists specified in cqmfile
cqmfile File that contains HM-compatible scaling lists
strong-intra-smoothing Enable strong intra smoothing for 32x32 block
vui-parameters-present Enable generation of vui_parameters()
.....
Kurtnoise
25th March 2014, 13:59
Picture Parameter Set:
uniform-spacing-idc Indicates if the column and row boundaries are distributed uniformly
num-tile-columns-minus1 Number of columns in a picture minus 1
column-width-array Array containing ColumnWidth values in units of LCU
num-tile-rows-minus1 Number of rows in a picture minus 1
row-height-array Array containing RowHeight values in units of LCU
wave-front-synchro 0: no synchro; 1 synchro with TR; 2 TRR etc
weighted-pred-p Use weighted prediction in P slices
weighted-pred-b Use weighted (bidirectional) prediction in B slices
log2-parallel-merge-level Parallel merge estimation region
transquant-bypass-enable-flag transquant_bypass_enable_flag indicator in PPS
GOP:
intra-period Intra period in frames, (-1: only first frame)
decoding-refreshType Intra refresh type (0:none 1:CRA 2:IDR)
gop-size GOP size of temporal structure
Sample Adaptive Offset:
max-num-offsets-per-pic Max number of SAO offset per picture (Default: 2048)
sao-lcu-boundary 0: right/bottom LCU boundary areas skipped from SAO parameter estimation,
1: non-deblocked pixels are used for those areas
sao-lcu-based-optimization 0: SAO picture-based optimization,
1: SAO LCU-based optimization
Deblocking Filter:
loop-filter-offset-in-pps offset for deblocking filter in 0 = slice header, 1 = PPS
loop-filter-beta-offset-div2 beta offset for deblocking filter
loop-filter-tc-offset-div2 tc offset for deblocking filter
deblocking-filter-control-present deblocking filter control present flag in PPS
lf-cross-slice-boundary-flag 1: cross-slice-boundary loop filtering. 0:non-cross-slice-boundary loop filtering
lf-cross-tile-boundary-flag 1: cross-tile-boundary loop filtering. 0:non-cross-tile-boundary loop filtering
IPCM:
pcm-log2-max-size log2 of maximum PCM block size
pcm-log2-min-size log2 of minimum PCM block size
pcm-filter-disable-flag PCM filter disable flag
Supplemental Enhancement Information:
sei-decoded-picture-hash Control generation of decode picture hash SEI messages
0: disable
1: use MD5
2: CRC
3: checksum
sei-picture-digest deprecated alias for SEIDecodedPictureHash
sei-recovery-point Control generation of recovery point SEI messages
sei-buffering-period Control generation of buffering period SEI messages
sei-picture-timing Control generation of picture timing SEI messages
sei-frame-packing Control generation of frame packing SEI messages
sei-frame-packing-type Define frame packing arrangement
0: checkerboard - pixels alternatively represent either frames
1: column alternation - frames are interlaced by column
2: row alternation - frames are interlaced by row
3: side by side - frames are displayed horizontally
4: top bottom - frames are displayed vertically
5: frame alternation - one frame is alternated with the other
sei-frame-packing-id Id of frame packing SEI message for a given session
sei-frame-packing-quincunx Indicate the presence of a Quincunx type video frame
sei-frame-packing-interpretation Indicate the interpretation of the frame pair
0: unspecified
1: stereo pair, frame0 represents left view
2: stereo pair, frame0 represents right view
sei-display-orientation Control generation of display orientation SEI messages
n: 0 < -n < (2^16 - 1) enable display orientation SEI message with anticlockwise_rotation = N and display_orientation_repetition_period = 1
0: disable
sei-temporal-level0-index Control generation of temporal level 0 index SEI messages
sei-gradual-decoding-refresh-info Control generation of gradual decoding refresh information SEI message
sei-decoding-unit-info Control generation of decoding unit information SEI message.
sei-active-parameter-sets Enable generation of active parameter sets SEI messages
Rate Control:
rate-control Rate control: enable rate control
target-bitrate Rate control: target bitrate
keep-hierarchical-bit Rate control: keep hierarchical bit allocation in rate control algorithm
lcu-level-rate-control Rate control: true: LCU level RC; false: picture level RC
rc-luc-separate-model Rate control: use LCU level separate R-lambda model
initial-qp Rate control: initial QP
rc-force-intra-qp Rate control: force intra QP to be equal to initial QP
Video Usability Information:
aspect-ratio-info-present Signals whether aspect_ratio_idc is present
aspect-ratio-idc aspect_ratio_idc
sar-width Horizontal size of the sample aspect ratio
sar-height Vertical size of the sample aspect ratio
overscan-info-present Indicates whether conformant decoded pictures are suitable for display using overscan
overscan-appropriate Indicates whether conformant decoded pictures are suitable for display using overscan
video-signal-type-present Signals whether video_format, video_full_range_flag, and colour_description_present_flag are present
video-format Indicates representation of pictures
video-full-range Indicates the black level and range of luma and chroma signals
colour-description-present Signals whether colour_primaries, transfer_characteristics and matrix_coefficients are present
colour-primaries Indicates chromaticity coordinates of the source primaries
transfer-charateristics Indicates the opto-electronic transfer characteristics of the source
matrix-coefficients Describes the matrix coefficients used in deriving luma and chroma from RGB primaries
chroma-loc-info-present Signals whether chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present
chroma-sample-loc-type-top-field Specifies the location of chroma samples for top field
chroma-sample-loc-type-bottom-field Specifies the location of chroma samples for bottom field
neutral-chroma-indication Indicates that the value of all decoded chroma samples is equal to 1<<(BitDepthCr-1)
default-display-windowFlag Indicates the presence of the Default Window parameters
def-disp-win-left-offset Specifies the left offset of the default display window from the conformance window
def-disp-win-right-offset Specifies the right offset of the default display window from the conformance window
def-disp-win-top-offset Specifies the top offset of the default display window from the conformance window
def-disp-win-bottom-offset Specifies the bottom offset of the default display window from the conformance window
frame-field-info-present-flag Indicates that pic_struct and field coding related values are present in picture timing SEI messages
poc-proportional-to-timing-flag Indicates that the POC value is proportional to the output time w.r.t. first picture in CVS
num-ticks-poc-diff-one-minus1 Number of ticks minus 1 that for a POC difference of one
bitstream-restriction Signals whether bitstream restriction parameters are present
tiles-fixed-structure Indicates that each active picture parameter set has the same values of the syntax elements related to tiles
motion-vectors-over-pic-boundaries Indicates that no samples outside the picture boundaries are used for inter prediction
max-bytes-per-pic-denom Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with any coded picture
max-bits-per-min-cu-denom Indicates an upper bound for the number of bits of coding_unit() data
log2-max-mv-length-horizontal Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units
log2-max-mv-length-vertical Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units
Other:
frame-rate Frame rate
frame-skip Number of frames to skip at start of input YUV
frames-to-be-encoded Number of frames to be encoded (default=all)
horizontal-padding Horizontal source padding for conformance window mode 2
vertical-padding Vertical source padding for conformance window mode 2
list-combination Combined reference list for uni-prediction estimation in B-slices
transform-skip Intra transform skipping
transform-skipFast Fast intra transform skipping
amp Enable asymmetric motion partitions
qp Qp value, if value is float, QP is switched once during encoding
cb-qp-offset Chroma Cb QP Offset
cr-qp-offset Chroma Cr QP Offset
adaptive-qp-selection AdaptiveQpSelection
adaptive-qp QP adaptation based on a psycho-visual model
max-qp-adaptation-range QP adaptation range
input-bit-depth Bit-depth of input file
output-bit-depth Bit-depth of output file (default:internal-bit-depth)
input-bit-depthc As per input-bit-depth but for chroma component. (default:input-bit-depth)
output-bit-depthc As per output-bit-depth but for chroma component. (default:internal-bit-depthc)
pcm_input_bit_depth_flag 0: PCM bit-depth is internal bit-depth.
1: PCM bit-depth is input bit-depth.
sabc-rd SBAC based RD estimation
asr Adaptive motion search range
hadamard-me Hadamard ME for fractional-pel
fast-search 0:Full search 1:Diamond 2:PMVFAST
search-range Motion search range
bipred-search-range Motion search range for bipred refinement
fen fast encoder setting
ecu Early CU setting
fdm Fast decision for Merge RD Cost
cfm Cbf fast mode setting
esd Early SKIP detection setting
slice-mode 0: Disable all Recon slice limits,
1: Enforce max # of LCUs,
2: Enforce max # of bytes,
3:specify tiles per dependent slice
slice-argument Depending on SliceMode being:
1: max number of CTUs per slice
2: max number of bytes per slice
3: max number of tiles per slice
slice-segment-mode 0: Disable all slice segment limits,
1: Enforce max # of LCUs,
2: Enforce max # of bytes,
3:specify tiles per dependent slice
slice-segment-argument Depending on SliceSegmentMode being:
1: max number of CTUs per slice segment
2: max number of bytes per slice segment
3: max number of tiles per slice segment
constrained-intra-pred Constrained Intra Prediction
max-num-merge-cand Maximum number of merge candidates
cu-transquant-bypass-flag-value Fixed cu_transquant_bypass_flag value, when transquant_bypass_enable_flag is enabled
recalculate-qp-according-to-lambda Recalculate QP values according to lambda values. Do not suggest to be enabled in all intra case
.....
Procrastinating
25th March 2014, 23:29
I have a feeling that there's going to be 5 variations of x265, and they are all going to race to become the best x265.
DarrellS
26th March 2014, 19:36
No stdin = useless for me if I can't use with Virtualdub's external encoder.
microchip8
26th March 2014, 22:33
I have a feeling that there's going to be 5 variations of x265, and they are all going to race to become the best x265.
^ This. It's getting crazy
Kurtnoise
27th March 2014, 08:32
No stdin = useless for me if I can't use with Virtualdub's external encoder.
what do you mean by that ?
pipeline is supported as well...
DarrellS
27th March 2014, 20:03
I'll try again but I got an error that no input file could be found. Maybe you could supply a working command argument. Everything I tried resulted in one error or another.
Dark Eiri
29th March 2014, 04:54
^ This. It's getting crazy
They could easily accomplish that unifying the resources and efforts into one project that would move at lightspeed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.