[FFmpeg-trac] #5715(avcodec:new): FFMpeg 3.1.1 doesn't pass any options to x265 2.0 when using x265-params

FFmpeg trac at avcodec.org
Fri Jul 15 15:48:18 EEST 2016

#5715: FFMpeg 3.1.1 doesn't pass any options to x265 2.0 when using x265-params
             Reporter:  birdie   |                     Type:  defect
               Status:  new      |                 Priority:  critical
            Component:  avcodec  |                  Version:  git-master
             Keywords:  x265     |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
 Summary of the bug:
 How to reproduce:
 $ ffmpeg -i 1.mkv -c:v libx265 -preset placebo -x265-params crf=22:rdoq-
 level=1:merange=40:ctu=32:max-tu-size=16:no-sao out.mkv
 ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 4.8
   configuration: --prefix=/var/encode --enable-gpl --enable-version3
 --enable-nonfree --enable-gray --enable-avresample --enable-libfdk-aac
 --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-
 libopenjpeg --enable-libopus --enable-libx264 --enable-libx265 --enable-
 libxvid --enable-pthreads --extra-libs='-ldl -lstdc++'

 The resulting file has a different CRF, different rdoq-level, merange,
 ctu, etc. etc. etc. :

 x265 (build 87) - 2.0:[Linux]
 [GCC 4.8.4][64 bit] 8bit - H.265/HEVC codec - Copyright 2013-2015 (c)
 Multicoreware Inc - http://x265.org - options: 640x480 fps=15/1 bitdepth=8
 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=4 tu-inter-depth=4
 me=3 subme=5 merange=92 rect amp max-merge=5 temporal-mvp no-early-skip
 no-rskip rdpenalty=0 tskip no-tskip-fast strong-intra-smoothing no-
 lossless no-cu-lossless no-constrained-intra no-fast-intra open-gop no-
 temporal-layers interlace=0 keyint=250 min-keyint=15 scenecut=40 rc-
 lookahead=60 lookahead-slices=0 bframes=8 bframe-bias=0 b-adapt=2 ref=5
 limit-refs=0 no-limit-modes weightp weightb aq-mode=1 qg-size=32 aq-
 strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=2 psy-
 rdoq=1.00 no-rd-refine signhide deblock=0:0 sao no-sao-non-deblock
 b-pyramid cutree no-intra-refresh rc=crf crf=28.0 qcomp=0.60 qpmin=0
 qpmax=51 qpstep=4 ipratio=1.40 pbratio=1.30

 Perhaps it's a dupe of bug 4284 but this time everything is even more

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

More information about the FFmpeg-trac mailing list