Discussion:
[issue2586] Unable to play applehttp streams that have EXT-X-KEY
(too old to reply)
Kyle
2011-02-04 19:57:23 UTC
Permalink
New submission from Kyle <***@aol.com>:

ffmpeg is unable to handle applehttp streams that use EXT-X-KEY with the
following line in the .m3u8 file:
#EXT-X-KEY:METHOD=AES-128,URI="http://servername/keys/station/****.key"

Unfortunately since the stream belongs to a paid app I cannot provide the real
url in the open, but I can confirm that the urls work when entered directly on
the browser of my iPod Touch 2G and upon request I can provide a clone sample of
the .ts, .key and .m3u8 files on another server or send you a zipped clone that
you can use for testing.

ffmpeg output with debug level logging:

ffmpeg -i http://servername/station/***.m3u8 -loglevel=verbose
FFmpeg version git-185a155, Copyright (c) 2000-2011 the FFmpeg developers
built on Feb 4 2011 12:33:47 with gcc 4.4.5
configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree
--enable-shared --enable-postproc --enable-libx264 --enable-frei0r
--enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-libopenjpeg
--enable-libdirac --enable-libvpx --enable-libgsm --enable-libschroedinger
--enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac
--cpu=amdfam10 --arch=x86_64 --enable-x11grab --enable-libxavs --enable-libnut
libavutil 50. 37. 0 / 50. 37. 0
libavcore 0. 16. 1 / 0. 16. 1
libavcodec 52.109. 0 / 52.109. 0
libavformat 52. 96. 0 / 52. 96. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 74. 0 / 1. 74. 0
libswscale 0. 12. 0 / 0. 12. 0
libpostproc 51. 2. 0 / 51. 2. 0
http://servername/station/***.m3u8: Invalid data found when processing input

----------
messages: 13616
priority: normal
status: new
substatus: new
title: Unable to play applehttp streams that have EXT-X-KEY
type: bug

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2586>
________________________________________________
Martin Storsjö
2011-04-25 09:30:50 UTC
Permalink
Martin Storsjö <***@martin.st> added the comment:

This should hopefully work in the latest version in git, as long as
everything is served over normal http, not https. If it doesn't, please
reopen the issue.

----------
nosy: +mstorsjo
status: new -> closed
substatus: new -> implemented

______________________________________________
Libav issue tracker <***@roundup.libav.org>
<https://roundup.libav.org/issue2586>
______________________________________________

Loading...