[x265] Preset ultrafast + 422 or 444 8 bit 1920x1080 shows as 1920x1072 with ffmpeg.
Deepthi Nandakumar
deepthi at multicorewareinc.com
Thu Mar 3 12:07:25 CET 2016
You should ask in the ffmpeg-devel group - you are most likely to get the
right answer there.
On Thu, Mar 3, 2016 at 4:28 PM, Andy Furniss <adf.lists at gmail.com> wrote:
> I notice that with 8bit 422 or 444 encoding and preset ultrafast the
> dimensions of video are changed as seen by ffmpeg.
>
> Initially I guesses min CU size 16 was involved as it's 8 with other
> presets that don't have this issue, but then it's 16 with 420 and 420
> does not have the issue either.
>
> Maybe it's an ffmpeg bug - reference decoder does produce 1920x1080,
> while as shown below ffmpeg shows height as 1072 and players/ffmpeg
> will produce 1072 output.
>
> Can someone say why this is, and why 420 does not behave the same?
>
> Thanks.
>
> x265 --preset ultrafast /mnt/ramdisk/raw-444.y4m
> /mnt/ramdisk/out-265-uf-444.hevc
> y4m [info]: 1920x1080 fps 50/1 i444p8 frames 0 - 499 of 500
> raw [info]: output file: /mnt/ramdisk/out-265-uf-444.hevc
> x265 [info]: HEVC encoder version 1.9
> x265 [info]: build info [Linux][GCC 5.3.0][64 bit] 8bit
> x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
> x265 [info]: Main 4:4:4 profile, Level-4.1 (Main tier)
> x265 [info]: Thread pool created using 4 threads
> x265 [info]: frame threads / pool features : 2 / wpp(34 rows)
> x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
> x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
> x265 [info]: ME / range / subpel / merge : dia / 57 / 0 / 2
> x265 [info]: Keyframe min / max / scenecut : 25 / 250 / 0
> x265 [info]: Cb/Cr QP Offset : 6 / 6
> x265 [info]: Lookahead / bframes / badapt : 5 / 3 / 0
> x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0
> x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
> x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1
> x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
> x265 [info]: tools: rd=2 psy-rd=2.00 early-skip tmvp fast-intra
> x265 [info]: tools: strong-intra-smoothing lslices=6 deblock
> x265 [info]: frame I: 2, Avg QP:32.86 kb/s: 29149.80
> x265 [info]: frame P: 125, Avg QP:34.53 kb/s: 6766.55
> x265 [info]: frame B: 373, Avg QP:37.67 kb/s: 370.39
> x265 [info]: consecutive B-frames: 1.6% 0.8% 0.0% 97.6%
>
> encoded 500 frames in 53.75s (9.30 fps), 2084.55 kb/s, Avg QP:36.86
>
> ffmpeg -i /mnt/ramdisk/out-265-uf-444.hevc
> ffmpeg version N-78859-g5afe918 Copyright (c) 2000-2016 the FFmpeg
> developers
> built with gcc 5.3.0 (GCC)
> configuration: --prefix=/usr --disable-doc --enable-gpl --enable-libzimg
> --enable-libvpx --enable-libx265 --enable-libmp3lame --enable-libx264
> libavutil 55. 19.100 / 55. 19.100
> libavcodec 57. 27.101 / 57. 27.101
> libavformat 57. 27.101 / 57. 27.101
> libavdevice 57. 0.101 / 57. 0.101
> libavfilter 6. 38.100 / 6. 38.100
> libswscale 4. 0.100 / 4. 0.100
> libswresample 2. 0.101 / 2. 0.101
> libpostproc 54. 0.100 / 54. 0.100
> Input #0, hevc, from '/mnt/ramdisk/out-265-uf-444.hevc':
> Duration: N/A, bitrate: N/A
> Stream #0:0: Video: hevc (Rext), yuv444p(tv), 1920x1072, 50 fps, 50
> tbr, 1200k tbn, 50 tbc
> At least one output file must be specified
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
--
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160303/a92bc21c/attachment.html>
More information about the x265-devel
mailing list