[FFmpeg-trac] #10149(avformat:new): Unable to read most of HLS M3U8 from Arte TV
FFmpeg
trac at avcodec.org
Wed Feb 22 21:43:47 EET 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: kodi hls | Blocked By:
m3u8 arte webvtt |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Thomas ERNEST:
Old description:
> Hello,
>
> I am trying to improve Kodi plugin Arte+7. The improvement aims at
> reading videos from new Arte TV API instead of "old" Arte HBB TV API. Old
> content is full mp4 file. New content is HTTP Live Streaming (HLS)
> packaged in m3u8 files. Some m3u8 files can be read, some cannot.
>
> How to reproduce:
> {{{
> % FAILURE
> % ./ffplay.exe -v 9 -loglevel 99 https://arte-
> cmafhls.akamaized.net/am/cmaf/089000/089100/089171-000-A/230120220655/089171-000
> -A_VF-STF_XQ.m3u8 2> ko.log
> ...
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] type:'sidx' parent:'root'
> sz: 32248 847 9223372036854775807
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] sidx reference_type 1 is not
> implemented. Update your FFmpeg version to the newest one from Git. If
> the problem still occurs, it means that your file has a feature which has
> not been implemented.
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] If you want to help, upload
> a sample of this file to https://streams.videolan.org/upload/ and contact
> the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] error reading header
> [AVIOContext @ 00000228e9aae980] Statistics: 35459 bytes read, 0 seeks
> ...
>
> % SUCCESS
> % ./ffplay.exe -v 9 -loglevel 99 https://arte-
> cmafhls.akamaized.net/am/cmaf/105000/105600/105610-000-A/230111071325/105610-000
> -A_VOF-STF_XQ.m3u8 2> ok.log
> }}}
>
> I reproduced the erroneous and success cases with Kodi 19.5 Matrix and
> 20.0 Nexus. I reproduced the issue directly with ffplay also and attach
> the logs of ffplay command here.
>
> EDIT : Both streams have WEBVTT SPRITES.
> Failing one : #SPRITES: medias/089171-000-A_SPR.vtt
> Successful one : #SPRITES: medias/105610-000-A_SPR.vtt
>
> Link to webvtt related tickets :
> - https://trac.ffmpeg.org/ticket/5067
> - https://trac.ffmpeg.org/ticket/5881
> - https://trac.ffmpeg.org/ticket/4048
>
> Thank you in advance
New description:
Hello,
I am trying to improve Kodi plugin Arte+7. The improvement aims at reading
videos from new Arte TV API instead of "old" Arte HBB TV API. Old content
is full mp4 file. New content is HTTP Live Streaming (HLS) packaged in
m3u8 files. Some m3u8 files can be read, some cannot.
How to reproduce:
{{{
% FAILURE
% ./ffplay.exe -v 9 -loglevel 99 https://arte-
cmafhls.akamaized.net/am/cmaf/089000/089100/089171-000-A/230120220655/089171-000
-A_VF-STF_XQ.m3u8 2> ko.log
...
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] type:'sidx' parent:'root' sz:
32248 847 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] sidx reference_type 1 is not
implemented. Update your FFmpeg version to the newest one from Git. If the
problem still occurs, it means that your file has a feature which has not
been implemented.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] If you want to help, upload a
sample of this file to https://streams.videolan.org/upload/ and contact
the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000228e9e50a00] error reading header
[AVIOContext @ 00000228e9aae980] Statistics: 35459 bytes read, 0 seeks
...
% SUCCESS
% ./ffplay.exe -v 9 -loglevel 99 https://arte-
cmafhls.akamaized.net/am/cmaf/105000/105600/105610-000-A/230111071325/105610-000
-A_VOF-STF_XQ.m3u8 2> ok.log
}}}
I reproduced the erroneous and success cases with Kodi 19.5 Matrix and
20.0 Nexus. I reproduced the issue directly with ffplay also and attach
the logs of ffplay command here.
EDIT : Both streams have WEBVTT SPRITES. But webvtt for successful
playback is not found 404.
Failing one :
- in m3u8 #SPRITES: medias/089171-000-A_SPR.vtt
- deeplink https://arte-
cmafhls.akamaized.net/am/cmaf/089000/089100/089171-000-A/230120220655/medias/089171-000-A_SPR.vtt
- content
{{{
WEBVTT
00:00:00.000 --> 00:00:06.000
089171-000-A_SPR_000000.jpg#xywh=0,0,240,135
...
}}}
Successful one :
- in m3u8 #SPRITES: medias/105610-000-A_SPR.vtt
- deeplink https://arte-
cmafhls.akamaized.net/am/cmaf/105000/105600/105610-000-A/230111071325/medias/105610-000-A_SPR.vtt
- content
{{{
Not found
}}}
Link to webvtt related tickets :
- https://trac.ffmpeg.org/ticket/5067
- https://trac.ffmpeg.org/ticket/5881
- https://trac.ffmpeg.org/ticket/4048
Thank you in advance
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10149#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list