setup a vod for mp4 video files using nginx and rtmp - nginx

I am using adobe captivate.
We are planning to provide live streaming of mp4 videos.
How do I set up live streaming of mp4 using nginx and rtmp?
Any advice.

MP4 is not a streaming format. It is more or less impossible to have 'live' streaming mp4. You need a streaming container like flv or ts.

Related

Nginx Rtmp Module - How to check resolution when pushing rtmp stream to server before redirecting stream to another application?

I have a problem when developing a livestream system with nginx-rtmp-module . I have consulted some systems, there is a function that when pushing the rtmp stream, the livestream systems can recognize the resolution of the stream -> from there it will encode to hls with the corresponding profiles. For example stream 720p produces hls file with 360p -> 720p , if stream 1080p will produce hls file with 360p -> 1080p . I have tried the ways but no success. So how can I check the resolution and redirect the rtmp stream to the appropriate application for encoding. Looking forward to everyone's advice.
You should do this asynchronously:
Client ---RTMP--> NGINX ---Callback--> Server(Start a task to do this)
When publishing RTMP stream to NGINX, it will use HTTP callback to your Server, then you can start a asynchronouse task to detect the resolution and redirect the stream:
Detect the stream by FFmpeg or ffprobe.
ffprobe -v quiet -print_format json -show_streams rtmp://ip/app1/stream1
Redirect the stream to another application.
ffmpeg -f flv rtmp://ip/app1/stream1 -c copy -f flv rtmp://ip/app2/stream1

Decrypt mpeg dash live streaming with Widevine decryption url and restream with ffmpeg

I have
MPD file by URL (Video URL) - Stream type DASH
Widevine License URL - https: // drm .... /widevine/cenc/..../getlicense
This bunch can be opened using an online player and view the entire mpd file
I want open this video url and restream it with ffmpeg
Is there any ffmpeg command to do that?

how to play http live streaming video URL in jwplayer on my https website?

I am newb for jwplayer.
I have issue to play http live streaming video URL on my https website.
I have following live streaming video URL
http://xyz.3da92.cdn.net/803DA92/abcd/v/RA/abcdxyz/play.m3u8?xyz
and my website like https://example.com with has jwplayer.
but when I have try to play live streaming
I am getting following:
Mixed Content: The page at 'https://example.com' was loaded over HTTPS,
I am not able to change live streaming video URL becuse it is third party URL So, I can't control it. And want to run my website on https.
So, My question is how to play http live streaming video URL on my https website?
Proxy the stream on your server to output https.

FFMPEG convert RTSP to HTTP streaming video

I have a IpCam that send streaming video only on rtsp://ipaddress/live.
My software accept only streaming video over HTTP.
So I thing that could use FFMPEG to convert streaming from RTSP to HTTP.
I have installed FFMPEG on Windows 7 and I have try an example to convert RTSP to video file: ffmpeg -i rtsp://192.168.0.43:1256 -r 15 C:/output/video.mp4 and it works.
Can any help me to convert RTSP to HTTP streaming (i use Windows 7 S.O.).
Thank you.

Convert http live streaming to rtsp live streaming

How to covert http live streaming in to rtsp live streaming in online? I mean to convert without any software.

Resources