• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Plugin Development Specify m3u8 stream to use from a m3u8

     
    • 0 Vote(s) - 0 Average

    Specify m3u8 stream to use from a m3u8

    Misom
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #1
    2024-02-06, 12:19 PM
    Hello Jellyfin community!
    I am currently working on writing a Plugin for ARD (a German broadcaster) but I noticed that the video stream played by Jellyfin always defaults to the first entry in the original m3u8 stream, which is low quality. Is there some way of specifying either the audio and video stream directly or to set which stream inside the original m3u8 stream should be used for audio/video?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-02-06, 05:47 PM
    m3u8 files are just plain text. Couldn't you just reorder the file?

    Otherwise, I am not aware of a way to set a default stream.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    axute
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #3
    2024-03-28, 07:43 PM
    I have the same issue with m3u8 files.


    for example:
    Code:
    #EXTM3U
    #EXTINF:-1,3sat
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/high/master.m3u8
    if you follow this link, you will get the following list:
    Code:
    #EXTM3U

    #EXT-X-INDEPENDENT-SEGMENTS

    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/5/5.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="Klare Sprache / Originalton",LANGUAGE="mul",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/6/6.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/7/7.m3u8"

    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/5/5.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="Klare Sprache / Originalton",LANGUAGE="mul",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/6/6.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/7/7.m3u8"

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-3211583617",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/8/8.m3u8"

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-1566965899",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/8/8.m3u8"

    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=480x270
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/1/1.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=480x270
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/1/1.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=640x360
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/2/2.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=640x360
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/2/2.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=960x540
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/3/3.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=960x540
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/3/3.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=50.000,RESOLUTION=1280x720
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/4/4.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=50.000,RESOLUTION=1280x720
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/4/4.m3u8


    It is possible to switch the resolution, but there is no audio or subtitle.
    Any ideas?
    Misom
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #4
    2024-04-08, 07:56 PM
    (2024-03-28, 07:43 PM)axute Wrote: I have the same issue with m3u8 files.


    for example:
    Code:
    #EXTM3U
    #EXTINF:-1,3sat
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/high/master.m3u8
    if you follow this link, you will get the following list:
    Code:
    #EXTM3U

    #EXT-X-INDEPENDENT-SEGMENTS

    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/5/5.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="Klare Sprache / Originalton",LANGUAGE="mul",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/6/6.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-3211583617",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/7/7.m3u8"

    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/5/5.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="Klare Sprache / Originalton",LANGUAGE="mul",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/6/6.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1566965899",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/7/7.m3u8"

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-3211583617",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/8/8.m3u8"

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-1566965899",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/8/8.m3u8"

    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=480x270
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/1/1.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=480x270
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/1/1.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=640x360
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/2/2.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=640x360
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/2/2.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=25.000,RESOLUTION=960x540
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/3/3.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=25.000,RESOLUTION=960x540
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/3/3.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-3211583617",SUBTITLES="T1-3211583617",FRAME-RATE=50.000,RESOLUTION=1280x720
    https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/4/4.m3u8
    #EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-1566965899",SUBTITLES="T1-1566965899",FRAME-RATE=50.000,RESOLUTION=1280x720
    https://zdf-hls-18.akamaized.net/hls/live/2016501-b/dach/4c5a14a9d03ced57f8e34f50c0bfebd2/4/4.m3u8


    It is possible to switch the resolution, but there is no audio or subtitle.
    Any ideas?
    I have not found a solution and probably won't be trying anything else since I have other stuff to do, but if you find anything I would be pleased to know how to fix this.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode