-x265-params crf=18jakkor wrote:Hey
Since 09.03.2014 version ffmpeg included libx265 but crf doesn't work command line
ffmpeg.exe -i video.mkv -vcodec libx265 -preset veryslow -b:crf 24 video265.mp4
bitrate always too low about 400kb and doesnt deppend crf=20 crf=26 still bitrate and size the same
Code: Select all
>ffmpeg -i test.avs -vcodec libx265 -preset ultrafast -x265-params crf=18 test.mkv
ffmpeg version r65795 git-e9feeae Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 20 2014 17:40:56 with gcc 4.9.1 (GCC)
libavutil 54. 5.100 / 54. 5.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 1.100 / 56. 1.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.101 / 5. 0.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, avisynth, from 'test.avs':
Duration: 00:00:10.00, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 440x80, 24 fps, 24 tbr, 24 tbn, 24 tbc
File 'test.mkv' already exists. Overwrite ? [y/N] y
x265 [info]: HEVC encoder version 1.2+575-80129b1b6260
x265 [info]: build info [Windows][GCC 4.9.1][32 bit] 8bpp
x265 [info]: using cpu capabilities: MMX2 SSE Cache32
x265 [info]: Parallelism disabled, single thread mode
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: CU size : 32
x265 [info]: Max RQT depth inter / intra : 1 / 1
x265 [info]: ME / range / subpel / merge : dia / 25 / 0 / 2
x265 [info]: Keyframe min / max / scenecut : 24 / 250 / 0
x265 [info]: Lookahead / bframes / badapt : 10 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 0 / 0 / 1
x265 [info]: Rate Control / AQ-Strength / CUTree : CRF-18.0 / 0.0 / 0
x265 [info]: tools: cfm esd rd=2 fast-intra
Output #0, matroska, to 'test.mkv':
Metadata:
encoder : Lavf56.1.100
Stream #0:0: Video: hevc (libx265), yuv420p, 440x80, q=2-31, 200 kb/s, 24 fps, 1k tbn, 24 tbc
Metadata:
encoder : Lavc56.0.101 libx265
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265))
Press [q] to stop, [?] for help
frame= 240 fps= 13 q=0.0 Lsize= 29kB time=00:00:09.91 bitrate= 23.6kbits/s
video:26kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: 11.501597%
x265 [info]: frame I: 1, Avg QP:15.09 kb/s: 2689.73
x265 [info]: frame P: 48, Avg QP:7.21 kb/s: 29.55
x265 [info]: frame B: 191, Avg QP:9.40 kb/s: 3.95
x265 [info]: global : 240, Avg QP:8.99 kb/s: 20.26
x265 [info]: consecutive B-frames: 2.0% 0.0% 0.0% 2.0% 95.9%