Comments (5)
MLT uses libavformat for this. It all depends on who provided your libavformat, its version, and how it was built. Also, you may need to supply parameters on the URL query string instead of on the producer. Also none of MLT maintainers have convenient access to RTSP let alone a TCP variant of it to provide much assistance or debugging. If you want to get anywhere with this you should provide info on how to create such a stream and exactly how you are trying to read it with melt. If it is not convenient or obvious, I doubt anyone wants to address this bug report.
from mlt.
Some tips:
Run melt -query producer=avformat
to see if that libavformat parameter exists in your version.
Try to preface the URL with 'avformat-novalidate'. By default, MLT avformat producer opens the resource upon construction of the object to verify it can actually be used and gather basic info such as duration, default stream indexes, and seekable. If it is not seekable, then the resource is kept open, which likely means MLT properties after construction might not have any effect. "avformat-novalidate" skips that step, and you ought to be able to then set additional MLT properties needed prior to the actual stream open.
from mlt.
The parameter existed in my version and unfortunately avformat-novalidate tended to segfault with the versions I used. Now I'm experimenting with main git branch and haven't tried yet. While I have your attention - is there any way to make melt+avcodec send frames as soon as they are processed? I'm sending the data (sample clip) to a rtmp server and the data arrives only after the whole clip is processed or the process is interrupted by pressing 'q' or 'ctrl-c'.
Edit: the latter issue doesn't show up in the latest mlt/melt version.
from mlt.
As you said it's all in the ffmpeg version. To sum up what I've learned - with the latest git version some streaming inputs work (i.e. UDP, HTTP), some don't (RTMP) and I couldn't find any key to what doesn't work and why. And avformat-novalidate doesn't work with with UDP at all. All the streams I tested work fine with the standalone ffmpeg executable built alongside with melt.
from mlt.
No one is going to fix this for you. Submit patches, but this is a horrible bug report as written; so, I am closing it. For example, what is an "rtmp camera" and what does it have to do with RTSP? It is not even clear if this is about streaming input or output.
from mlt.
Related Issues (20)
- How to solve the aliasing problem in video mixing process? HOT 1
- Watermark Chinese garbled code HOT 2
- Video cannot be played on IOS phones HOT 1
- Can't build on MSVC 2019 HOT 1
- Multi track video synthesis is very resource and time consuming
- Shotcut crashes after timeline undo operations with MLT 7.20.0 HOT 2
- Memory leak when Kdenlive project contains clip with changed speed and FX HOT 5
- mlt 7.22.0 does not compile with libxml2 2.12.0
- Exporting AVI format videos is very blurry and clearly mosaic like HOT 2
- 7.22.0 CMakeLists.txt HOT 1
- mlt.so does not specify dependency on libruby.so HOT 1
- [SVT-AV1] MLT does not seem to support any configuration done via Kdenlive interface except "preset". HOT 1
- Discovered a bug regarding image size scaling and rotation
- sdl consumer may require SDL12COMPAT_NO_QUIT_VIDEO
- Protobuf duplicate library causes crash HOT 3
- Melt SIGSEGV when using the -chain flag HOT 5
- "Why does the outline range of fonts in Shotcut span from 0 to 200, while in MLT, the range is only from 0 to 3? Is there any solution?" HOT 6
- How to change the spacing of wrapped text? HOT 3
- how to use gpu decode video? HOT 1
- MLT master fails to build with ffmpeg 7.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlt.