nginx-rtmp | nginx built with rtmp module for fedora
kandi X-RAY | nginx-rtmp Summary
kandi X-RAY | nginx-rtmp Summary
nginx built with rtmp module for fedora
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nginx-rtmp
nginx-rtmp Key Features
nginx-rtmp Examples and Code Snippets
Community Discussions
Trending Discussions on nginx-rtmp
QUESTION
So I have a small website that shows different streams from web cameras around the city. (ex: https://camstream.alteco.lv:8443/live/camera1.m3u8). The stream can be viewed here: https://camstream.alteco.lv/camera/76d4b7f895df
This is a simple page with just the video player trying to play the stream using hls.js where it can be used and native tag for iOS devices.
All was working well until iOS 15 rolled out which broke the streams, so they are not viewable anymore. It simply shows that it's loading but nothing happens. Interestingly enough, that if I try to open the video in full screen and try seeking, the video instantly shows up. I also checked the incoming .m3u8 and .ts files using Inspect Element and everything seems to be fine.
At first, I thought that the issue is with the stream itself, but that doesn't seem to be the case, as I've tried all kinds of different options and profiles (baseline, main, high) but nothing changes, so it almost feels like a bug with the safari video player, but other streams from different sites I've found work fine. I've also tested the stream using the VLC app on iPhone and it works fine there. It only doesn't work on Safari.
I'm using nginx with the nginx-rtmp module to server the stream to clients.
...ANSWER
Answered 2022-Jan-31 at 22:12In the end I couldn't solve the problem with nginx-rtmp module and I simply switched to Node-Media-Server https://github.com/illuspas/Node-Media-Server
With this, the streams work great on all iOS versions
QUESTION
I am trying to set up a RTMP server with tiangolo/nginx-rtmp but it seem to be given me the following error when I try to run docker-compose up:
...ANSWER
Answered 2021-Sep-07 at 03:32For some reason docker-compose build was not going through and was not giving me any errors therefore it was updating my changes. After restarting it worked fine.
QUESTION
I want to get real-time streaming data (use mediasuop) and send it to nginx-rtmp-server via ffmpeg, but if I run it through the pipeline, the error occurs after logging as below. I checked that the rtmp server works well through OBS studio program, but when I run with the pipeline I prepared, the error occurs. Do you know where this problem occurs?
Problems with the pipeline? Problem with Sdp? Or something else?
my pipe line
...ANSWER
Answered 2021-Jun-28 at 19:14You can try with arealtime in filter, best of live stream to YouTube:
QUESTION
I'd like to use OBS to stream via RTMP to a nginx server, and then locally send the RTMP fragments to WebRTC, so that they can be transmitted to the client via a MediaStream. I think this possible as it is essentially described here. I'm doing this because the multi-second latency of HLS is not appropriate for what I'm trying to do.
I'm having trouble extracting the RTMP fragments from nginx, the only plausible command I could find for doing this in the documentation was pull rtmp://...
. When I tried this I did not see any files appearing in my root folder, where I would normally find the HLS files if I were using hls on
. Does anyone know how to accomplish what I'm trying achieve above?
Thanks!
...ANSWER
Answered 2021-Feb-14 at 03:31This is easily possible! You could base it off Pion’s rtp-to-webrtc example. This allows you to easily get media from ffmpeg into the browser.
The ffmpeg command you run instead would be like this one ffmpeg -re -i rtmp://localhost:1935/$app/$name -vn -acodec libopus -f rtp rtp://localhost:6000 -vcodec copy -an -f rtp rtp:localhost:5000 -sdp_file video.sdp
I would consider transcoding to VP8 since not all browsers support H264.
—-
If you want sub-second playback in the browser I would check out Project Lightspeed that’s your best option today IMO.
QUESTION
I'm trying to redirect an RTMP streaming from my pc into Ngninx using the nginx-rtmp-module following the examples to redirect the stream into an Azure Media Service live event. But it won't detect the encoder. I'm using the following nginx.conf:
...ANSWER
Answered 2020-Aug-27 at 07:20Push URL should be like below. It works for me.
QUESTION
My scenario is to pull data from a RTSP source via ffmpeg, send it to nginx-rtmp, and use nginx to provide hls playback. There are quite a lot of tutorials and q&a's on the internet. I followed this one:
https://docs.peer5.com/guides/setting-up-hls-live-streaming-server-using-nginx/
However, it miserably failed. To make things simpler to understand, I would like to ask the core question:
Who is responsible to create the m3u8 playlist file?
I tried to experiment in two steps: first, try to push a local mp4 file and play it back via HLS:
Following the above tutorial, I try to use ffmpeg to push a local mp4 file to nginx-rtmp, and use videojs to play it. The browser reported error:
...ANSWER
Answered 2020-Aug-13 at 09:56The nginx-rtmp module by itself creates and updates the playlist as new segments arrive.
To troubleshoot check if the .m3u8 files are created under the folder specified in hls_path
of your nginx conf. Rest is just nginx serving a file using http.
If that works try the HLS url directly in safari (safari got inbuilt HLS player) or in Chrome (Play HLS M3u8) extension enabled.
If that works the problem must be with your player.html
QUESTION
This is my first post here, even though this platform has already helped me a lot.
So, i'm trying to create a stream and display it in a browser. I have already configured NGINX with the rtmp module and my stream works very well with HLS (between 5 and 10 seconds of latency).
Now I would like to set up a low-latency stream and that's why I have installed the janus-gateway webRTC server that allows to take in input an RTP stream and provide in output a webRTC stream.
Here's the schema I'd like to follow :
OBS -> RTMP -> Nginx-rtmp-module -> ffmpeg -> RTP -> Janus -> webRTC -> Browser
But I have a problem with this part : "nginx-rtmp-module -> ffmpeg -> janus"
In fact, my janus's server is running and demos streaming works very well in localhost, but when i try to provide an RTP stream, Janus don't detect the stream in the demos (it shows "No remote video available").
Anyone can help me, please ?
Ressources :
- My janus.plugin.streaming.jcfg configuration :
ANSWER
Answered 2020-Jul-07 at 09:12Do you solve problem? I try console " ffmpeg -i rtmp://0.0.0.0:1935/live/test03 -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://127.0.0.1:5004 " " sudo ffmpeg -i "rtmp://0.0.0.0:1935/live/test03" -map 0:2 -c:v libx264 -profile:v main -preset ultrafast -tune zerolatency -f rtp rtp://127.0.0.1:5005 "
I have same issue like you
QUESTION
totally new to this, so please don't judge too hard. Little uni project, trying to set up an RTMP NGINX server within a Ubuntu OS virtual machine on my mac.
Ubuntu OS --> 20.04 LTS
Mac OS --> 10.15.5
I'm following two guides... https://www.nginx.com/blog/video-streaming-for-remote-learning-with-nginx/ and https://www.servermania.com/kb/articles/nginx-rtmp.
For both guides everything works fine until I try to make
. I get the following error -->
Prepending sudo
does not help either.
Thanks in advance for any help!
...ANSWER
Answered 2020-Jul-15 at 14:07Answer taken from: https://github.com/arut/nginx-rtmp-module/issues/1283#issuecomment-439217412
Add this to the end of your ./configure
command:
QUESTION
I have a JavaFX Application that uses OpenCV to get the frames from the camera.
I would like to send this stream to nginx-rtmp.
I must be missing something (or the whole loginc of RTMP) but I can't seem to find a simple way to make the stream
I already tested the nginx-rtmp with OBS Studio, and I have the frames, I'm missing the link to get the frames through the RTMP link.
Already found a couple of libraries (xuggler, gstreamer,humble-video...) but none of them seems to work or didn't find a way to implement them correctly
...ANSWER
Answered 2020-Jul-13 at 19:24Based on the discussion we had at the comments section, this is the summary:
FFmpeg is the Swiss army knife for all sort of video processing and streaming. In case you want the camera stream to be re-streamed as RTMP regardless what's you doing in OpenCV then that's also possible.
If that's the case then just google FFmpeg source-protocol dest-protocol
.
Regarding the Java version, you can invoke FFmpeg as command line from your Java code, otherwise its API support JAVA beside many other languages.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nginx-rtmp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page