Log in

View Full Version : ffmpeg x265... something odd


Fishman0919
24th August 2021, 15:11
I was trying to make a backup of Twister with ffmpeg 2021-08-22-git-d905af0c24 Full Build from Here (https://www.gyan.dev/ffmpeg/builds/).

with this scrip...

"D:\ffmpeg\ffmpeg.exe" -i "G:\MakeMKV\Twister\Twister.REMUX.mkv" -metadata title="Twister" -filter_complex "[0:0]crop=1920:792:0:144[v]" -map "[v]" -c:v libx265 -pix_fmt yuv420p10le -profile:v main10 -preset:v medium -crf:v 23 -x265-params "hme=1:hme-range=24,48,72:hme-search=star,star,star:aq-mode=3:colorprim=bt709:transfer=bt709:colormatrix=bt709" -map_metadata -1 -map_chapters 0 -map 0:1 -metadata:s:1 title="Surround 5.1" -metadata:s:1 language=eng -c:1 eac3 -b:1 384k -ac:1 6 -filter:1 aformat=channel_layouts=5.1 -map 0:3 -c:2 copy -disposition:2 0 -metadata:s:2 language=eng -default_mode infer_no_subs -y "F:\FFmpeg Temp\Twister.1996.x265.10bit.mkv"


The encoding goes fine and the movie plays ok but... WHAT IS THIS?

From Mediainfo... x264 settings?

General
Unique ID : 131414339709862778107569565529179015618 (0x62DD7B2FB87FF6435FC1D6A3B211C9C2)
Complete name : L:\x265\Twister.1996.x265.10bit.mkv
Format : Matroska
Format version : Version 4
File size : 5.18 GiB
Duration : 1 h 52 min
Overall bit rate : 6 564 kb/s
Movie name : Twister
Writing application : Lavf59.4.101
Writing library : Lavf59.4.101
ErrorDetectionType : Per level 1

Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 52 min
Bit rate : 28.8 Mb/s
Width : 1 920 pixels
Height : 792 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.789
Stream size : 22.7 GiB
Writing library : Lavc59.5.100 libx265
Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=tesa / subme=11 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / cqm=0 / deadzone=6,6 / fast_pskip=0 / chroma_qp_offset=-4 / threads=24 / lookahead_threads=2 / sliced_threads=0 / slices=4 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=1 / keyint=24 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=29000 / ratetol=1.0 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=29000 / vbv_bufsize=30000 / nal_hrd=vbr / filler=0 / ip_ratio=1.10 / aq=1:0.50
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Original source medium : Blu-ray

The stable release from this site works fine. Just odd

takla
25th August 2021, 18:06
Yep. Same issue for me. I had to put avisynth into prores (instead of x264 qp 0) and then into x265 to avoid this bug.