Giter VIP home page Giter VIP logo

Comments (7)

futzu avatar futzu commented on July 16, 2024 1

Dude, that's just some random on my server, I would not use that for any kind of testing.
At least re-encode it, I don't even know what codec it uses to be honest with you.

When I get some time I will look at the discontinuity issue.

from scte-35_hls_x9k3.

futzu avatar futzu commented on July 16, 2024

I think I know what is causing that... give me a minute.

from scte-35_hls_x9k3.

futzu avatar futzu commented on July 16, 2024

This should fix it.

python3 -mpip install --upgrade x9k3

from scte-35_hls_x9k3.

josepowera avatar josepowera commented on July 16, 2024

This fix solved issue above (replay stops after last segment created). THX!

However there must be another thing, since the play on segments with EXT-X-DISCONTINUITY does not continue smooth. Same source file as above. Same config, just updated x9k3 version to new. Problem detected with ~seg32.ts, ...seg134.ts, seg187.ts ...

When testing in browser using VideoJS 7 in Chrome on windows 10, I see some report in console of browser around segment with EXT-X_DISCONTINUITY (this is I believe where stream is restarted from beggining):
Segment with index 3 from playlist 0-https://edited.com/variant0/index.m3u8 has a duration of 10.431999999999988 when the reported duration is 5.339 and the target duration is 3. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details

and video player stops and browser is re-fetching same segments a few time (in should normally just move on) then stops.

from scte-35_hls_x9k3.

futzu avatar futzu commented on July 16, 2024

Is that with the longb.ts video?

from scte-35_hls_x9k3.

josepowera avatar josepowera commented on July 16, 2024

yes, longb.ts

from scte-35_hls_x9k3.

futzu avatar futzu commented on July 16, 2024

I double reset the stream when I fixed the loop, wait 10 mins and run pip again.

If you are using something with a big GOP like that , you can adjust the seconds with the -t switch and
that will up the target duration.

target duration is hard to predict,
You cannot change the target duration on a playlist,
and the you cant just make it a big number because target duration *3 cannot exceed the total seconds of the playlist.

longb is a kick ass video though, I ride longboards.

from scte-35_hls_x9k3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.