I’m trying to stream to an RTSP server but I’m getting a protocol not found error when trying to open the output.
I’ve used the 4.0 builds from https://ffmpeg.zeranoe.com/builds/ and I cant see the RTSP protocol being disabled in the build flags (see below) so not sure what I’m missing – is RTSP still available in 4.0? Any help really appreciated. ---brief code snippet – av_dump_format(outAVFormatContext, 0, url, 1); if (!(outAVFormatContext->flags & AVFMT_NOFILE)) { ret = avio_open(&outAVFormatContext->pb, url, AVIO_FLAG_WRITE); --log output-- Output #0, rtsp, to 'rtsp://172.16.200.4:554/live/test': True Stream #0:0True , 0, 0/0True : Unknown: none (mpeg4)True True ret = -1330794744 = Protocol not found: Could not open output file ------------------------------- I’ve checked the protocols and build flags list for the ffmpeg build I’m using the libs from and I cant see RTSP listed? .\ffmpeg.exe -protocols ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.1 (GCC) 20180710 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 Supported file protocols: Input: async bluray cache concat crypto data ffrtmpcrypt ffrtmphttp file ftp gopher hls http httpproxy https mmsh mmst pipe rtmp rtmpe rtmps rtmpt rtmpte rtmpts rtp srtp subfile tcp tls udp udplite Output: crypto ffrtmpcrypt ffrtmphttp file ftp gopher http httpproxy https icecast md5 pipe prompeg rtmp rtmpe rtmps rtmpt rtmpte rtmpts rtp srtp tee tcp tls udp udplite
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
