Hot answers tagged

7

You can use FFmpeg as an RTMP server as following ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app -c copy rtsp://YOUR_RTSP_HOST Notes: -listen 1 makes FFmpeg act as a RTMP server when used with RTMP protocol Use rtmp://localhost:1935/live/app as the RTMP server url on the source You can set any playpath rtmp://localhost:1935/any/thing and any ...


5

Use ffmpeg -re -stream_loop -1 -i file.flv -c copy -f flv rtmp://x.y.z This option is buggy when the input it is applied to is filtered with another input, like in an overlay. For a single input - output chain, it works fine.


4

I've solved the issue by rebuilding the timestamps from scratch with -use_wallclock_as_timestamps 1 and -fflags +genpts. /usr/bin/ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp://${source}" -fflags +genpts -vcodec copy -acodec aac -f flv "rtmp://${dest}" This is only a partial solution, or rather workaround, as it's still unclear to me what causes this ...


3

It varies a little from one server to another, but the basic components are an encoder/streaming client on the local client that takes input from the camera and turns it in to a stream that can be sent to the stream server on the VPS. The job of the stream server (such as Red5) is then to provide a publishing point that relays the stream to viewers. The ...


3

I'm pretty sure you can use vlc to both stream and restream it. I use vlc to stream all my tv channels to all my devices(rtsp, mp4, html5). Search for vlc media player streaming like https://www.videolan.org/doc/streaming-howto/en/ch04.html


2

There's another free, more lightweight alternative to wowza and red5 - the nginx-rtmp-module, which frees you from messing around with java https://github.com/arut/nginx-rtmp-module/ and here's a guide to set it up with the free Open Broadcaster Software (which unfortunately is windows only) https://obsproject.com/forum/resources/how-to-set-up-your-own-...


2

If you just want a plain RTMP stream, you might look at the nginx-rtmp module which looks quite easier to set up than crtmpserver. Just a general suggestion: H.264 compression is a bit CPU-intensive, so if your server is more powerful than your notebook and the server to notebook-connection is good, it might be an idea to stream just "plain frames" with ...


2

https://net7mma.codeplex.com has a server and client implementation which is compatible with VLC and was created for exactly the scenario you cite. From the website: This project's goal is to allow developers to deliver media to clients freely in less then 10 lines of code utilizing standards complaint protocol implementations. It also aims to provide a re-...


2

You can strip most of the metadata off your files using ffmpeg: ffmpeg -i oldfile.mp4 -c copy newfile.mp4 This will copy the first audio and video streams to a new mp4.


2

I got it working by adding -fflags nobuffer -flags low_delay -strict experimental before all the inputs. Got helped reading this thread


1

I think i got it! if anyone wants to clean this up let me know, it does work though as is this is the partial code from the windows batch file: ECHO Type in your stating playlist file ECHO. set /p list="" set video=rtmp://stream.ssh101.com/live/XXXXXXXXX bin\ffmpeg -hide_banner -loglevel quiet -stats -re -f concat -safe 0 -stream_loop -1 -i %list% ...


1

We used RTSP and it works fine. There are a few benefits of NDI (like doing PTZ controls over that protocol) but not worth the price jump for the cameras, in my opinion ($600 to upgrade each camera to NDI). We do notice a ~200 ms delay in the video reaching the mixing PC behind the audio so we just use Vmix to delay the sound and match them up.


1

Try to use static build of ffmpeg without librtmp. You can download it from the website, or build by yourself. I've got the same problem, but without this lib I could run ffmpeg listener. Also when I tried to stream to external rtmp host, I've got issue when streaming unexpectedly stop. As described in the end of this ticket https://trac.ffmpeg.org/ticket/...


1

-vsync parameter Video sync method. 0: Each frame is passed with its timestamp from the demuxer to the muxer 1: Frames will be duplicated and dropped to achieve exactly the requested constant framerate. 2: Frames are passed through with their timestamp or dropped to prevent 2 frames from having the same timestamp -1: Chooses between 1 and 2 depending ...


1

Perhaps you've already discovered a solution, but you need a server that accepts the RTMP stream, and outputs an HLS video stream. You can then use one of many JavaScript players (like video.js) to show your video on the web. Companies like api.video will transcode the video, and give you a "web ready" player that you can just drop onto your ...


1

The JVC GY-HM200 has live streaming capabilities - http://pro.jvc.com/prof/attributes/features.jsp?model_id=MDL102319. I've never used that particular model (so have no personal experience of the live streaming functions) but I do use the 170 and it's a solid little camcorder with a great range of options (including shooting in 4K and at high speed - ...


1

Launch VLC. Go to Open Network Stream. After specifying the URL, select Convert in place of Play. Choose Dump raw input. In destination file, specify somefilename.ts. Wait 10 minutes. Launch another VLC instance. Play somefilename.ts


1

The reason is because HLS as a source is really just a static file (a bunch of .TS packets). This requires you feed the new ffmpeg process (in your case RTMP) at x1 speed, or real time. You can do this with the -re flag before the input.


1

As the docs say, you need the Blackmagic DeckLink SDK and you need to configure with the appropriate --extra-cflags and --extra-ldflags. On Windows, you need to run the IDL files through widl If so, run ffmpeg -re -i rtmp://server/live/streamname -c:v rawvideo -pix_fmt uyvy422 -vf scale=720x576 -c:a pcm_s16le -ar 48000 -ac 2 -f decklink "Device" ...


1

It looks like it isn't particularly trivial, however crtmpserver have a tutorial on their wiki here. It looks like you have to configure a lua file and then doing a new cmake of the server. (So very much non-trivial.) As an alternative, there are other servers that may do this for you more easily such as Red5 and also Adobe has a free offering mentioned ...


1

<link href="http://mysite.net/sites/all/libraries/video-js/video-js.css" rel="stylesheet" /> <script src="http://mysite.net/sites/all/libraries/video-js/video.js"></script> <script> videojs.options.flash.swf = "http://mysite.net/sites/all/libraries/video-js/video-js.swf" </script> <script src="http://mysite.net/sites/all/...


Only top voted, non community-wiki answers of a minimum length are eligible