transitive-bullshit / ffmpeg-gl-transition

FFmpeg filter for applying GLSL transitions between video streams.
647 stars 125 forks source link

segmentation fault on amazon linux #41

Closed aomv closed 3 years ago

aomv commented 5 years ago

hey,

I've been trying to install on amazon linux and so far have been unsuccessful. I'm following the EGL instructions.

From what I understood the requirements are: 1) glvnd1.0 (from source) ./autogen.sh ./configure --prefix="$HOME/ffmpeg_build" make make install

2) mesaGL>=1.7 mesaGLU>=1.7 yum install mesa-libGLU mesa-libGLU-devel

3) GLEW >=2.0 (from source) make SYSTEM=linux-egl GLEW_DEST="$HOME/ffmpeg_build" make install

4) For ffmpeg I installed the libs required to build with libx264 (following the steps on https://trac.ffmpeg.org/wiki/CompilationGuide/Centos)

PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-libx264 --enable-gpl --enable-opengl --enable-filter=gltransition --extra-libs="-lGLEW -lEGL"

This is the error I get

ffmpeg -i ../ffmpeg-gl-transition/media/0.mp4 -i ../ffmpeg-gl-transition/media/1.mp4 -filter_complex gltransition -y out.mp4


ffmpeg version N-94149-g50e194e6e1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (GCC)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags='-I/root/ffmpeg_build/include -Bstatic' --extra-ldflags='-L/root/ffmpeg_build/lib -ldl -Bstatic' --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-opengl --enable-filter=gltransition --extra-libs='-lGLEW -lEGL'
  libavutil      56. 30.100 / 56. 30.100
  libavcodec     58. 53.101 / 58. 53.101
  libavformat    58. 28.101 / 58. 28.101
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 55.100 /  7. 55.100
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../ffmpeg-gl-transition/media/0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 454 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 452 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '../ffmpeg-gl-transition/media/1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 530 kb/s
    Stream #1:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 528 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 (h264) -> gltransition:from
  Stream #1:0 (h264) -> gltransition:to
  gltransition -> Stream #0:0 (mpeg4)
Press [q] to stop, [?] for help
Segmentation fault

And this is a more verbose log

ffmpeg -loglevel debug -i ../ffmpeg-gl-transition/media/0.mp4 -i ../ffmpeg-gl-transition/media/1.mp4 -filter_complex gltransition out.mp4

  built with gcc 7 (GCC)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags='-I/root/ffmpeg_build/include -Bstatic' --extra-ldflags='-L/root/ffmpeg_build/lib -ldl -Bstatic' --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-opengl --enable-filter=gltransition --extra-libs='-lGLEW -lEGL'
  libavutil      56. 30.100 / 56. 30.100
  libavcodec     58. 53.101 / 58. 53.101
  libavformat    58. 28.101 / 58. 28.101
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 55.100 /  7. 55.100
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument '../ffmpeg-gl-transition/media/0.mp4'.
Reading option '-i' ... matched as input url with argument '../ffmpeg-gl-transition/media/1.mp4'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument 'gltransition'.
Reading option 'out.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option filter_complex (create a complex filtergraph) with argument gltransition.
Successfully parsed a group of options.
Parsing a group of options: input url ../ffmpeg-gl-transition/media/0.mp4.
Successfully parsed a group of options.
Opening an input file: ../ffmpeg-gl-transition/media/0.mp4.
[NULL @ 0x3b46e00] Opening '../ffmpeg-gl-transition/media/0.mp4' for reading
[file @ 0x3b47540] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] Processing st: 0, edit list 0 - media time: 0, duration: 51200
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] Before avformat_find_stream_info() pos: 1234 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x3b48740] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3b48740] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3b48740] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x3b48740] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x3b48740] Format yuv420p chosen by get_format().
[h264 @ 0x3b48740] Reinit context to 640x368, pix_fmt: yuv420p
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b46e00] After avformat_find_stream_info() pos: 7467 bytes read:32768 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../ffmpeg-gl-transition/media/0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 454 kb/s
    Stream #0:0(und), 1, 1/12800: Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 640x360 (640x368) [SAR 1:1 DAR 16:9], 0/1, 452 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Successfully opened the file.
Parsing a group of options: input url ../ffmpeg-gl-transition/media/1.mp4.
Successfully parsed a group of options.
Opening an input file: ../ffmpeg-gl-transition/media/1.mp4.
[NULL @ 0x3b4a540] Opening '../ffmpeg-gl-transition/media/1.mp4' for reading
[file @ 0x3b49940] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] Processing st: 0, edit list 0 - media time: 0, duration: 51200
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] Before avformat_find_stream_info() pos: 1217 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x3b4b4c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3b4b4c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3b4b4c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x3b4b4c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x3b4b4c0] Format yuv420p chosen by get_format().
[h264 @ 0x3b4b4c0] Reinit context to 640x368, pix_fmt: yuv420p
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b4a540] After avformat_find_stream_info() pos: 16010 bytes read:32768 seeks:0 frames:1
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '../ffmpeg-gl-transition/media/1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 530 kb/s
    Stream #1:0(eng), 1, 1/12800: Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 640x360 (640x368), 0/1, 528 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Successfully opened the file.
Parsing a group of options: output url out.mp4.
Successfully parsed a group of options.
Opening an output file: out.mp4.
[file @ 0x3b6b0c0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 2 logical cores
[h264 @ 0x3b6ca80] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3b6ca80] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3bb90c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3bb90c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
  Stream #0:0 (h264) -> gltransition:from
  Stream #1:0 (h264) -> gltransition:to
  gltransition -> Stream #0:0 (mpeg4)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 0x3b6ca80] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x3b6ca80] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x3b6ca80] Format yuv420p chosen by get_format().
[h264 @ 0x3b6ca80] Reinit context to 640x368, pix_fmt: yuv420p
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x3b92bc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 0x3bb0c80] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x3bb90c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x3bb90c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x3bb90c0] Format yuv420p chosen by get_format().
[h264 @ 0x3bb90c0] Reinit context to 640x368, pix_fmt: yuv420p
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x3c4f500] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x3c95680] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'video_size' to value '640x360'
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'time_base' to value '1/12800'
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x3d170c0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x3d170c0] w:640 h:360 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:1/1 sws_param:flags=2
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'video_size' to value '640x360'
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'time_base' to value '1/12800'
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 1:0 @ 0x3d176c0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 1:0 @ 0x3d176c0] w:640 h:360 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x3d175c0] Setting 'pix_fmts' to value 'yuv420p'
[auto_scaler_0 @ 0x3d17d40] w:iw h:ih flags:'bilinear' interl:0
[Parsed_gltransition_0 @ 0x3b49740] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_gltransition_0'
[auto_scaler_1 @ 0x3d18b40] w:iw h:ih flags:'bilinear' interl:0
[Parsed_gltransition_0 @ 0x3b49740] auto-inserting filter 'auto_scaler_1' between the filter 'graph 0 input from stream 1:0' and the filter 'Parsed_gltransition_0'
[auto_scaler_2 @ 0x3d17a00] w:iw h:ih flags:'bilinear' interl:0
[format @ 0x3d175c0] auto-inserting filter 'auto_scaler_2' between the filter 'Parsed_gltransition_0' and the filter 'format'
[AVFilterGraph @ 0x3bb8480] query_formats: 5 queried, 1 merged, 3 already done, 0 delayed
[auto_scaler_0 @ 0x3d17d40] w:640 h:360 fmt:yuv420p sar:1/1 -> w:640 h:360 fmt:rgb24 sar:1/1 flags:0x2
[Parsed_gltransition_0 @ 0x3b49740] 00Segmentation fault

Here's output off ldd ffmpeg


    libdl.so.2 => /lib64/libdl.so.2 (0x00007f2090a31000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f209072f000)
    libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2090511000)
    libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f209030f000)
    libxcb-shape.so.0 => /usr/lib64/libxcb-shape.so.0 (0x00007f209010c000)
    libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f208ff06000)
    libasound.so.2 => /lib64/libasound.so.2 (0x00007f208fc1b000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f208f9ff000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f208f7f7000)
    libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f208f56b000)
    libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f208f2cf000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f208f0be000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f208eea8000)
    libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007f208ec31000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f208e8ac000)
    libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f208e699000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f208e2cc000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f2090c35000)
    libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f208e0c9000)
    libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f208de98000)
    libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f208db5d000)
    libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f208d94b000)
    libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f208d696000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f208d480000)```

Any suggestions?

thanks
aomv commented 5 years ago

It crashes on this line GLuint shader = glCreateShader(type);

aomv commented 5 years ago

I tracked the issue down to eglInitialize not being able to start the EGL display connection. I'm compiling mesa from scratch now to try to address this.

Here's a sample program I put together that you can use to test your OpenGL setup

If this program doesn't run it means this library won't work.


EGLConfig config;
EGLContext context;
EGLint num_config;

display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
if (display == EGL_NO_DISPLAY)
{
    std:: cout << "ERROR: EGL could not be initialized"<< std::endl;
    exit(EXIT_FAILURE);
}
if (!eglInitialize(display, nullptr, nullptr))
{
    std:: cout << "ERROR: Could not start EGL display connection"<< std::endl;
    exit(EXIT_FAILURE);
}
if (eglChooseConfig(display, nullptr, &config, 1, &num_config) != EGL_TRUE)
{
    std:: cout << "ERROR: Configuration selection failed" << std::endl;
    exit(EXIT_FAILURE);
}
eglBindAPI(EGL_OPENGL_API);
context = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL);
if (eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, context) != EGL_TRUE) {
    std:: cout << "ERROR: Display was not made current one"<< std::endl;
    exit(EXIT_FAILURE);
}```
den-is commented 5 years ago

same here using ubuntu:16.04 container In general my setup resembles official ffmpeg docker setup with few additions and polishing

# ffmpeg -buildconf
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
  configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs='-lGLEW -lEGL -ldl' --extra-libs=-lpthread --disable-debug --disable-doc --disable-ffplay --enable-postproc --enable-small --enable-version3 --enable-gpl --enable-nonfree --enable-shared --enable-openssl --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfdk_aac --enable-libkvazaar --enable-libwebp --enable-libaom
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100

  configuration:
    --prefix=/usr/local
    --extra-cflags=-I/usr/local/include
    --extra-ldflags=-L/usr/local/lib
    --extra-libs='-lGLEW -lEGL -ldl'
    --extra-libs=-lpthread
    --disable-debug
    --disable-doc
    --disable-ffplay
    --enable-postproc
    --enable-small
    --enable-version3
    --enable-gpl
    --enable-nonfree
    --enable-shared
    --enable-openssl
    --enable-avresample
    --enable-libopencore-amrnb
    --enable-libopencore-amrwb
    --enable-libass
    --enable-libfreetype
    --enable-libvidstab
    --enable-libmp3lame
    --enable-libopenjpeg
    --enable-libopus
    --enable-libtheora
    --enable-libvorbis
    --enable-libvpx
    --enable-libx264
    --enable-libx265
    --enable-libxvid
    --enable-libfdk_aac
    --enable-libkvazaar
    --enable-libwebp
    --enable-libaom
# dependencies for transitions project
apt-get -y install libxext-dev \
                   libx11-dev \
                   x11proto-gl-dev \
                   libglu1-mesa \
                   libglu1-mesa-dev \
                   libegl1-mesa-dev \
                   libxmu-dev \
                   libxi-dev \
                   libgl-dev

libglvnd latest from the source, as well as GLEW

den-is commented 5 years ago

Curious if this project works well with FFMPEG 4.1.3

# valgrind -v /usr/local/bin/ffmpeg -i media/0.mp4 -i media/1.mp4 -filter_complex gltransition -y out.mp4
==23842== Memcheck, a memory error detector
==23842== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==23842== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==23842== Command: /usr/local/bin/ffmpeg -i media/0.mp4 -i media/1.mp4 -filter_complex gltransition -y out.mp4
==23842==
--23842-- Valgrind options:
--23842--    -v
--23842-- Contents of /proc/version:
--23842--   Linux version 4.9.125-linuxkit (root@659b6d51c354) (gcc version 6.4.0 (Alpine 6.4.0) ) #1 SMP Fri Sep 7 08:20:28 UTC 2018
--23842--
--23842-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-sse3-avx-avx2-bmi
--23842-- Page sizes: currently 4096, max supported 4096
--23842-- Valgrind library directory: /usr/lib/valgrind
--23842-- Reading syms from /usr/local/bin/ffmpeg
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/ld-2.23.so
--23842--   Considering /lib/x86_64-linux-gnu/ld-2.23.so ..
--23842--   .. CRC mismatch (computed 10d8ea02 wanted 4fdda1aa)
--23842--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.23.so ..
--23842--   .. CRC is valid
--23842-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--23842--   Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--23842--   .. CRC mismatch (computed eea41ea9 wanted 2009db78)
--23842--    object doesn't have a symbol table
--23842--    object doesn't have a dynamic symbol table
--23842-- Scheduler: using generic scheduler lock implementation.
--23842-- Reading suppressions file: /usr/lib/valgrind/default.supp
==23842== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-23842-by-???-on-2434754d2f20
==23842== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-23842-by-???-on-2434754d2f20
==23842== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-23842-by-???-on-2434754d2f20
==23842==
==23842== TO CONTROL THIS PROCESS USING vgdb (which you probably
==23842== don't want to do, unless you know exactly what you're doing,
==23842== or are doing some strange experiment):
==23842==   /usr/lib/valgrind/../../bin/vgdb --pid=23842 ...command...
==23842==
==23842== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==23842==   /path/to/gdb /usr/local/bin/ffmpeg
==23842== and then give GDB the following command
==23842==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=23842
==23842== --pid is optional if only one valgrind process is running
==23842==
--23842-- REDIR: 0x401cf10 (ld-linux-x86-64.so.2:strlen) redirected to 0x3809e181 (???)
--23842-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--23842--   Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--23842--   .. CRC mismatch (computed 2567ccf6 wanted 49420590)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--23842--   Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--23842--   .. CRC mismatch (computed 0e27c9a8 wanted ac585421)
--23842--    object doesn't have a symbol table
==23842== WARNING: new redirection conflicts with existing -- ignoring it
--23842--     old: 0x0401cf10 (strlen              ) R-> (0000.0) 0x3809e181 ???
--23842--     new: 0x0401cf10 (strlen              ) R-> (2007.0) 0x04c31020 strlen
--23842-- REDIR: 0x401b860 (ld-linux-x86-64.so.2:index) redirected to 0x4c30bc0 (index)
--23842-- REDIR: 0x401ba80 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c320d0 (strcmp)
--23842-- REDIR: 0x401dc70 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35270 (mempcpy)
--23842-- Reading syms from /usr/local/lib/libavdevice.so.58.5.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libavfilter.so.7.40.101
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libavformat.so.58.20.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libavcodec.so.58.35.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libavresample.so.4.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libpostproc.so.55.3.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libswresample.so.3.3.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libswscale.so.5.3.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libavutil.so.56.22.100
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libm-2.23.so
--23842--   Considering /lib/x86_64-linux-gnu/libm-2.23.so ..
--23842--   .. CRC mismatch (computed d1bcd7c2 wanted c6824701)
--23842--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.23.so ..
--23842--   .. CRC is valid
--23842-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.23.so
--23842--   Considering /usr/lib/debug/.build-id/b1/7c21299099640a6d863e423d99265824e7bb16.debug ..
--23842--   .. build-id is valid
--23842-- Reading syms from /lib/x86_64-linux-gnu/libc-2.23.so
--23842--   Considering /lib/x86_64-linux-gnu/libc-2.23.so ..
--23842--   .. CRC mismatch (computed 10016417 wanted 1f868c97)
--23842--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so ..
--23842--   .. CRC is valid
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libXv.so.1.0.0
--23842--   Considering /usr/lib/x86_64-linux-gnu/libXv.so.1.0.0 ..
--23842--   .. CRC mismatch (computed 077b1729 wanted ba2119e3)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
--23842--   Considering /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 ..
--23842--   .. CRC mismatch (computed 2d6b0194 wanted c4b33c13)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
--23842--   Considering /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 ..
--23842--   .. CRC mismatch (computed b483887a wanted 38c83e44)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libass.so.9.0.2
--23842-- Reading syms from /usr/local/lib/libvidstab.so.1.1
--23842-- Reading syms from /usr/local/lib/libfreetype.so.6.17.0
--23842-- Reading syms from /usr/local/lib/libGLEW.so.2.1.0
--23842-- Reading syms from /usr/local/lib/libEGL.so.1.1.0
--23842-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.8
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libssl.so.1.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libvpx.so.6.0.0
--23842-- Reading syms from /usr/local/lib/libopencore-amrwb.so.0.0.3
--23842-- Reading syms from /usr/local/lib/libaom.so.0
--23842-- Reading syms from /usr/local/lib/libfdk-aac.so.1.0.0
--23842-- Reading syms from /usr/local/lib/libmp3lame.so.0.0.0
--23842-- Reading syms from /usr/local/lib/libopencore-amrnb.so.0.0.3
--23842-- Reading syms from /usr/local/lib/libopenjp2.so.2.3.1
--23842-- Reading syms from /usr/local/lib/libopus.so.0.6.0
--23842-- Reading syms from /usr/local/lib/libtheoraenc.so.1.1.2
--23842-- Reading syms from /usr/local/lib/libtheoradec.so.1.1.4
--23842-- Reading syms from /usr/local/lib/libvorbis.so.0.4.8
--23842-- Reading syms from /usr/local/lib/libvorbisenc.so.2.0.11
--23842-- Reading syms from /usr/local/lib/libwebp.so.7.0.4
--23842-- Reading syms from /usr/local/lib/libx264.so.157
--23842-- Reading syms from /usr/local/lib/libx265.so.169
--23842-- Reading syms from /usr/local/lib/libxvidcore.so.4.3
--23842-- Reading syms from /usr/local/lib/libkvazaar.so.4.0.0
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
--23842--   Considering /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 ..
--23842--   .. CRC mismatch (computed 256f5df8 wanted 5d40ac88)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.23.so
--23842--   Considering /lib/x86_64-linux-gnu/libdl-2.23.so ..
--23842--   .. CRC mismatch (computed ca8e05bc wanted c502f875)
--23842--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.23.so ..
--23842--   .. CRC is valid
--23842-- Reading syms from /usr/local/lib/libfribidi.so.0.4.0
--23842-- Reading syms from /usr/local/lib/libfontconfig.so.1.12.0
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
--23842--   Considering /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 ..
--23842--   .. CRC mismatch (computed 31ec8b49 wanted 4fbed20c)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libGL.so.1.7.0
--23842-- Reading syms from /usr/local/lib/libGLdispatch.so.0.0.0
--23842-- Reading syms from /usr/local/lib/libogg.so.0.8.3
--23842-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
--23842--   Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 ..
--23842--   .. CRC mismatch (computed b2e7dc97 wanted c9833bdf)
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libexpat.so.1.6.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /lib/x86_64-linux-gnu/libuuid.so.1.3.0
--23842--    object doesn't have a symbol table
--23842-- Reading syms from /usr/local/lib/libGLX.so.0.0.0
--23842-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1
--23842--   Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
--23842--   .. CRC mismatch (computed b9a68419 wanted 29d51b00)
--23842--    object doesn't have a symbol table
--23842-- REDIR: 0x7c9aa00 (libc.so.6:strcasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c96280 (libc.so.6:strcspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c9ccf0 (libc.so.6:strncasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c986f0 (libc.so.6:strpbrk) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c98a80 (libc.so.6:strspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c9a14b (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c9f3f0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c94cd0 (libc.so.6:strcmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c98400 (libc.so.6:rindex) redirected to 0x4c308a0 (rindex)
--23842-- REDIR: 0x7c96720 (libc.so.6:strlen) redirected to 0x4c30f60 (strlen)
--23842-- REDIR: 0x7c8fd10 (libc.so.6:calloc) redirected to 0x4c2faa0 (calloc)
--23842-- REDIR: 0x7c8f130 (libc.so.6:malloc) redirected to 0x4c2db20 (malloc)
--23842-- REDIR: 0x7d58ea0 (libc.so.6:__memcpy_avx_unaligned) redirected to 0x4c324a0 (memcpy@@GLIBC_2.14)
--23842-- REDIR: 0x7c8f6c0 (libc.so.6:realloc) redirected to 0x4c2fce0 (realloc)
--23842-- REDIR: 0x7c9f470 (libc.so.6:__GI_memcpy) redirected to 0x4c32b00 (__GI_memcpy)
--23842-- REDIR: 0x7c99ff0 (libc.so.6:__GI_memmove) redirected to 0x4c347e0 (__GI_memmove)
--23842-- REDIR: 0x7c8f4f0 (libc.so.6:free) redirected to 0x4c2ed80 (free)
--23842-- REDIR: 0x7c9a1b0 (libc.so.6:memset) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7d7d970 (libc.so.6:__memset_avx2) redirected to 0x4c344c0 (memset)
--23842-- REDIR: 0x7c96b70 (libc.so.6:__GI_strncmp) redirected to 0x4c31710 (__GI_strncmp)
--23842-- REDIR: 0x7c94a80 (libc.so.6:index) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7c94ab0 (libc.so.6:__GI_strchr) redirected to 0x4c30a00 (__GI_strchr)
--23842-- REDIR: 0x7c96b20 (libc.so.6:strncmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7d50a90 (libc.so.6:__strncmp_sse42) redirected to 0x4c317f0 (__strncmp_sse42)
--23842-- REDIR: 0x7caa570 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31f90 (strcmp)
--23842-- REDIR: 0x7d56ff0 (libc.so.6:__strncasecmp_avx) redirected to 0x4c31940 (strncasecmp)
--23842-- REDIR: 0x7c9a890 (libc.so.6:__GI_stpcpy) redirected to 0x4c33f80 (__GI_stpcpy)
--23842-- REDIR: 0x7c9a3b0 (libc.so.6:__GI_mempcpy) redirected to 0x4c34fa0 (__GI_mempcpy)
--23842-- REDIR: 0x7c983c0 (libc.so.6:strncpy) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7cb1000 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x4c31570 (__strncpy_sse2_unaligned)
--23842-- REDIR: 0x7c92600 (libc.so.6:posix_memalign) redirected to 0x4c300a0 (posix_memalign)
--23842-- REDIR: 0x7ca1760 (libc.so.6:strchrnul) redirected to 0x4c34da0 (strchrnul)
--23842-- REDIR: 0x7d21480 (libc.so.6:__strcpy_chk) redirected to 0x4c34e10 (__strcpy_chk)
--23842-- REDIR: 0x7c99630 (libc.so.6:strstr) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7cb5070 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4c35460 (strstr)
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
  configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs='-lGLEW -lEGL -ldl' --extra-libs=-lpthread --disable-debug --disable-doc --disable-ffplay --enable-postproc --enable-small --enable-version3 --enable-gpl --enable-nonfree --enable-shared --enable-openssl --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfdk_aac --enable-libkvazaar --enable-libwebp --enable-libaom
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
--23842-- REDIR: 0x7d55860 (libc.so.6:__strspn_sse42) redirected to 0x4c35670 (strspn)
--23842-- REDIR: 0x7c96160 (libc.so.6:strcpy) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7cb09d0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c31040 (strcpy)
--23842-- REDIR: 0x7c99bb0 (libc.so.6:bcmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)
--23842-- REDIR: 0x7d79430 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33cd0 (__memcmp_sse4_1)
--23842-- REDIR: 0x7ca1550 (libc.so.6:rawmemchr) redirected to 0x4c34dd0 (rawmemchr)
--23842-- REDIR: 0x7d555f0 (libc.so.6:__strcspn_sse42) redirected to 0x4c35610 (strcspn)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media/0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 454 kb/s
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 452 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'media/1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 530 kb/s
    Stream #1:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 640x360, 528 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
--23842-- REDIR: 0x7c99860 (libc.so.6:memchr) redirected to 0x4c32170 (memchr)
Stream mapping:
  Stream #0:0 (h264) -> gltransition:from
  Stream #1:0 (h264) -> gltransition:to
  gltransition -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
--23842-- REDIR: 0x7d589b0 (libc.so.6:__memmove_avx_unaligned) redirected to 0x4c32230 (memcpy@GLIBC_2.2.5)
--23842-- REDIR: 0x7c9cd60 (libc.so.6:__GI___strncasecmp_l) redirected to 0x4c31e90 (__GI___strncasecmp_l)
==23842== Jump to the invalid address stated on the next line
==23842==    at 0x0: ???
==23842==    by 0x515BF2C: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x515C0F1: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102CCD: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x51061DF: avfilter_graph_config (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x41251D: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41DF72: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41E758: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x4214D9: ??? (in /usr/local/bin/ffmpeg)
==23842==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==23842==
==23842==
==23842== Process terminating with default action of signal 11 (SIGSEGV)
==23842==  Bad permissions for mapped region at address 0x0
==23842==    at 0x0: ???
==23842==    by 0x515BF2C: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x515C0F1: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102CCD: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x51061DF: avfilter_graph_config (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x41251D: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41DF72: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41E758: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x4214D9: ??? (in /usr/local/bin/ffmpeg)
==23842==
==23842== HEAP SUMMARY:
==23842==     in use at exit: 12,194,472 bytes in 4,885 blocks
==23842==   total heap usage: 8,609 allocs, 3,724 frees, 16,028,182 bytes allocated
==23842==
==23842== Searching for pointers to 4,885 not-freed blocks
==23842== Checked 157,190,576 bytes
==23842==
==23842== LEAK SUMMARY:
==23842==    definitely lost: 0 bytes in 0 blocks
==23842==    indirectly lost: 0 bytes in 0 blocks
==23842==      possibly lost: 5,536 bytes in 18 blocks
==23842==    still reachable: 12,188,936 bytes in 4,867 blocks
==23842==         suppressed: 0 bytes in 0 blocks
==23842== Rerun with --leak-check=full to see details of leaked memory
==23842==
==23842== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
==23842==
==23842== 1 errors in context 1 of 1:
==23842== Jump to the invalid address stated on the next line
==23842==    at 0x0: ???
==23842==    by 0x515BF2C: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x515C0F1: ??? (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102CCD: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x5102AFC: avfilter_config_links (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x51061DF: avfilter_graph_config (in /usr/local/lib/libavfilter.so.7.40.101)
==23842==    by 0x41251D: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41DF72: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x41E758: ??? (in /usr/local/bin/ffmpeg)
==23842==    by 0x4214D9: ??? (in /usr/local/bin/ffmpeg)
==23842==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==23842==
==23842== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Killed
transitive-bullshit commented 3 years ago

Should be solved by https://github.com/transitive-bullshit/ffmpeg-gl-transition/pull/57