x265 crashing,...

Issue #264 resolved
Selur created an issue

when calling:

ffmpeg -threads 8 -i "F:\input.mkv" -map 0:0 -an -sn  -r 24000/1001  -strict -1 -pix_fmt yuv420p10  -f yuv4mpegpipe - | x265 --preset slower --pme --input - --output-depth 10 --y4m --profile main10 --no-open-gop --crf 18.00 --psy-rdoq 15.00 --range limited --colormatrix bt709 --output "H:\Temp\19_41_53_1710_02.265"
ffmpeg version N-79276-gde9abfe-gb0c026a+1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (Rev5, Built by MSYS2 project)
  configuration:  --disable-w32threads --enable-fontconfig --enable-gcrypt --enable-libass --enable-libbluray --enable-libbs2b --enable-libfreetype --enable-libfribidi --enable-libkvazaar --enable-libmp3lame --enable-libopus --enable-libsoxr --enable-libspeex --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avisynth --enable-gpl --disable-debug
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'F:\input.mkv':
  Metadata:
    encoder         : libx264 + libebml + libmatroska + libfastrar
    creation_time   : 2016-04-27 02:13:00
  Duration: 00:41:19.23, start: 0.000000, bitrate: 4265 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
[yuv4mpegpipe @ 000001fd2d9de020] Warning: generating non standard YUV stream. Mjpegtools will not work.
Output #0, yuv4mpegpipe, to 'pipe:':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Video: wrapped_avframe, yuv420p10le, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc57.34.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
y4m  [info]: 1280x720 fps 24000/1001 i420p10 sar 1:1 unknown frame count
raw  [info]: output file: H:\Temp\19_41_53_1710_02.265
x265 [info]: HEVC encoder version 1.9+150-00ea3784bd36c164
x265 [info]: build info [Windows][GCC 5.3.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features       : 3 / wpp(12 rows)+pme
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut       : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt        : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 1
x265 [info]: References / ref-limit  cu / depth  : 4 / on / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=15.00
x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
I get an exception window from x265 and when I close it, I get:
av_interleaved_write_frame(): Broken pipeB time=00:00:20.85 bitrate=530312.5kbits/s speed=0.0589x
Error writing trailer of pipe:: Broken pipeframe=  501 fps=1.4 q=-0.0 Lsize= 1352703kB time=00:00:20.89 bitrate=530312.5kbits/s speed=0.059x
video:239kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 566458.625000%
Conversion failed!

creating the y4m file with ffmpeg (ffmpeg -threads 8 -i "F:\input.mkv" -map 0:0 -an -sn -r 24000/1001 -strict -1 -pix_fmt yuv420p10 -f yuv4mpegpipe h:\test.y4m) works fine, so I guess this is x265 related,... (if need be I can upload the ffmpeg,x265 binary and the source somewhere,..)

btw. highest selectable version in the bug tracker here is still 1.7,....

Comments (4)

  1. Selur reporter

    Seems like the problem with mingw64 did cause the problem on my end, made new builds and now it works. :)(same thing with VS builds)

  2. Log in to comment