Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add extra info to the extinf tag? #1521

Open
sgrossiP opened this issue Apr 24, 2024 · 1 comment
Open

how to add extra info to the extinf tag? #1521

sgrossiP opened this issue Apr 24, 2024 · 1 comment

Comments

@sgrossiP
Copy link

sgrossiP commented Apr 24, 2024

hello everyone
any idea how to add extra info to the extinf tag? i need to send in the m3u8 file the start time of the mp4 file to know exactly what fragment is playing in the browser

th

edit:
im trying to add the clipFrom property but it does not appear to work, example below

{
"playlistType":"vod",
"discontinuity":true,
"durations":[
302994,
300001,
300002
],
"sequences":[
{
"clips":[
{
"type":"source",
"path":"/mnt/sda1/onvp/recordings/camera_459_2/2021/05/24/videos/camera_459_2-04-59-09.146895.mp4",
"clipFrom":50854
},
{
"type":"source",
"path":"/mnt/sda1/onvp/recordings/camera_459_2/2021/05/24/videos/camera_459_2-05-04-12.141005.mp4"
},
{
"type":"source",
"path":"/mnt/sda1/onvp/recordings/camera_459_2/2021/05/24/videos/camera_459_2-06-59-24.172927.mp4",
"clipFrom":300002
}
]
}
]
}

using .31 version

@erankor
Copy link
Contributor

erankor commented Apr 30, 2024

Adding extra info to EXTINF is not supported, but you can enable ID3 tags, which translate to metadata events in the player

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

No branches or pull requests

2 participants