How to configure SRT(Secure Reliable Transport) protocol with ffmpeg ?

For the developers that use FFmpeg in their software.
Post Reply
Nilesh
Posts: 1
Joined: Thu Mar 14, 2019 4:52 am

How to configure SRT(Secure Reliable Transport) protocol with ffmpeg ?

Post by Nilesh » Thu Mar 14, 2019 5:36 am

Hi,

I want to enable SRT(Secure Reliable Transport) protocol into ffmpeg.

To enable this i used the following command on terminal ( I am using Linux-Ubuntu-16.04 LTS OS) : $ ./configure --enable-libsrt
but this gives me an error : ERROR: srt >= 1.3.0 not found using pkg-config

To solve this issue i did some modification with pkg-config path and run $ make command but it failed to link libsrt api's with errors:

Code: Select all

LD	ffmpeg_g
libavformat/libavformat.so: undefined reference to `srt_socket'
libavformat/libavformat.so: undefined reference to `srt_bind'
libavformat/libavformat.so: undefined reference to `srt_getsockopt'
libavformat/libavformat.so: undefined reference to `srt_close'
libavformat/libavformat.so: undefined reference to `srt_epoll_add_usock'
libavformat/libavformat.so: undefined reference to `srt_startup'
libavformat/libavformat.so: undefined reference to `srt_connect'
libavformat/libavformat.so: undefined reference to `srt_epoll_release'
libavformat/libavformat.so: undefined reference to `srt_listen'
libavformat/libavformat.so: undefined reference to `srt_getlasterror'
libavformat/libavformat.so: undefined reference to `srt_getlasterror_str'
libavformat/libavformat.so: undefined reference to `srt_cleanup'
libavformat/libavformat.so: undefined reference to `srt_setsockopt'
libavformat/libavformat.so: undefined reference to `srt_sendmsg'
libavformat/libavformat.so: undefined reference to `ff_srt_protocol'
libavformat/libavformat.so: undefined reference to `srt_clearlasterror'
libavformat/libavformat.so: undefined reference to `srt_epoll_wait'
libavformat/libavformat.so: undefined reference to `srt_epoll_remove_usock'
libavformat/libavformat.so: undefined reference to `srt_epoll_create'
libavformat/libavformat.so: undefined reference to `srt_recvmsg'
libavformat/libavformat.so: undefined reference to `srt_accept'
collect2: error: ld returned 1 exit status
Makefile:108: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
Please let me know if i want to add some .patch or i am not following correct procedure to build ffmpeg or anything else ?

Thanks in advance!!!!!

Post Reply
'