Skip to content

#EXT-X-IMAGE-STREAM-INF Not handled case  #68

Open

Description

@adamMadoyan

Thanks for this great library, it's very useful!

I have an issue where I need to merge two playlist, During the parsing #EXT-X-IMAGE-STREAM-INF is not handled and after merging it is removed from primary playlist.m3u8.

Here is my case, I am using this for stick play

#EXT-X-IMAGE-STREAM-INF:BANDWIDTH=6619,CODECS="jpeg",RESOLUTION=240x116,URI="playlist_Thumbnail_I-Frame.m3u8"

Activity

  1. cbarbosa2 commented on Oct 15, 2024

    @cbarbosa2

    I'm having the same issue, I get a PlaylistParserException: Tag not implemented: EXT-X-STREAM-INF

    when parsing for example this file:

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-INDEPENDENT-SEGMENTS
    #EXT-X-STREAM-INF:BANDWIDTH=817298,AVERAGE-BANDWIDTH=320170,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=30.000,CLOSED-CAPTIONS=NONE
    index1080p30.m3u8
    #EXT-X-STREAM-INF:BANDWIDTH=479776,AVERAGE-BANDWIDTH=232893,CODECS="avc1.64001f,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=30.000,CLOSED-CAPTIONS=NONE
    index720p30.m3u8
    #EXT-X-STREAM-INF:BANDWIDTH=286762,AVERAGE-BANDWIDTH=178335,CODECS="avc1.64001f,mp4a.40.2",RESOLUTION=854x480,FRAME-RATE=30.000,CLOSED-CAPTIONS=NONE
    index480p30.m3u8
    
  2. carlanton commented on Oct 15, 2024

    @carlanton
    Owner

    Hello!

    EXT-X-IMAGE-STREAM-INF is currently not supported. Pull requests are welcome :-) It's not part of the HLS RFC but it shouldn't be that hard to implement: https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf

    @cbarbosa2: EXT-X-STREAM-INF is supported but I'm guessing that you are using the wrong parser. See https://github.com/carlanton/m3u8-parser#parse-master-playlist for how to parse master playlists.

    Cheers,
    Anton

  3. cbarbosa2 commented on Oct 15, 2024

    @cbarbosa2

    You're absolutely right @carlanton , I completely missed the existence of 2 parsers. Thanks a lot for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions