[FFmpeg-user] FFmpeg TLS : Protocol not found

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 3 00:18:48 EET 2016


2016-11-02 12:22 GMT+01:00 Yu Ang Tan <yuang86 at gmail.com>:
> On Fri, Sep 2, 2016 at 11:30 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> 2016-09-02 3:01 GMT+02:00 Yu Ang Tan <yuang86 at gmail.com>:
>> > I am trying to stream a video securely, and this is what I have tried:
>> >
>> >     $ ffmpeg -i out.webm -f format
>> > tls://127.0.0.1:8554?listen&cert=test.crt&key=test.key
>>
>> If you want to use the tls protocol on Linux, configure with
>> either "--enable-gnutls" or "--enable-openssl".
>> (On Windows and OSX, tls should be enabled by default.)

> I have configured with "--enable-openssl", but I'm still getting
> the same message.

No, see below.

> $ ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f rtp tls://
> 127.0.0.1:8554?listen <http://127.0.0.1:8554/?listen>
> "&"cert=test.crt"&"key=test.key
> ffmpeg version N-81392-ga453bbb Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
>   configuration: --prefix=/home/ytan/Dev/build-x64/
> --pkg-config-flags=--static --enable-shared --enable-libvpx
> --enable-libvorbis --enable-openssl
>   libavutil      55. 29.100 / 55. 29.100
>   libavcodec     57. 54.100 / 57. 54.100
>   libavformat    57. 47.101 / 57. 47.101
>   libavdevice    57.  0.102 / 57.  0.102
>   libavfilter     6. 52.100 /  6. 52.100
>   libswscale      4.  1.100 /  4.  1.100
>   libswresample   2.  1.100 /  2.  1.100
> Input #0, lavfi, from 'aevalsrc=sin(400*2*PI*t)':
>   Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
>     Stream #0:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
> [rtp @ 0x10febc0] Using AVStream.codec to pass codec parameters to muxers
> is deprecated, use AVStream.codecpar instead.

> [rtp @ 0x10febc0] Max packet size 0 too low

This is not related to "Protocol not found".

I can reproduce this issue, it does not seem to be a regression
(reproducible at least for several years).

Which application supports rtp over tls?

Carl Eugen


More information about the ffmpeg-user mailing list