[FFmpeg-user] How to Disable TLS support in ffmpeg 2.x? TLS Fatal alert
raccoon
raccoon4me at gmail.com
Tue Mar 3 14:35:50 CET 2015
Hi Moritz,
Sorry i didn't copy paste the right ffplay output, its not this one i
wanted to show. Of course this one was from /usr/bin..
Here is the correct copy paste from ffplay output freshly compiled (make
clean just before) and still in his ffmpeg-2-4-7 directory
*$vps:/usr/local/src/ffmpeg-2.4.7# /usr/local/src/ffmpeg-2.4.7/ffplay
"https....." -tls_verify 0*
ffplay version 2.4.7 Copyright (c) 2003-2015 the FFmpeg developers
built on Mar 3 2015 14:28:15 with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --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 --disable-ffserver --disable-ffprobe
WARNING: library configuration mismatch
avutil 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
avcodec 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
avformat 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
avdevice 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
avfilter 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
swscale 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
swresample 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
postproc 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 --cpu=i686 --enable-libfdk-aac --disable-static
--disable-ffprobe --disable-ffmpeg --disable-ffplay
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov
libavutil 54. 7.100 / 54. 15.100
libavcodec 56. 1.100 / 56. 13.100
libavformat 56. 4.101 / 56. 15.102
libavdevice 56. 0.100 / 56. 3.100
libavfilter 5. 1.100 / 5. 2.103
libswscale 3. 0.100 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 3.100
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver
returned error: Operation not permitted
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat
returned error: Operation not permitted
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer
returned error: Operation not permitted
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: Operation not
permitted
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
[tls @ 0xb1b025e0] *A TLS fatal alert has been received*. 0B f=0/0
https:.... Input/output error
But still the same error :/
We can see that ffplay hasn't been compiled with tls
*--disable-gnutls --disable-protocol=tls --enable-openssl
--disable-ffserver --disable-ffprobe*
BUT still, i can observe that all the other libraries (avutil etc..) still
DO HAVE --enable-gnutls !!
Could it be related that since those libraries still compile with gnutls,
it keep failing?
If so, i do not know how to force ffmpeg compilation to disable it for ALL
programs and libraries?!
Thanks a lot for your precious help
Kind regards
2015-03-03 13:58 GMT+01:00 Moritz Barsnick <barsnick at gmx.net>:
> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list