[FFmpeg-user] RTSPS: Could not negotiate a supported cipher suite

Yu Ang Tan yuang86 at gmail.com
Thu Nov 3 03:50:48 EET 2016


Hi

I am trying to securely rtsp stream between two consoles on my computer.

On the listening console I have:

    ffplay -rtsp_flags listen rtsps://
127.0.0.1:8554/live.sdp?cert=domain.crt"&"key=domain.key

On the streaming console I have:

    ffmpeg -f lavfi -i smptebars -c:v libvpx -f rtsp -rtsp_transport tcp
rtsps://127.0.0.1:8554/live.sdp

When I run ffmpeg on the second console, ffplay (1st console) returns with
the following message:

    [tls @ 0x7f3eb8005be0] error:1408A0C1:SSL
routines:ssl3_get_client_hello:no shared cipher
    [rtsp @ 0x7f3eb80008c0] Unable to open RTSP for listening
    rtsps://127.0.0.1:8554/live.sdp?cert=domain.crt&key=domain.key:
Input/output error

The second console shows this:

    Input #0, lavfi, from 'smptebars':
      Duration: N/A, start: 0.000000, bitrate: N/A
        Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    [libvpx @ 0x120f8c0] v1.6.0-322-gc325fb7
    [tls @ 0x12340e0] Unable to negotiate TLS/SSL session
    Could not write header for output file #0 (incorrect codec parameters
?): Input/output errorStream mapping:
      Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
        Last message repeated 1 times

I get the feeling that the command syntax that I use is incorrect, but I
was unable to find much resources on this on the internet.
Can someone point me in the right direction?

Thanks.

-------------------------------------------------------------------
My build (Ubuntu 14.04 LTS)

    ffmpeg version N-82143-gbf14393 Copyright (c) 2000-2016 the FFmpeg
developers
      built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
      configuration: --prefix=/home/reccsi/Dev/build-x64/ffmpeg-x64/
--target-os=linux --pkg-config-flags=--static --enable-shared
--enable-libvpx --enable-libvorbis --enable-openssl --enable-pic
--enable-debug


More information about the ffmpeg-user mailing list