View Single Post
Old 7th March 2022, 11:22   #1  |  Link
Dave_Scream
Registered User
 
Join Date: Apr 2014
Posts: 3
Best x265 quality/filesize settings (reencode for archive)

I have DJI Pocket2 camera. Recordings from 1080p@30fps to 2160@60fps. Bitrate from camera is ~80 mb/s. I need to compress this with maximum quality to file size ratio (limited NAS storage).

Encoding speed is not so important for me because I use queue and Xeon E5 2696v3 (Haswell 18 cores 36 threads) is doing well too.

I tryed to use SVT-HEVC and SVT-AV1 but they are blurry and dont have CRF mode (only CQP mode which i think is not best for visual quality/filesize purposes).

As for now I use x265 veryslow + opus 96kbps with original resolution (1080-2160) and frame rate (30-60).

crf 28 - for not important videos (like unboxing, or conversations with people)
crf 24 - for more quality videos (like sea or nature or zoo).

on my 32'' monitor 2k resolution I cant see any differences, so need help

What settings I should I use for best visual quality/filesize ratio source files from my dji camerф are:

ideo
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 min 50 s
Bit rate mode : Variable
Bit rate : 50.0 Mb/s
Width : 2 720 pixels
Height : 1 530 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.401
Stream size : 1 017 MiB (100%)
Title : DJI.AVC
Language : English
Encoded date : UTC 2022-03-03 16:01:15
Tagged date : UTC 2022-03-03 16:01:15
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Should I use 10 bit if video from DJI is 8bit yuv 4:2:0?

I tryed to use aq-mode 3 instead of 1 (default) but bitrate insanely grows. So what is better:
aq-mode 1 crf 24 8bit (94mbyte)
or
aq-mode 3 crf 30 10bit (97mbyte)?

Should I somehow tune veryslow preset? (set more than 3 ref frames and 4 b-frames)?





Maybe aom-av1? But 0.5 fps speed is very slow even for me(((

Last edited by Dave_Scream; 7th March 2022 at 11:34.
Dave_Scream is offline   Reply With Quote