Happens sometimes.
[h264 @ 0x7ffff6900880] non-existing PPS 0 referenced
[h264 @ 0x7ffff6900880] non-existing PPS 0 referenced
[h264 @ 0x7ffff6900880] decode_slice_header error
[mp4 @ 0x7ffff028f6c0] track 0: codec frame size is not set
[segment @ 0x7ffff6900340] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 108000 >= 3000
panic: Invalid argument
goroutine 41 [running]:
main.NewRecorder.func1()
.../whipd/rec.go:134 +0x9ef
created by main.NewRecorder in goroutine 34
.../whipd/rec.go:74 +0x8a9
Seems related
Thread 8 "whipd" received signal SIGSEGV, Segmentation fault. [Switching to LWP 3502] 0x00007ffff4e4e26c in av_freep (arg=0x60) at libavutil/mem.c:249 249 memcpy(&val, arg, sizeof(val)); (gdb) bt #0 0x00007ffff4e4e26c in av_freep (arg=0x60) at libavutil/mem.c:249 <a href="/~krystianch/whipd/1" title="~krystianch/whipd#1: WriteInterleavedFrame error">#1</a> 0x00007ffff6a1e588 in avcodec_close () from /usr/lib/libavcodec.so.60 <a href="/~krystianch/whipd/2" title="~krystianch/whipd#2: Segfault on graceful exit">#2</a> 0x00007ffff60a4296 in avformat_find_stream_info (ic=0x7ffff69000c0, options=0x0) at libavformat/demux.c:3022 <a href="/~krystianch/whipd/3" title="~krystianch/whipd#3: panic: io: read/write on closed pipe">#3</a> 0x0000000000ae93db in _cgo_7cf567199d2f_Cfunc_avformat_find_stream_info (v=0xc000074ab8) at /tmp/go-build/cgo-gcc-prolog:294 <a href="/~krystianch/whipd/4" title="~krystianch/whipd#4: panic: Invalid argument">#4</a> 0x000000000047b804 in runtime.asmcgocall () at /usr/lib/go/src/runtime/asm_amd64.s:918 <a href="/~krystianch/whipd/5" title="~krystianch/whipd#5: Unlink socket before binding">#5</a> 0x000000c000282e00 in ?? () <a href="/~krystianch/whipd/6" title="~krystianch/whipd#6: fatal error: sync: unlock of unlocked mutex">#6</a> 0x0000000000479cda in runtime.morestack () at /usr/lib/go/src/runtime/asm_amd64.s:616 #7 0x0000000000000000 in ?? ()
Seems to be reproducibile only with OBS Studio.