Giter Site home page Giter Site logo

Stream synchronization issue about flyleaf HOT 7 OPEN

zhishiheng avatar zhishiheng commented on May 29, 2024
Stream synchronization issue

from flyleaf.

Comments (7)

zhishiheng avatar zhishiheng commented on May 29, 2024

Is there any good way to solve this problem?

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

this is the log
Uploading log.txt…

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

@zhishiheng Generally speaking is not possible to sync two live feeds (eg. the same exact feed) and have 100% sync accuracy. That's because of the timestamps, it could be possible if their timestamps were based on the actual world time. But currently Flyleaf does not support to sync two different inputs like that. The best way it would be with MaxLatency but if you talk for the same input/stream why do you open it twice and don't just use the replica player?

(Can't see the log but in this case it wouldn't be really helpful)

from flyleaf.

t3therdev avatar t3therdev commented on May 29, 2024

@SuRGeoNix what about syncing the players to an external time reference? I believe ffmpeg has some support for this using ntp timestamps in the rtc sender reports for rtsp . it could be useful for a few different situations and use cases.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

@t3therdev I've already mention "That's because of the timestamps, it could be possible if their timestamps were based on the actual world time. But currently Flyleaf does not support to sync two different inputs like that."

There is indeed an option in FFmpeg which is "use_wallclock_as_timestamps=1". Never test it though, not sure if it would work as it supposed to (how it could identify the send and time -not the recv- accurately so it can sync different demuxers/streams)

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

how to use replica player?

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

how to use replica player?

Check the samples

from flyleaf.

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.