[FFmpeg-user] How to Disable TLS support in ffmpeg 2.x? TLS Fatal alert

Moritz Barsnick barsnick at gmx.net
Tue Mar 3 13:58:00 CET 2015


On Tue, Mar 03, 2015 at 13:46:25 +0100, raccoon wrote:
> perfectly fine, but i try to compile the version 2.4.7 for example with
> such options :
> 
> ./configure --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl
> --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac
> --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm
> --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping
> --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger
> --enable-version3 --enable-libopenjpeg --enable-avfilter
> --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc
> --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda
> --enable-libbluray --enable-frei0r --enable-libass --enable-libopus
> --enable-fontconfig --enable-libfdk-aac --enable-libdc1394
> --disable-altivec --disable-yasm *--disable-gnutls --disable-protocol=tls
> --enable-openssl *

[...]

> >ffplay "https://...." -tls_verify 0
> >>>
> >>>
> ffplay version 2.5.4 Copyright (c) 2003-2015 the FFmpeg developers
>   built on Feb 27 2015 07:48:18 with gcc 4.9.2 (Debian 4.9.2-10)
>   configuration: --prefix=/usr --extra-cflags='-g -O2
> -fstack-protector-strong -Wformat -Werror=format-security '
> --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared
> --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
> --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc
> --enable-x11grab --enable-libgsm --enable-libtheora
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
> --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx
> --enable-libschroedinger --disable-encoder=libschroedinger
> --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter
> --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb
> --enable-libvo-amrwbenc --enable-libaacplus
> --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray
> --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
> --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse
> --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
> --enable-libvidstab --enable-libzvbi --enable-avresample
> --disable-htmlpages --disable-podpages --enable-libutvideo
> --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libx265
> --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu

As you can see from the configure options banner, this version of
ffplay was not compiled with the options you quoted above.

You may want to do
$ ls -l `which ffmpeg` `which ffplay`
to confirm (differing build/install dates). I assume that ffplay isn't
being built - the output from configure would show you that. The usual
reason for this is that the development libraries for SDL are missing.
Install those (something like sdl-dev, libsdl-dev, libsdl-devel as
package name), re-run configure, check the output, build, and ensure
that ffplay has actually been built. Then try your command again. :-)

And please report your success.

HTH,
Moritz


More information about the ffmpeg-user mailing list