Giter Site home page Giter Site logo

Play Delay about flyleaf HOT 9 CLOSED

zhishiheng avatar zhishiheng commented on May 29, 2024
Play Delay

from flyleaf.

Comments (9)

zhishiheng avatar zhishiheng commented on May 29, 2024
 Engine.Start(new EngineConfig()
            {
                FFmpegPath = AppDomain.CurrentDomain.BaseDirectory + "FFmpeg", // @"C:\Flyleaf\FFmpeg",;;
                FFmpegDevices = false,    // Prevents loading avdevice/avfilter dll files. Enable it only if you plan to use dshow/gdigrab etc.

#if RELEASE
                FFmpegLogLevel      = FFmpegLogLevel.Quiet,
                LogLevel            = LogLevel.Quiet,

#else
                FFmpegLogLevel = FFmpegLogLevel.Warning,
                LogLevel = LogLevel.Debug,
                LogOutput ="log.txt",
                //LogOutput         = ":console",
                //LogOutput         = @"C:\Flyleaf\Logs\flyleaf.log",                
#endif

                //PluginsPath       = @"C:\Flyleaf\Plugins",

                UIRefresh = false,    // Required for Activity, BufferedDuration, Stats in combination with Config.Player.Stats = true
                UIRefreshInterval = 250,      // How often (in ms) to notify the UI
                UICurTimePerSecond = true,     // Whether to notify UI for CurTime only when it's second changed or by UIRefreshInterval
            });// ;

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

@zhishiheng Please try to explain what you want when you ask something. There is no RTS protocol (probably RTSP?) and engine's config has nothing to do with the open delay if that's what you ask. Try set Config.Demuxer.AllowFindStreamInfo = false

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

The mobile phone provides RTS streaming, which can be played on the desktop. The desktop and mobile screens are out of sync and will be delayed by 3-8s.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

Provide a log file, give a link with the related ffmpeg rts protocol/format, check the config before opening an issue (eg. MaxLatency)

Check more from other issues #388

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

thank you very much.
by the way , if i want to Saves all video frame,
Is it feasible for me to use the TakeSnapshotToFile method and then call it every 20 milliseconds with a timer?

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 29, 2024

if you want to save all frames check the extractor sample

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

if i want to save i frames only how can i do?

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

What I mean is that while I play the RTS stream, I save the keyframe data

from flyleaf.

zhishiheng avatar zhishiheng commented on May 29, 2024

extractor sample work good for mp4,but RTS Stream not work

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.