Opened 11 years ago

Closed 11 years ago

#2008 closed enhancement (invalid)

ffplay doesn't play encrypted HLS over https

Reported by: jason zong Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: https
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffplay https://hls.akamaihd.net/path/master.m3u8?hash_ssl_value

ffplay version N-44391-gf9dd2e5
built on Sep 12 2012 12:42:23 with llvm-gcc 4.2.1 (LLVM build 2336.9.00)
configuration: --prefix=/usr/local --shlibdir=/usr/local/lib64 --libdir=/usr/local/lib64 --mandir=/usr/local/man --incdir=/usr/local/include --enable-gpl --enable-ffplay --enable-libxvid --enable-libmp3lame --enable-libvorbis --enable-shared

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (5)

comment:1 by jason zong, 11 years ago

I cannot put a link for your guys to test, because any links will be expired after a hour. When I try it, ffplay complains that protocols not found.

However when checks ffplay supported protocols, (type ffplay -protocols on terminate)
Supported file protocols:
Input:
applehttp
cache
concat
crypto
ffrtmphttp
file
gopher
hls
http
httpproxy
mmsh
mmst
pipe
rtmp
rtmpt
rtp
tcp
udp

It doesn't support https protocol.

comment:2 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Keywords: ffplay hls removed
Priority: normalwish

The output you posted looks incomplete, please always post the complete, uncut console output.

If ffmpeg shows the same problems, please post ffmpeg output (only post ffplay output for problems that are not reproducible with ffmpeg).

comment:3 by maximol, 11 years ago

I am also looking for HLS support over https. According to trac ticket #575 this should be possible, but on a fairly recent checkout of ffmpeg this does not work. Note that I have intentionally masked the actual URL.

ffmpeg -i https://***/stream.m3u8 -vcodec copy -acodec copy out.ts
ffmpeg version git-2012-11-27-2cfa6fd Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 27 2012 21:04:11 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52.  9.102 / 52.  9.102
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 38.100 / 54. 38.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.103 /  3. 23.103
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
https://***/stream.m3u8: Protocol not found

comment:4 by reimar, 11 years ago

https:// is only supported if you enabled either gnutls or openssl support, which you did not (note: --enable-gpl and --enable-openssl will possibly result in a binary that you can't redistribute without breaking licenses, gnutls is thus the "safer" choice).

comment:5 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.