Opened 6 years ago

Closed 6 years ago

#4531 closed defect (needs_more_info)

ffmpeg libx265 2pass encoding do not work properly

Reported by: ZMachine Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: libx265
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

hello,

basically using the following command line even if ffmpeg correctly complete encoding, log file created from the 1st pass is emply and cannot be used by the 2nd pass

"H:\Project\bin\Release\data\bin64\ffmpeg.exe" -hwaccel auto -i "H:\videotest\test.mkv" -map 0:v:0 -c:v libx265 -pass 1 -passlogfile "H:\videotest\outputaxsxafccs.stats" -b:v 5000k -preset 5 -x265-params level=0:profile=undefined:pmode:no-pme:pme:no-high-tier:ref=3:bframes=4:open-gop:keyint=250:min-keyint=25:b-adapt=2:bframe-bias=0:rc-lookahead=20:no-scenecut:b-pyramid:me=hex:subme=2:merange=57:temporal-mvp:weightp:no-weightb:max-merge=2:no-weightb:no-rect:no-amp:vbv-bufsize=0:vbv-maxrate=0:vbv-init=0.9:no-slow-firstpass:no-strict-cbr:qcomp=0.6:qstep=4:aq-mode=1:aq-strength=1.0:cutree:no-early-skip:ctu=64:no-fast-cfb:ipratio=1.4:pbratio=1.3:cbqpoffs=0:crqpoffs=0:rd=3:psy-rd=0.3:psy-rdoq=1:b-intra:no-fast-intra:rdoq-level=1:no-tskip:no-tskip-fast:cu-lossless:tu-intra-depth=1:tu-inter-depth=1:strong-intra-smoothing:no-constrained-intra:nr-intra=0:nr-inter=0:qblur=0.5:cplxblur=20:signhide:sar=16 -f null -

2nd pass

"H:\Project\bin\Release\data\bin64\ffmpeg.exe" -hwaccel auto -i "H:\videotest\test.mkv" -map 0:v:0 -c:v libx265 -pass 2 -passlogfile "H:\videotest\outputaxsxafccs.stats" -b:v 5000k -preset 5 -x265-params level=0:profile=undefined:pmode:no-pme:pme:no-high-tier:ref=3:bframes=4:open-gop:keyint=250:min-keyint=25:b-adapt=2:bframe-bias=0:rc-lookahead=20:no-scenecut:b-pyramid:me=hex:subme=2:merange=57:temporal-mvp:weightp:no-weightb:max-merge=2:no-weightb:no-rect:no-amp:vbv-bufsize=0:vbv-maxrate=0:vbv-init=0.9:no-slow-firstpass:no-strict-cbr:qcomp=0.6:qstep=4:aq-mode=1:aq-strength=1.0:cutree:no-early-skip:ctu=64:no-fast-cfb:ipratio=1.4:pbratio=1.3:cbqpoffs=0:crqpoffs=0:rd=3:psy-rd=0.3:psy-rdoq=1:b-intra:no-fast-intra:rdoq-level=1:no-tskip:no-tskip-fast:cu-lossless:tu-intra-depth=1:tu-inter-depth=1:strong-intra-smoothing:no-constrained-intra:nr-intra=0:nr-inter=0:qblur=0.5:cplxblur=20:signhide:sar=16 -map 0:a:0 -c:a copy -map 0:a:1 -c:a copy -map 0:s:0 -c:s copy -map 0:s:1 -c:s copy "H:\videotest\outputaxsxafccs.mkv"

there is an error in the command line string or it's a bug?

Change History (3)

comment:1 by ZMachine, 6 years ago

Component: undeterminedffmpeg
Version: unspecified2.5.4

comment:2 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Keywords: libx265 added
Version: 2.5.4unspecified

Please test current FFmpeg git head with a simplified command line and provide the complete, uncut console output to make this a valid ticket.

comment:3 by Carl Eugen Hoyos, 6 years ago

Resolution: needs_more_info
Status: newclosed
Note: See TracTickets for help on using tickets.