Coder Social home page Coder Social logo

Avformat producer AV sync about mlt HOT 3 CLOSED

mltframework avatar mltframework commented on May 14, 2024
Avformat producer AV sync

from mlt.

Comments (3)

ddennedy avatar ddennedy commented on May 14, 2024

There is not enough information. What is your version? What is your OS? What are you running in melt (command line)? What is some basic information about "UDP MPEG-TS" stream such as codecs, frame rate, etc.? Why do you use melt instead of ffmpeg?

from mlt.

matiaspl avatar matiaspl commented on May 14, 2024

melt 0.9.9 (git from 14.02.2016), ffmpeg N-78419-g4099e4a, Ubuntu 14.04 LTS. I'm using command line melt as a signal generator - I want to acheive constant framerate regardless of input stream being on or off. Something like a digital telecine or a video mixer/switcher if you like.

The workflow:

  • source stream: H264 MP@ML 720p50, MP2 audio 48 kHz UDP multicast
  • two tracks: color producer on the bottom track, avformat on top
  • avformat producer options: reconnect=1, stimeout=1000000
  • raw video+audio output in MKV container piped to ffmpeg for multi bitrate encoding with RTMP delivery

Currently I'm experimenting with additional err_detect and fps=25 filter graph options on input.

from mlt.

matiaspl avatar matiaspl commented on May 14, 2024

Additional info - I'm using atsc_720p_25 profile. This seems very important, because the melt's frame dropping mechanism is likely to be the source of the problem. Adding -graph=fps=25 keeps the AV sync - no problems after 14 hours. I have now a new a problem with video jitter. Apparently the 50 -> 25 fps conversion using fps avfilter doesn't drop every second frame but does something more evil. Even though the current outcome is more than acceptable. I'll get back to you after my 48hrs test completes. It might be worth mentioning this solution in the wiki.

from mlt.

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.