[FFmpeg-trac] #10149(avformat:new): Unable to read most of HLS M3U8 from Arte TV
FFmpeg
trac at avcodec.org
Mon Sep 11 23:06:47 EEST 2023
#10149: Unable to read most of HLS M3U8 from Arte TV
-------------------------------------+-------------------------------------
Reporter: Thomas | Owner: (none)
ERNEST |
Type: defect | Status: new
Priority: normal | Component: avformat
Version: 4.4.3 | Resolution:
Keywords: hls m3u8 | Blocked By:
fmp4 multivariante |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Thomas ERNEST):
* keywords: hls m3u8 webvtt fmp4 subtitles => hls m3u8 fmp4 multivariante
Comment:
Indeed the problem is not related to webvtt or subtitles. The root cause
is related to the multivariant playlist
https://developer.apple.com/documentation/http-live-streaming/creating-a
-multivariant-playlist or byterange addressing.
It is possible to build a set of new m3u to index streams without
multivariant and byterange addressing so that FFMPEG can play it.
Nevertheless, there is still a problem with these new m3u : the content is
not seekable. It is not possible to fast-forward, rewind or jump to a
moment in video.
To reproduce:
1. GET https://www.arte.tv/api/rproxy/emac/v4/fr/tv/pages/HOME/
2. pick any programId from the response e.g. 020528-000-A
3. GET https://api.arte.tv/api/player/v2/config/fr/020528-000-A
4. Read URLs to m3u in data.attributes.streams.url
Notes : Each m3u has different combinaition audio and subtibles e.g.
original version with french subtitles, german language without
subtitles... m3u have the same multivariant video streams. Different audio
stream and subtitles combinaison.
5. Pick a video stream and every audios streams. Create a m3u to
encapsulate each stream.
6. Create a parent m3u to index and add metadata to stream m3u.
Notes : See m3u attached to the ticket as an example. m3u from step 5 and
6 follow the pattern in https://developer.apple.com/documentation/http-
live-streaming/adding-alternate-media-to-a-playlist.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10149#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list