RTSPtoImage
RTSPtoImage copied to clipboard
Multiple dependency curse words in console, but app doing fine...
trafficstars
Hi! I have installed libavformat libs via "sudo apt-get install ..." command, seen how it was installed completly without any error, but I got this issue below... Can you please tell me how to get rid of this stuff when RTSPtoImage app starts?
# github.com/deepch/vdk/cgo/ffmpeg
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go: In function ‘wrap_avcodec_decode_audio4’:
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:7:2: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
7 | return avcodec_decode_audio4(ctx, frame, got, &pkt);
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:317,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:2,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4779:5: note: declared here
4779 | int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
| ^~~~~~~~~~~~~~~~~~~~~
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go: In function ‘wrap_avresample_convert’:
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:10:2: warning: ‘avresample_convert’ is deprecated [-Wdeprecated-declarations]
10 | return avresample_convert(avr, (void *)out, outsize, outcount, (void *)in, insize, incount);
| ^~~~~~
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:5,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavresample/avresample.h:451:5: note: declared here
451 | int avresample_convert(AVAudioResampleContext *avr, uint8_t **output,
| ^~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_09c06b147926_Cfunc_avcodec_encode_audio2’:
cgo-gcc-prolog:153:2: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:317,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:2,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5423:5: note: declared here
5423 | int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
| ^~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_09c06b147926_Cfunc_avresample_alloc_context’:
cgo-gcc-prolog:287:2: warning: ‘avresample_alloc_context’ is deprecated [-Wdeprecated-declarations]
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:5,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavresample/avresample.h:194:25: note: declared here
194 | AVAudioResampleContext *avresample_alloc_context(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_09c06b147926_Cfunc_avresample_free’:
cgo-gcc-prolog:302:2: warning: ‘avresample_free’ is deprecated [-Wdeprecated-declarations]
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:5,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavresample/avresample.h:258:6: note: declared here
258 | void avresample_free(AVAudioResampleContext **avr);
| ^~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_09c06b147926_Cfunc_avresample_get_out_samples’:
cgo-gcc-prolog:320:2: warning: ‘avresample_get_out_samples’ is deprecated [-Wdeprecated-declarations]
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:5,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavresample/avresample.h:403:5: note: declared here
403 | int avresample_get_out_samples(AVAudioResampleContext *avr, int in_nb_samples);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_09c06b147926_Cfunc_avresample_open’:
cgo-gcc-prolog:339:2: warning: ‘avresample_open’ is deprecated [-Wdeprecated-declarations]
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:5,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/audio.go:4:
/usr/include/x86_64-linux-gnu/libavresample/avresample.h:214:5: note: declared here
214 | int avresample_open(AVAudioResampleContext *avr);
| ^~~~~~~~~~~~~~~
# github.com/deepch/vdk/cgo/ffmpeg
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.go: In function ‘ffinit’:
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.go:7:2: warning: ‘av_register_all’ is deprecated [-Wdeprecated-declarations]
7 | av_register_all();
| ^~~~~~~~~~~~~~~
In file included from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:2,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.go:5:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2050:6: note: declared here
2050 | void av_register_all(void);
| ^~~~~~~~~~~~~~~
# github.com/deepch/vdk/cgo/ffmpeg
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go: In function ‘wrap_avcodec_decode_video2’:
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go:7:2: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
7 | return avcodec_decode_video2(ctx, frame, got, &pkt);
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:317,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:2,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go:4:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4828:5: note: declared here
4828 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
| ^~~~~~~~~~~~~~~~~~~~~
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go: In function ‘wrap_avcodec_decode_video2_empty’:
../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go:12:2: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
12 | return avcodec_decode_video2(ctx, frame, got, &pkt);
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:317,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/ffmpeg.h:2,
from ../../../../pkg/mod/github.com/deepch/[email protected]/cgo/ffmpeg/video.go:4:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4828:5: note: declared here
4828 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
| ^~~~~~~~~~~~~~~~~~~~~