libavformat/rtsp.c: In function 'ff_rtsp_make_setup_request': libavformat/rtsp.c:1584:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 'Transport: %s\r\n', ^~ transport); ~~~~~~~~~ libavformat/rtsp.c:1583:9: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096 snprintf(cmd, sizeof(cmd), ^~~~~~~~~~~~~~~~~~~~~~~~~~ 'Transport: %s\r\n', ~~~~~~~~~~~~~~~~~~~~ transport); ~~~~~~~~~~ libavformat/rtsp.c: In function 'ff_rtsp_connect': libavformat/rtsp.c:1584:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 'Transport: %s\r\n', ^~ transport); ~~~~~~~~~ libavformat/rtsp.c:1583:9: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096 snprintf(cmd, sizeof(cmd), ^~~~~~~~~~~~~~~~~~~~~~~~~~ 'Transport: %s\r\n', ~~~~~~~~~~~~~~~~~~~~ transport); ~~~~~~~~~~ libavcodec/exif.c: In function 'ff_exif_decode_ifd': libavcodec/exif.c:230:43: warning: '%04X' directive output may be truncated writing between 4 and 8 bytes into a region of size 5 [-Wformat-truncation=] snprintf(buf, sizeof(buf), '0x%04X', id); ^~~~ libavcodec/exif.c:230:40: note: directive argument in the range [1, 4294967295] snprintf(buf, sizeof(buf), '0x%04X', id); ^~~~~~~~ libavcodec/exif.c:230:13: note: 'snprintf' output between 7 and 11 bytes into a destination of size 7 snprintf(buf, sizeof(buf), '0x%04X', id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavutil/timecode.c: In function 'av_timecode_make_string': libavutil/timecode.c:123:60: warning: '%0*d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 14 [-Wformat-truncation=] snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d', ^~~~ libavutil/timecode.c:123:41: note: directive argument in the range [0, 2147483647] snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d', ^~~~~~~~~~~~~~~~~~~~~~~~ libavutil/timecode.c:123:5: note: 'snprintf' output between 11 and 32 bytes into a destination of size 23 snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d', ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neg ? '-' : '', ~~~~~~~~~~~~~~~ hh, mm, ss, drop ? ';' : ':', ff_len, ff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fftools/ffmpeg_demux.c:22: fftools/ffmpeg_demux.c: In function 'add_input_streams': fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:623:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(ts_scale, dbl, ist->ts_scale, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:626:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(autorotate, i, ist->autorotate, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:566:5: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(display_rotations, dbl, rotation, ctx, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:567:5: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(display_hflips, i, hflip, ctx, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:568:5: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(display_vflips, i, vflip, ctx, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:639:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(hwaccels, str, hwaccel, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:640:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(hwaccel_output_formats, str, ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:700:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(hwaccel_devices, str, hwaccel_device, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:714:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(reinit_filters, i, ist->reinit_filters, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:716:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(discard, str, discard_str, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:782:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(fix_sub_duration, i, ist->fix_sub_duration, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:783:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(canvas_sizes, str, canvas_size, ic, st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_demux.c:776:13: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(guess_layout_max, i, ist->guess_layout_max, ic, st); ^~~~~~~~~~~~~~~~~~~~ In file included from fftools/ffmpeg_mux_init.c:24: fftools/ffmpeg_mux_init.c: In function 'of_open': fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_mux_init.c:1818:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(forced_key_frames, str, forced_keyframes, mux->fc, ost->st); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.h:797:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds] av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\ ~~~~~~~~~~~~~~~^~~~~~ fftools/ffmpeg.h:816:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE' WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\ ^~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg_mux_init.c:1685:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT' MATCH_PER_STREAM_OPT(disposition, str, dispositions[i], ctx, ost->st); ^~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: libavcodec/libavcodec.a(allcodecs.o):(.rodata+0x1530): undefined reference to `ff_av1_mediacodec_decoder' collect2: error: ld returned 1 exit status make: *** [Makefile:131: ffplay_g] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/ld: libavcodec/libavcodec.a(allcodecs.o):(.rodata+0x1530): undefined reference to `ff_av1_mediacodec_decoder' collect2: error: ld returned 1 exit status make: *** [Makefile:131: ffprobe_g] Error 1 /usr/bin/ld: libavcodec/libavcodec.a(allcodecs.o):(.rodata+0x1530): undefined reference to `ff_av1_mediacodec_decoder' collect2: error: ld returned 1 exit status make: *** [Makefile:131: ffmpeg_g] Error 1