Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bhanu@HRS:~$ g++ main.cpp -lavcodec -lavdevice -lavfilter -lavformat -lavutil -logg -lrtmp -lswscale -lx264 -lpthread -lvorbis -L/usr/lib
- this is generating compiler output ..
- main.cpp: In function ‘int main(int, char**)’:
- main.cpp:57:29: warning: ‘AVCodecContext* avcodec_alloc_context()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3283)
- main.cpp:57:51: warning: ‘AVCodecContext* avcodec_alloc_context()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3283)
- main.cpp:111:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3417)
- main.cpp:111:34: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3417)
- /usr/lib/libavformat.a(allformats.o): In function `av_register_all':
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/allformats.c:49: undefined reference to `avcodec_register_all'
- /usr/lib/libavformat.a(oggparsevorbis.o): In function `vorbis_packet':
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:306: undefined reference to `avpriv_vorbis_parse_reset'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:309: undefined reference to `avpriv_vorbis_parse_frame'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:318: undefined reference to `avpriv_vorbis_parse_frame'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:340: undefined reference to `avpriv_vorbis_parse_frame'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:335: undefined reference to `avpriv_vorbis_parse_reset'
- /usr/lib/libavformat.a(oggparsevorbis.o): In function `vorbis_header':
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/oggparsevorbis.c:280: undefined reference to `avpriv_vorbis_parse_extradata'
- /usr/lib/libavformat.a(sdp.o): In function `extradata2psets':
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/sdp.c:169: undefined reference to `av_bitstream_filter_init'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/sdp.c:185: undefined reference to `av_bitstream_filter_filter'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/sdp.c:186: undefined reference to `av_bitstream_filter_close'
- /home/bhanu/work_environment/softwares/ffmpeg/libavformat/sdp.c:181: undefined reference to `av_bitstream_filter_close'
- collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement