Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ffmpeg does not compile with https / openssl support #21107

Closed
adammw opened this issue Jul 10, 2013 · 10 comments
Closed

ffmpeg does not compile with https / openssl support #21107

adammw opened this issue Jul 10, 2013 · 10 comments

Comments

@adammw
Copy link
Contributor

adammw commented Jul 10, 2013

Installing ffmpeg with the openssl flag (tried both enable-openssl and with-openssl arguments to brew) and neither produce a ffmpeg binary with SSL support.

brew install ffmpeg --with-faac --with-lame --with-xvid --with-theora --with-libvorbis --with-libvpx --with-rtmpdump --with-ffplay --with-speex --with-opus --enable-openssl --with-openssl

which results in:

ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 10 2013 02:44:54 with Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-ffplay --enable-libspeex --enable-libopus
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

and

$ ffmpeg -protocols
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 10 2013 02:44:54 with Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-ffplay --enable-libspeex --enable-libopus
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Supported file protocols:
Input:
applehttp
cache
concat
crypto
data
file
gopher
hls
http
httpproxy
mmsh
mmst
pipe
rtp
srtp
tcp
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte
Output:
file
gopher
http
httpproxy
md5
pipe
rtp
srtp
tcp
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte

(ie configure does not list --enable-openssl and protocols does not list https)

@mistydemeo
Copy link
Member

The ffmpeg formula doesn't have an openssl option; check brew options ffmpeg to see the available options. We'd accept a pull request to add it if you wanted to submit it!

@adammw
Copy link
Contributor Author

adammw commented Jul 10, 2013

@mistydemeo
Copy link
Member

Aha, looks like the option definition went missing and that code does nothing if the option isn't declared. Fix incoming.

@mistydemeo
Copy link
Member

Fixed! Thanks for the report, sorry I closed hastily.

@adammw
Copy link
Contributor Author

adammw commented Jul 10, 2013

Thanks. I didn't realise they required options definitions separately.

@jacknagel
Copy link
Contributor

Should we make build.with? raise an error if the option isn't declared?

@adamv
Copy link
Contributor

adamv commented Jul 10, 2013

Probably

@MikeMcQuaid
Copy link
Member

@jacknagel Yes.

handyman5 pushed a commit to handyman5/homebrew that referenced this issue Oct 7, 2013
@anacrolix
Copy link

I'm not sure this is fixed.

anacrolix@Matts-MBP:~/persistent downloads$ ffmpeg -protocols
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Supported file protocols:
Input:
cache
concat
crypto
data
ffrtmphttp
file
ftp
gopher
hls
http
httpproxy
mmsh
mmst
pipe
rtmp
rtmpt
rtp
srtp
subfile
tcp
udp
udplite
unix
Output:
crypto
ffrtmphttp
file
ftp
gopher
http
httpproxy
icecast
md5
pipe
rtmp
rtmpt
rtp
srtp
tcp
udp
udplite
unix

@DomT4
Copy link
Member

DomT4 commented Jun 7, 2015

^ You need to pass --with-openssl to brew install ffmpeg. It's not a default option.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants