[FFmpeg-trac] #5683(avfilter:closed): crashes of ffmpeg and ffplay when using zscale

FFmpeg trac at avcodec.org
Wed Feb 22 10:05:22 EET 2017


#5683: crashes of ffmpeg and ffplay when using zscale
------------------------------------+--------------------------------------
             Reporter:  ponpon      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  important   |                Component:  avfilter
              Version:  git-master  |               Resolution:  worksforme
             Keywords:  zscale      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------

Comment (by ponpon):

 can't zimg treat with raw video?
 don't option npl work?

 good result
 codec utvideo
 format mkv
 {{{
  ./ffmpeg -y -i "akiyo_qcif.y4m" -c:v utvideo test.mkv
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, yuv4mpegpipe, from 'akiyo_qcif.y4m':
   Duration: 00:00:10.01, start: 0.000000, bitrate: 9116 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449),
 yuv420p(progressive), 176x144, SAR 128:117 DAR 1408:1053, 29.97 fps, 29.97
 tbr, 29.97 tbn, 29.97 tbc
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: utvideo (ULY0 / 0x30594C55), yuv420p, 176x144 [SAR
 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.80.101 utvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> utvideo (native))
 Press [q] to stop, [?] for help
 frame=  300 fps=0.0 q=-0.0 Lsize=    5712kB time=00:00:09.97
 bitrate=4689.8kbits/s speed= 300x
 video:5697kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.264765%

 ./ffmpeg -y -i "test.mkv" -vf "zscale=size=cif:f=lanczos" -c:v utvideo
 test2.mkv
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, matroska,webm, from 'test.mkv':
   Metadata:
     ENCODER         : Lavf57.66.102
   Duration: 00:00:10.01, start: 0.000000, bitrate: 4674 kb/s
     Stream #0:0: Video: utvideo (ULY0 / 0x30594C55),
 yuv420p(bt470bg/unknown/unknown, progressive), 176x144, SAR 128:117 DAR
 1408:1053, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       ENCODER         : Lavc57.80.101 utvideo
       DURATION        : 00:00:10.010000000
 [zscale @ 0x7f7f555000e0] Value nan for parameter 'npl' out of range [0 -
 1.79769e+308]
 Output #0, matroska, to 'test2.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: utvideo (ULY0 / 0x30594C55), yuv420p, 352x288 [SAR
 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
 (default)
     Metadata:
       DURATION        : 00:00:10.010000000
       encoder         : Lavc57.80.101 utvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (utvideo (native) -> utvideo (native))
 Press [q] to stop, [?] for help
 frame=  300 fps=0.0 q=-0.0 Lsize=   18122kB time=00:00:09.97
 bitrate=14878.4kbits/s speed=57.4x
 video:18107kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.083477%
 }}}

 bad result
 raw video
 {{{
  ./ffmpeg -y -i "akiyo_qcif.y4m" -vf "zscale=size=cif:f=lanczos" test.mkv
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, yuv4mpegpipe, from 'akiyo_qcif.y4m':
   Duration: 00:00:10.01, start: 0.000000, bitrate: 9116 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449),
 yuv420p(progressive), 176x144, SAR 128:117 DAR 1408:1053, 29.97 fps, 29.97
 tbr, 29.97 tbn, 29.97 tbc
 [zscale @ 0x7ff5c2d000e0] Value nan for parameter 'npl' out of range [0 -
 1.79769e+308]
 [libx264 @ 0x7ff5c300de00] using SAR=128/117
 [libx264 @ 0x7ff5c300de00] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 0x7ff5c300de00] profile High, level 1.3
 [libx264 @ 0x7ff5c300de00] 264 - core 148 r2773 0674e73 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
 352x288 [SAR 128:117 DAR 1408:1053], q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.80.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 Segmentation fault: 11

 lldb ./ffmpeg_g
 (lldb) target create "./ffmpeg_g"
 Current executable set to './ffmpeg_g' (x86_64).
 (lldb)  r -i "akiyo_qcif.y4m" -vf "zscale=size=cif:f=lanczos" test.mkv
 Process 13886 launched: './ffmpeg_g' (x86_64)
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, yuv4mpegpipe, from 'akiyo_qcif.y4m':
   Duration: 00:00:10.01, start: 0.000000, bitrate: 9116 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449),
 yuv420p(progressive), 176x144, SAR 128:117 DAR 1408:1053, 29.97 fps, 29.97
 tbr, 29.97 tbn, 29.97 tbc
 [zscale @ 0x1052006c0] Value nan for parameter 'npl' out of range [0 -
 1.79769e+308]
 [libx264 @ 0x104808c00] using SAR=128/117
 [libx264 @ 0x104808c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x104808c00] profile High, level 1.3
 [libx264 @ 0x104808c00] 264 - core 148 r2773 0674e73 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
 352x288 [SAR 128:117 DAR 1408:1053], q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.80.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 Process 13886 stopped
 * thread #1: tid = 0x13843, 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195, queue = 'com.apple.main-thread',
 stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
     frame #0: 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2:
 ->  0x100d72813 <+195>: vmovdqa (%rdi,%rax), %xmm2
     0x100d72818 <+200>: vpmovzxbw %xmm2, %xmm3              ; xmm3 =
 xmm2[0],zero,xmm2[1],zero,xmm2[2],zero,xmm2[3],zero,xmm2[4],zero,xmm2[5],zero,xmm2[6],zero,xmm2[7],zero
     0x100d7281d <+205>: vpunpckhbw %xmm1, %xmm2, %xmm2       ; xmm2 =
 xmm2[8],xmm1[8],xmm2[9],xmm1[9],xmm2[10],xmm1[10],xmm2[11],xmm1[11],xmm2[12],xmm1[12],xmm2[13],xmm1[13],xmm2[14],xmm1[14],xmm2[15],xmm1[15]
     0x100d72821 <+209>: vpsllw %xmm0, %xmm3, %xmm3
 (lldb) bt
 * thread #1: tid = 0x13843, 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195, queue = 'com.apple.main-thread',
 stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
   * frame #0: 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
     frame #1: 0x0000000100d99ab0 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 240
     frame #2: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #3: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #4: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #5: 0x0000000100d98339
 ffmpeg_g`zimg::graph::FilterGraph::impl::process(zimg::graph::ImageBuffer<void
 const> const*, zimg::graph::ImageBuffer<void> const*, void*,
 zimg::graph::FilterGraph::callback, zimg::graph::FilterGraph::callback)
 const + 713
     frame #6: 0x0000000100d9805b
 ffmpeg_g`zimg::graph::FilterGraph::process(zimg::graph::ImageBuffer<void
 const> const*, zimg::graph::ImageBuffer<void> const*, void*,
 zimg::graph::FilterGraph::callback, zimg::graph::FilterGraph::callback)
 const + 27
     frame #7: 0x0000000100da951f ffmpeg_g`zimg_filter_graph_process + 319
     frame #8: 0x0000000100175a4c ffmpeg_g`filter_frame(link=<unavailable>,
 in=<unavailable>) + 2988 at vf_zscale.c:617 [opt]
     frame #9: 0x00000001000717bb ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_frame_framed(link=<unavailable>, frame=0x00000001046093c0) + 34
 at avfilter.c:1118 [opt]
     frame #10: 0x0000000100071799 ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_frame_to_filter(link=<unavailable>) at avfilter.c:1266 [opt]
     frame #11: 0x0000000100071799 ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_activate_default(filter=<unavailable>) + 1659 at avfilter.c:1317
 [opt]
     frame #12: 0x000000010007111e
 ffmpeg_g`ff_filter_activate(filter=<unavailable>) + 126 at avfilter.c:1479
 [opt]
     frame #13: 0x00000001000768d8 ffmpeg_g`av_buffersrc_add_frame_internal
 [inlined] push_frame(graph=<unavailable>) + 17 at buffersrc.c:181 [opt]
     frame #14: 0x00000001000768c7
 ffmpeg_g`av_buffersrc_add_frame_internal(ctx=<unavailable>,
 frame=<unavailable>, flags=<unavailable>) + 551 at buffersrc.c:262 [opt]
     frame #15: 0x00000001000765c6
 ffmpeg_g`av_buffersrc_add_frame_flags(ctx=0x0000000105200ac0,
 frame=0x0000000104608fa0, flags=4) + 86 at buffersrc.c:164 [opt]
     frame #16: 0x00000001000217dc
 ffmpeg_g`send_frame_to_filters(ist=<unavailable>,
 decoded_frame=<unavailable>) + 124 at ffmpeg.c:2082 [opt]
     frame #17: 0x000000010001d5d0 ffmpeg_g`process_input_packet [inlined]
 decode_video(ist=<unavailable>, pkt=<unavailable>) + 826 at ffmpeg.c:2362
 [opt]
     frame #18: 0x000000010001d296
 ffmpeg_g`process_input_packet(ist=<unavailable>, pkt=<unavailable>,
 no_eof=<unavailable>) + 5254 at ffmpeg.c:2491 [opt]
     frame #19: 0x0000000100019144 ffmpeg_g`transcode [inlined]
 process_input + 1330 at ffmpeg.c:4251 [opt]
     frame #20: 0x0000000100018c12 ffmpeg_g`transcode [inlined]
 transcode_step + 5723 at ffmpeg.c:4339 [opt]
     frame #21: 0x00000001000175b7 ffmpeg_g`transcode + 8951 at
 ffmpeg.c:4393 [opt]
     frame #22: 0x0000000100014b51 ffmpeg_g`main(argc=<unavailable>,
 argv=<unavailable>) + 337 at ffmpeg.c:4598 [opt]
     frame #23: 0x00007fff9adf4255 libdyld.dylib`start + 1
 (lldb) register read --all
 General Purpose Registers:
        rax = 0x0000000000000000
        rbx = 0x0000000106908e00
        rcx = 0x0000000000000000
        rdx = 0x0000000000000000
        rdi = 0x0000000106012f58
        rsi = 0x0000000106908f40
        rbp = 0x00007fff5fbfd070
        rsp = 0x00007fff5fbfd070
         r8 = 0x0000000000000058
         r9 = 0x0000000000000008
        r10 = 0x0000000000000050
        r11 = 0x0000000000000000
        r12 = 0x0000000104609c40
        r13 = 0x0000000000000001
        r14 = 0x00007fff5fbfd3f0
        r15 = 0x00007fff5fbfd2b8
        rip = 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
     rflags = 0x0000000000010283
         cs = 0x000000000000002b
         fs = 0x0000000000000000
         gs = 0x0000000000000000
        eax = 0x00000000
        ebx = 0x06908e00
        ecx = 0x00000000
        edx = 0x00000000
        edi = 0x06012f58
        esi = 0x06908f40
        ebp = 0x5fbfd070
        esp = 0x5fbfd070
        r8d = 0x00000058
        r9d = 0x00000008
       r10d = 0x00000050
       r11d = 0x00000000
       r12d = 0x04609c40
       r13d = 0x00000001
       r14d = 0x5fbfd3f0
       r15d = 0x5fbfd2b8
         ax = 0x0000
         bx = 0x8e00
         cx = 0x0000
         dx = 0x0000
         di = 0x2f58
         si = 0x8f40
         bp = 0xd070
         sp = 0xd070
        r8w = 0x0058
        r9w = 0x0008
       r10w = 0x0050
       r11w = 0x0000
       r12w = 0x9c40
       r13w = 0x0001
       r14w = 0xd3f0
       r15w = 0xd2b8
         ah = 0x00
         bh = 0x8e
         ch = 0x00
         dh = 0x00
         al = 0x00
         bl = 0x00
         cl = 0x00
         dl = 0x00
        dil = 0x58
        sil = 0x40
        bpl = 0x70
        spl = 0x70
        r8l = 0x58
        r9l = 0x08
       r10l = 0x50
       r11l = 0x00
       r12l = 0x40
       r13l = 0x01
       r14l = 0xf0
       r15l = 0xb8

 Floating Point Registers:
      fctrl = 0x037f
      fstat = 0x0000
       ftag = 0x00
        fop = 0x0000
      fioff = 0x00000000
      fiseg = 0x0000
      fooff = 0x00000000
      foseg = 0x0000
      mxcsr = 0x00001fac
   mxcsrmask = 0x0000ffff
      stmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm1 = {0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm3 = {0x1a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm4 = {0x00 0xe5 0xe9 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm7 = {0x44 0xfd 0xb0 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
       ymm0 = {0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm3 = {0x00 0x82 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81
 0x00 0x82 0x00 0x81 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm4 = {0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff
 0x00 0x80 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm5 = {0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80
 0x00 0x80 0x00 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm6 = {0x2b 0x80 0xff 0xff 0x27 0x80 0xff 0xff 0x1f 0x80 0xff 0xff
 0x1a 0x80 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm7 = {0x00 0x88 0x2c 0x42 0x00 0x40 0x1d 0x42 0x00 0x60 0xfb 0x41
 0x00 0x98 0xcc 0x41 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm8 = {0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
 0xff 0xff 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm10 = {0x50 0x27 0x44 0x28 0xae 0x27 0x7a 0x29 0xa5 0x28 0xa5 0x28
 0x12 0x29 0x71 0x29 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm11 = {0x7d 0x1f 0x6c 0x1f 0x41 0x20 0x6d 0x20 0x7f 0x20 0x7f 0x20
 0xb9 0x20 0x7d 0x21 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm12 = {0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13
 0x9c 0x30 0x45 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm13 = {0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00
 0xa6 0xfb 0x79 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm15 = {0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00
 0x00 0x20 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       xmm0 = {0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm3 = {0x00 0x82 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81
 0x00 0x82 0x00 0x81}
       xmm4 = {0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff
 0x00 0x80 0xff 0xff}
       xmm5 = {0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80
 0x00 0x80 0x00 0x80}
       xmm6 = {0x2b 0x80 0xff 0xff 0x27 0x80 0xff 0xff 0x1f 0x80 0xff 0xff
 0x1a 0x80 0xff 0xff}
       xmm7 = {0x00 0x88 0x2c 0x42 0x00 0x40 0x1d 0x42 0x00 0x60 0xfb 0x41
 0x00 0x98 0xcc 0x41}
       xmm8 = {0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
 0xff 0xff 0xff 0xff}
       xmm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
      xmm10 = {0x50 0x27 0x44 0x28 0xae 0x27 0x7a 0x29 0xa5 0x28 0xa5 0x28
 0x12 0x29 0x71 0x29}
      xmm11 = {0x7d 0x1f 0x6c 0x1f 0x41 0x20 0x6d 0x20 0x7f 0x20 0x7f 0x20
 0xb9 0x20 0x7d 0x21}
      xmm12 = {0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13
 0x9c 0x30 0x45 0x13}
      xmm13 = {0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00
 0xa6 0xfb 0x79 0x00}
      xmm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
      xmm15 = {0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00
 0x00 0x20 0x00 0x00}

 Exception State Registers:
     trapno = 0x0000000d
        err = 0x00000000
   faultvaddr = 0x0000000100d736f0
 ffmpeg_g`zimg::depth::ordered_dither_w2b_sse2(float const*, unsigned int,
 unsigned int, void const*, void*, float, float, unsigned int, unsigned
 int, unsigned int)
 }}}

 raw video with npl
 {{{
 ./ffmpeg -y -i "akiyo_qcif.y4m" -vf "zscale=size=cif:f=lanczos:npl=50"
 test.mkv
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, yuv4mpegpipe, from 'akiyo_qcif.y4m':
   Duration: 00:00:10.01, start: 0.000000, bitrate: 9116 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449),
 yuv420p(progressive), 176x144, SAR 128:117 DAR 1408:1053, 29.97 fps, 29.97
 tbr, 29.97 tbn, 29.97 tbc
 [zscale @ 0x7fc520500500] Value nan for parameter 'npl' out of range [0 -
 1.79769e+308]
 [libx264 @ 0x7fc521000600] using SAR=128/117
 [libx264 @ 0x7fc521000600] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 0x7fc521000600] profile High, level 1.3
 [libx264 @ 0x7fc521000600] 264 - core 148 r2773 0674e73 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
 352x288 [SAR 128:117 DAR 1408:1053], q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.80.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 Segmentation fault: 11

 lldb ./ffmpeg_g
 (lldb) target create "./ffmpeg_g"
 Current executable set to './ffmpeg_g' (x86_64).
 (lldb) r -y -i "akiyo_qcif.y4m" -vf "zscale=size=cif:f=lanczos:npl=50"
 test.mkv
 Process 14176 launched: './ffmpeg_g' (x86_64)
 ffmpeg version N-83606-gc9e3952 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with clang version 3.8.1 (tags/RELEASE_381/final)
   configuration: --prefix=/sw --disable-shared --enable-static --enable-
 gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast
 --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native
 -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib
 -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib
 -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-
 avresample --enable-libfdk-aac --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt
 --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig
 --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-
 libschroedinger --enable-libmodplug --enable-lzma --enable-libx264
 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr
 --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, yuv4mpegpipe, from 'akiyo_qcif.y4m':
   Duration: 00:00:10.01, start: 0.000000, bitrate: 9116 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449),
 yuv420p(progressive), 176x144, SAR 128:117 DAR 1408:1053, 29.97 fps, 29.97
 tbr, 29.97 tbn, 29.97 tbc
 [zscale @ 0x105a021c0] Value nan for parameter 'npl' out of range [0 -
 1.79769e+308]
 [libx264 @ 0x106014000] using SAR=128/117
 [libx264 @ 0x106014000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX
 [libx264 @ 0x106014000] profile High, level 1.3
 [libx264 @ 0x106014000] 264 - core 148 r2773 0674e73 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
 352x288 [SAR 128:117 DAR 1408:1053], q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.80.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 Process 14176 stopped
 * thread #1: tid = 0x16aa8, 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195, queue = 'com.apple.main-thread',
 stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
     frame #0: 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2:
 ->  0x100d72813 <+195>: vmovdqa (%rdi,%rax), %xmm2
     0x100d72818 <+200>: vpmovzxbw %xmm2, %xmm3              ; xmm3 =
 xmm2[0],zero,xmm2[1],zero,xmm2[2],zero,xmm2[3],zero,xmm2[4],zero,xmm2[5],zero,xmm2[6],zero,xmm2[7],zero
     0x100d7281d <+205>: vpunpckhbw %xmm1, %xmm2, %xmm2       ; xmm2 =
 xmm2[8],xmm1[8],xmm2[9],xmm1[9],xmm2[10],xmm1[10],xmm2[11],xmm1[11],xmm2[12],xmm1[12],xmm2[13],xmm1[13],xmm2[14],xmm1[14],xmm2[15],xmm1[15]
     0x100d72821 <+209>: vpsllw %xmm0, %xmm3, %xmm3
 (lldb) bt
 * thread #1: tid = 0x16aa8, 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195, queue = 'com.apple.main-thread',
 stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
   * frame #0: 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
     frame #1: 0x0000000100d99ab0 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 240
     frame #2: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #3: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #4: 0x0000000100d99a69 ffmpeg_g`zimg::graph::(anonymous
 namespace)::FilterNodeUV::generate_line(zimg::graph::(anonymous
 namespace)::ExecutionState*, zimg::graph::ImageBuffer<void> const*,
 unsigned int, bool) const + 169
     frame #5: 0x0000000100d98339
 ffmpeg_g`zimg::graph::FilterGraph::impl::process(zimg::graph::ImageBuffer<void
 const> const*, zimg::graph::ImageBuffer<void> const*, void*,
 zimg::graph::FilterGraph::callback, zimg::graph::FilterGraph::callback)
 const + 713
     frame #6: 0x0000000100d9805b
 ffmpeg_g`zimg::graph::FilterGraph::process(zimg::graph::ImageBuffer<void
 const> const*, zimg::graph::ImageBuffer<void> const*, void*,
 zimg::graph::FilterGraph::callback, zimg::graph::FilterGraph::callback)
 const + 27
     frame #7: 0x0000000100da951f ffmpeg_g`zimg_filter_graph_process + 319
     frame #8: 0x0000000100175a4c ffmpeg_g`filter_frame(link=<unavailable>,
 in=<unavailable>) + 2988 at vf_zscale.c:617 [opt]
     frame #9: 0x00000001000717bb ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_frame_framed(link=<unavailable>, frame=0x0000000105a0d5a0) + 34
 at avfilter.c:1118 [opt]
     frame #10: 0x0000000100071799 ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_frame_to_filter(link=<unavailable>) at avfilter.c:1266 [opt]
     frame #11: 0x0000000100071799 ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_activate_default(filter=<unavailable>) + 1659 at avfilter.c:1317
 [opt]
     frame #12: 0x000000010007111e
 ffmpeg_g`ff_filter_activate(filter=<unavailable>) + 126 at avfilter.c:1479
 [opt]
     frame #13: 0x00000001000768d8 ffmpeg_g`av_buffersrc_add_frame_internal
 [inlined] push_frame(graph=<unavailable>) + 17 at buffersrc.c:181 [opt]
     frame #14: 0x00000001000768c7
 ffmpeg_g`av_buffersrc_add_frame_internal(ctx=<unavailable>,
 frame=<unavailable>, flags=<unavailable>) + 551 at buffersrc.c:262 [opt]
     frame #15: 0x00000001000765c6
 ffmpeg_g`av_buffersrc_add_frame_flags(ctx=0x0000000105a025e0,
 frame=0x0000000105a0d180, flags=4) + 86 at buffersrc.c:164 [opt]
     frame #16: 0x00000001000217dc
 ffmpeg_g`send_frame_to_filters(ist=<unavailable>,
 decoded_frame=<unavailable>) + 124 at ffmpeg.c:2082 [opt]
     frame #17: 0x000000010001d5d0 ffmpeg_g`process_input_packet [inlined]
 decode_video(ist=<unavailable>, pkt=<unavailable>) + 826 at ffmpeg.c:2362
 [opt]
     frame #18: 0x000000010001d296
 ffmpeg_g`process_input_packet(ist=<unavailable>, pkt=<unavailable>,
 no_eof=<unavailable>) + 5254 at ffmpeg.c:2491 [opt]
     frame #19: 0x0000000100019144 ffmpeg_g`transcode [inlined]
 process_input + 1330 at ffmpeg.c:4251 [opt]
     frame #20: 0x0000000100018c12 ffmpeg_g`transcode [inlined]
 transcode_step + 5723 at ffmpeg.c:4339 [opt]
     frame #21: 0x00000001000175b7 ffmpeg_g`transcode + 8951 at
 ffmpeg.c:4393 [opt]
     frame #22: 0x0000000100014b51 ffmpeg_g`main(argc=<unavailable>,
 argv=<unavailable>) + 337 at ffmpeg.c:4598 [opt]
     frame #23: 0x00007fff9adf4255 libdyld.dylib`start + 1
 (lldb) register read --all
 General Purpose Registers:
        rax = 0x0000000000000000
        rbx = 0x00000001061ab600
        rcx = 0x0000000000000000
        rdx = 0x0000000000000000
        rdi = 0x000000010600ef58
        rsi = 0x00000001061ab740
        rbp = 0x00007fff5fbfd050
        rsp = 0x00007fff5fbfd050
         r8 = 0x0000000000000058
         r9 = 0x0000000000000008
        r10 = 0x0000000000000050
        r11 = 0x0000000000000000
        r12 = 0x0000000105a0dd80
        r13 = 0x0000000000000001
        r14 = 0x00007fff5fbfd3d0
        r15 = 0x00007fff5fbfd298
        rip = 0x0000000100d72813
 ffmpeg_g`zimg::depth::left_shift_b2w_sse2(void const*, void*, unsigned
 int, unsigned int, unsigned int) + 195
     rflags = 0x0000000000010283
         cs = 0x000000000000002b
         fs = 0x0000000000000000
         gs = 0x0000000000000000
        eax = 0x00000000
        ebx = 0x061ab600
        ecx = 0x00000000
        edx = 0x00000000
        edi = 0x0600ef58
        esi = 0x061ab740
        ebp = 0x5fbfd050
        esp = 0x5fbfd050
        r8d = 0x00000058
        r9d = 0x00000008
       r10d = 0x00000050
       r11d = 0x00000000
       r12d = 0x05a0dd80
       r13d = 0x00000001
       r14d = 0x5fbfd3d0
       r15d = 0x5fbfd298
         ax = 0x0000
         bx = 0xb600
         cx = 0x0000
         dx = 0x0000
         di = 0xef58
         si = 0xb740
         bp = 0xd050
         sp = 0xd050
        r8w = 0x0058
        r9w = 0x0008
       r10w = 0x0050
       r11w = 0x0000
       r12w = 0xdd80
       r13w = 0x0001
       r14w = 0xd3d0
       r15w = 0xd298
         ah = 0x00
         bh = 0xb6
         ch = 0x00
         dh = 0x00
         al = 0x00
         bl = 0x00
         cl = 0x00
         dl = 0x00
        dil = 0x58
        sil = 0x40
        bpl = 0x50
        spl = 0x50
        r8l = 0x58
        r9l = 0x08
       r10l = 0x50
       r11l = 0x00
       r12l = 0x80
       r13l = 0x01
       r14l = 0xd0
       r15l = 0x98

 Floating Point Registers:
      fctrl = 0x037f
      fstat = 0x0000
       ftag = 0x00
        fop = 0x0000
      fioff = 0x00000000
      fiseg = 0x0000
      fooff = 0x00000000
      foseg = 0x0000
      mxcsr = 0x00001fac
   mxcsrmask = 0x0000ffff
      stmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm1 = {0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm3 = {0x1a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm4 = {0x00 0xe5 0xe9 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
      stmm5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
      stmm7 = {0x44 0xfd 0xb0 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
       ymm0 = {0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm3 = {0x00 0x82 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81
 0x00 0x82 0x00 0x81 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm4 = {0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff
 0x00 0x80 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm5 = {0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80
 0x00 0x80 0x00 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm6 = {0x2b 0x80 0xff 0xff 0x27 0x80 0xff 0xff 0x1f 0x80 0xff 0xff
 0x1a 0x80 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm7 = {0x00 0x88 0x2c 0x42 0x00 0x40 0x1d 0x42 0x00 0x60 0xfb 0x41
 0x00 0x98 0xcc 0x41 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm8 = {0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
 0xff 0xff 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       ymm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm10 = {0x50 0x27 0x44 0x28 0xae 0x27 0x7a 0x29 0xa5 0x28 0xa5 0x28
 0x12 0x29 0x71 0x29 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm11 = {0x7d 0x1f 0x6c 0x1f 0x41 0x20 0x6d 0x20 0x7f 0x20 0x7f 0x20
 0xb9 0x20 0x7d 0x21 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm12 = {0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13
 0x9c 0x30 0x45 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm13 = {0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00
 0xa6 0xfb 0x79 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
      ymm15 = {0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00
 0x00 0x20 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00 0x00}
       xmm0 = {0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
       xmm3 = {0x00 0x82 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81 0x00 0x81
 0x00 0x82 0x00 0x81}
       xmm4 = {0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff 0x00 0x80 0xff 0xff
 0x00 0x80 0xff 0xff}
       xmm5 = {0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80 0x00 0x80
 0x00 0x80 0x00 0x80}
       xmm6 = {0x2b 0x80 0xff 0xff 0x27 0x80 0xff 0xff 0x1f 0x80 0xff 0xff
 0x1a 0x80 0xff 0xff}
       xmm7 = {0x00 0x88 0x2c 0x42 0x00 0x40 0x1d 0x42 0x00 0x60 0xfb 0x41
 0x00 0x98 0xcc 0x41}
       xmm8 = {0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
 0xff 0xff 0xff 0xff}
       xmm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
      xmm10 = {0x50 0x27 0x44 0x28 0xae 0x27 0x7a 0x29 0xa5 0x28 0xa5 0x28
 0x12 0x29 0x71 0x29}
      xmm11 = {0x7d 0x1f 0x6c 0x1f 0x41 0x20 0x6d 0x20 0x7f 0x20 0x7f 0x20
 0xb9 0x20 0x7d 0x21}
      xmm12 = {0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13 0x9c 0x30 0x45 0x13
 0x9c 0x30 0x45 0x13}
      xmm13 = {0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00 0xa6 0xfb 0x79 0x00
 0xa6 0xfb 0x79 0x00}
      xmm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 0x00 0x00 0x00 0x00}
      xmm15 = {0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00 0x00 0x20 0x00 0x00
 0x00 0x20 0x00 0x00}

 Exception State Registers:
     trapno = 0x0000000d
        err = 0x00000000
   faultvaddr = 0x0000000100d736f0
 ffmpeg_g`zimg::depth::ordered_dither_w2b_sse2(float const*, unsigned int,
 unsigned int, void const*, void*, float, float, unsigned int, unsigned
 int, unsigned int)
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5683#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list