Code Monkey home page Code Monkey logo

Comments (5)

pubpy2015 avatar pubpy2015 commented on May 10, 2024 1

Hi,

Now your program very good.
delay 0.5 second with VLC and 1.2 second compare with video source.

αΊ£nh

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 10, 2024

Hey,

I would try to use less video queues (min/max) and also i would review the format options (during open format context), both the existing once but also the the options from ffmpeg for rtsp. Two seconds are too many, i dont think the problem are the queues tho. Probabaly, rtsp option for format context.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 10, 2024

If it still happens with the new version (use the latest commit!), let me know if you have an easy way for me to test it!

from flyleaf.

pubpy2015 avatar pubpy2015 commented on May 10, 2024

I think you shoud split Flyleaf to 2 projects for easy maintenance, monitor change and can be using your FlyleafMediaFramework in other projects

  • 1 project is FlyleafMediaFramework, include video decoder, renderer,....
  • 1 project is Flyleaf user control, player setting,...

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on May 10, 2024

Nice, we got them πŸ˜„ As you play on network (rtsp) streams you might want to try for faster opening to remove or reduce the values on the Demuxer.cs

av_dict_set_int(&opt, "probesize", 116 * (long)1024 * 1024, 0);
av_dict_set_int(&opt, "analyzeduration", 333 * (long)1000 * 1000, 0);

I know, I finally found some time to re-code the MediaDecoder but still has a lot of organize/clean up work to be done!

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.