![]() Entropy coding: CABAC MaxDecFrameBuffering: 2 MinQPI: 0 MaxQPI: 0 MinQPP: 0 MaxQPP: 0 MinQPB: 0 MaxQPB: 0 AdaptiveI: unknown AdaptiveB: unknown BRefType: off RepeatPPS: ON NumMbPerSlice: 0 LookAheadDS: unknown BitrateLimit: ON MBBRC: OFF ExtBRC: unknown RecoveryPointSEI: OFF IntRefType: 0 IntRefCycleSize: 0 IntRefQPDelta: 0 GopPicSize: 250 GopRefDist: 4 GopOptFlag: closed IdrInterval: 0 Using the constant quantization parameter (CQP) ratecontrol method Initialized an internal MFX session using hardware accelerated implementation deprecated pixel format used, make sure you did set range correctly auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format' Reinit context to 1920x1088, pix_fmt: yuvj420p $ ffmpeg -hide_banner -y -v verbose -i input.mp4 -t 15 -global_quality 10 -c:v h264_qsv -q:v 20 -look_ahead 0 output.mp4 $ ffmpeg -y -v verbose -i input.mp4 -global_quality 50 -c:v h264_qsv -look_ahead 1 -look_ahead_depth 10 output-global_qual3-crf20.mp4 ffmpeg version N-81045-g450cf40 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC)Ĭonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-dxva2 -enable-libmfx -enable-nvenc -enable-avisynth -enable-bzlib -enable-libebur128 -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -enable-libilbc -enable-libmodplug -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-libopus -enable-librtmp -enable-libschroedinger -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-libxvid -enable-libzimg -enable-lzma -enable-decklink -enable-zlib If I use -global_quality 10 -c:v h264_qsv -qscale 20 -look_ahead 0 this results in CQP being selected as the rate control method, but again I can't figure out what parameters to pass via the command line to actually modify the quality/bitrate that the encoder chooses to use. If I set -look_ahead 0, the RateControlMethod changes to "ICQ" and the value of "global_quality" adjusts the bitrate (similar to -crf XX in the libx264 encoder) Changing the value of global_quality makes no difference. On my machine, this mode *invariably* results in an exceptionally high bitrate (hundreds of megabits / second!!!). I get LA_ICQ as the rate control method, but I cannot find any parameter that will change the actual rate control/quality that is used. If I use: -global_quality 5 -c:v h264_qsv -look_ahead 1 -look_ahead_depth 100 I'm able to use the minrate/maxrate/b:v parameters to change the final bitrate for modes that take those parameters, but I have not been able to determine which set of command line options actually impact the CQP/LA_ICQ/ICQ rate control selection? ![]() I'm attempting to benchmark (or just play around with) some of the different ratecontrol methods in the h264_qsv encoder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |