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