ffmpeg version N-86245-g9a4b8351f7 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.1 (GCC) 20170306 configuration: --extra-cflags='-fsanitize=thread' --extra-ldflags='-fsanitize=thread' --samples=/home/ux/fate-samples --disable-stripping libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 96.101 / 57. 96.101 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 90.100 / 6. 90.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 [hevc @ 0x7d6400018b00] missing picture in access unit Input #0, hevc, from '/home/ux/fate-samples/hevc-conformance/OPFLAG_C_Qualcomm_1.bit': Duration: N/A, bitrate: N/A Stream #0:0: Video: hevc (Main), yuv420p(tv), 832x480, 25 fps, 25 tbr, 1200k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native)) Output #0, framecrc, to 'pipe:': Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 832x480, q=2-31, 119808 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc rawvideo [framecrc @ 0x7d680001da00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly [framecrc @ 0x7d680001da00] Encoder did not produce proper pts, making some up. ================== WARNING: ThreadSanitizer: data race (pid=6850) Write of size 4 at 0x7d6400013dfc by main thread (mutexes: write M1651): #0 update_context_from_user src/libavcodec/pthread_frame.c:335 (ffmpeg+0x000000da7a7c) #1 submit_packet src/libavcodec/pthread_frame.c:396 (ffmpeg+0x000000da7a7c) #2 ff_thread_decode_frame src/libavcodec/pthread_frame.c:490 (ffmpeg+0x000000da7a7c) #3 decode_simple_internal src/libavcodec/decode.c:415 (ffmpeg+0x0000009b1fdc) #4 decode_simple_receive_frame src/libavcodec/decode.c:620 (ffmpeg+0x0000009b3a8a) #5 decode_receive_frame_internal src/libavcodec/decode.c:638 (ffmpeg+0x0000009b3a8a) #6 avcodec_send_packet src/libavcodec/decode.c:678 (ffmpeg+0x0000009b3a8a) #7 decode src/ffmpeg.c:2265 (ffmpeg+0x00000050de45) #8 decode_video src/ffmpeg.c:2409 (ffmpeg+0x00000050de45) #9 process_input_packet src/ffmpeg.c:2644 (ffmpeg+0x000000510c74) #10 process_input src/ffmpeg.c:4428 (ffmpeg+0x0000004d733b) #11 transcode_step src/ffmpeg.c:4539 (ffmpeg+0x0000004d733b) #12 transcode src/ffmpeg.c:4593 (ffmpeg+0x0000004d733b) #13 main src/ffmpeg.c:4798 (ffmpeg+0x0000004d733b) Previous read of size 4 at 0x7d6400013dfc by thread T6: [failed to restore the stack] Location is heap block of size 1160 at 0x7d6400013b00 allocated by main thread: #0 posix_memalign /build/gcc/src/gcc/libsanitizer/tsan/tsan_interceptors.cc:779 (libtsan.so.0+0x000000028229) #1 av_malloc src/libavutil/mem.c:87 (ffmpeg+0x0000016b5b91) #2 ff_frame_thread_init src/libavcodec/pthread_frame.c:768 (ffmpeg+0x000000da9633) #3 ff_thread_init src/libavcodec/pthread.c:77 (ffmpeg+0x0000014a025a) #4 avcodec_open2 src/libavcodec/utils.c:822 (ffmpeg+0x000000f13daa) #5 init_input_stream src/ffmpeg.c:2906 (ffmpeg+0x000000507253) #6 transcode_init src/ffmpeg.c:3649 (ffmpeg+0x000000507253) #7 transcode src/ffmpeg.c:4564 (ffmpeg+0x0000004d5aee) #8 main src/ffmpeg.c:4798 (ffmpeg+0x0000004d5aee) Mutex M1651 (0x7d7c0000c9a0) created at: #0 pthread_mutex_init /build/gcc/src/gcc/libsanitizer/tsan/tsan_interceptors.cc:1091 (libtsan.so.0+0x000000028cbe) #1 ff_frame_thread_init src/libavcodec/pthread_frame.c:771 (ffmpeg+0x000000da9667) #2 ff_thread_init src/libavcodec/pthread.c:77 (ffmpeg+0x0000014a025a) #3 avcodec_open2 src/libavcodec/utils.c:822 (ffmpeg+0x000000f13daa) #4 init_input_stream src/ffmpeg.c:2906 (ffmpeg+0x000000507253) #5 transcode_init src/ffmpeg.c:3649 (ffmpeg+0x000000507253) #6 transcode src/ffmpeg.c:4564 (ffmpeg+0x0000004d5aee) #7 main src/ffmpeg.c:4798 (ffmpeg+0x0000004d5aee) Thread T6 (tid=6921, running) created by main thread at: #0 pthread_create /build/gcc/src/gcc/libsanitizer/tsan/tsan_interceptors.cc:876 (libtsan.so.0+0x000000028490) #1 ff_frame_thread_init src/libavcodec/pthread_frame.c:826 (ffmpeg+0x000000da9895) #2 ff_thread_init src/libavcodec/pthread.c:77 (ffmpeg+0x0000014a025a) #3 avcodec_open2 src/libavcodec/utils.c:822 (ffmpeg+0x000000f13daa) #4 init_input_stream src/ffmpeg.c:2906 (ffmpeg+0x000000507253) #5 transcode_init src/ffmpeg.c:3649 (ffmpeg+0x000000507253) #6 transcode src/ffmpeg.c:4564 (ffmpeg+0x0000004d5aee) #7 main src/ffmpeg.c:4798 (ffmpeg+0x0000004d5aee) SUMMARY: ThreadSanitizer: data race src/libavcodec/pthread_frame.c:335 in update_context_from_user ================== frame= 96 fps=8.0 q=-0.0 Lsize= 6kB time=00:00:03.84 bitrate= 11.8kbits/s speed=0.319x video:56160kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown ThreadSanitizer: reported 1 warnings