[FFmpeg-user] FFmpeg TLS : Protocol not found

Yu Ang Tan yuang86 at gmail.com
Wed Nov 2 13:22:16 EET 2016


On Fri, Sep 2, 2016 at 11:30 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> Hi!
>
> 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.)
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


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

$ 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
Output #0, rtp, to 'tls://127.0.0.1:8554?listen&cert=test.crt&key=test.key':
  Metadata:
    encoder         : Lavf57.47.101
    Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Metadata:
      encoder         : Lavc57.54.100 pcm_mulaw
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_f64le (native) -> pcm_mulaw (native))
Could not write header for output file #0 (incorrect codec parameters ?):
Input/output error

Has anyone else gotten this to work? What's your build version?


More information about the ffmpeg-user mailing list