[FFmpeg-trac] #4531(undetermined:new): ffmpeg libx265 2pass encoding do not work properly

FFmpeg trac at avcodec.org
Fri May 1 12:30:15 CEST 2015


#4531: ffmpeg libx265 2pass encoding do not work properly
-------------------------------------+-------------------------------------
             Reporter:  ZMachine     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4531>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list