Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Broadcasting streaming media > Streaming servers
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 03-27-2013, 09:44 PM
adrianmay adrianmay is offline
Junior Member
 
Join Date: Mar 2013
Posts: 1
adrianmay is on a distinguished road
Default

Re: NGINX-based RTMP server


Hi Roman,

I'm a video noob so I need a few basics explaining to me. I want to stash some pre-recorded videos on my amazon server (they're free right now BTW) and embed them in some web page served up by the same server.

1) Can I deliver the videos over port 80 or do I have to assume the viewer isn't behind a firewall?

2) If the former, how do I configure nginx and your plugin to have everything coming over 80, presumably with the videos under some URL directory?

3) What do I put in the web page to show the video on any browser on any device?

4) Do I need any other SW, and if so, is any of it proprietory?

5) To get the best cross-browser support without spending money, and to optimise speed and resolution, how should I encode the videos?

6) Can I do any adaptive bit rate tricks?

Thanks in advance,
Adrian.
Reply With Quote
  #12  
Old 03-30-2013, 12:55 AM
arut arut is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
arut is on a distinguished road
Default

Re: NGINX-based RTMP server


Hi
Quote:
Originally Posted by adrianmay View Post
Hi Roman,

I'm a video noob so I need a few basics explaining to me. I want to stash some pre-recorded videos on my amazon server (they're free right now BTW) and embed them in some web page served up by the same server.
that's VOD (video on demand)
nginx-rtmp supports mp4 & flv formats

Quote:
1) Can I deliver the videos over port 80 or do I have to assume the viewer isn't behind a firewall?
you can use any port

Quote:
2) If the former, how do I configure nginx and your plugin to have everything coming over 80, presumably with the videos under some URL directory?
use "listen 80" directive

Quote:
3) What do I put in the web page to show the video on any browser on any device?
for watching on desktop use any flash video player (JWPlayer, FlowPLayer, OSMF etc) or write your own flash app. For mobile devices you need HLS. VOD HLS is not supported in nginx-rtmp. I'm now writing such a module, it will be a proprietary module, I'll post more details later. You can escape using HLS and play mp4 on device.

Quote:
4) Do I need any other SW, and if so, is any of it proprietory?
you might need ffmpeg, it's free

Quote:
5) To get the best cross-browser support without spending money, and to optimise speed and resolution, how should I encode the videos?
transcode videos to H264 & AAC with ffmpeg/libx264/libfaac.

Quote:
6) Can I do any adaptive bit rate tricks?
with JWPlayer6 it's possible to have several bitrates for a single stream.

Thanks in advance,
Adrian.[/quote]
Reply With Quote
  #13  
Old 02-05-2014, 07:58 AM
leleo222 leleo222 is offline
Junior Member
 
Join Date: Feb 2014
Posts: 1
leleo222 is on a distinguished road
Default

Re: NGINX-based RTMP server


Hello! I'm trying to record a stream using this module, but the .flv file doesn't actually appears on the recorded_path I've set. Any ideas why?
Reply With Quote
  #14  
Old 04-05-2014, 08:08 AM
jasiek08 jasiek08 is offline
Junior Member
 
Join Date: Feb 2014
Posts: 19
jasiek08 is on a distinguished road
Default

Re: NGINX-based RTMP server


Hey Roman,
I'm trying to compile the nginx with module. I'm doing steps from this tutorial:

HTML Code:
https://github.com/arut/nginx-rtmp-module/wiki/Getting-started-with-nginx-rtmp
but after compile, there is no nginx in my sbin..
Quote:
-bash: /usr/sbin/nginx: No such file or directory
what should i do?
Reply With Quote
  #15  
Old 09-21-2014, 01:22 PM
89neuron 89neuron is offline
Junior Member
 
Join Date: Sep 2014
Posts: 1
89neuron is on a distinguished road
Default

Re: NGINX-based RTMP server


Is there any way as of now that I can play mp3/audio files with rtmp ?

If not possible solutions to it, red5 is really a mess when i try to play mp3 files.

Cheers!
Reply With Quote
  #16  
Old 01-03-2016, 06:08 PM
sonnvl sonnvl is offline
Member
 
Join Date: May 2015
Posts: 34
sonnvl is on a distinguished road
Default

Re: NGINX-based RTMP server


How to fix this?
When I use rtmpdump, it never starts at 0.0 second,
And after dumping for a while, it auto reconnect, and the obtain video is break !

Code:
rtmpdump -v -r "rtmp://123.30.238.125/live/_definst_/vtv7-high" -f "WIN 20,0,0,267" -W "http://vtvgo.vn/skin/js/jwplayer/jwplayer.flash.swf" -o "V7.flv"
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   Server                  NGINX RTMP (github.com/arut/nginx-rtmp-module)
INFO:   width                   1280.00
INFO:   height                  720.00
INFO:   displayWidth            1280.00
INFO:   displayHeight           720.00
INFO:   duration                0.00
INFO:   framerate               25.00
INFO:   fps                     25.00
INFO:   videodatarate           1562.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           125.00
INFO:   audiocodecid            10.00
37702.245 kB / 262.42 sec
INFO: Metadata:
INFO:   Server                  NGINX RTMP (github.com/arut/nginx-rtmp-module)
INFO:   width                   1280.00
INFO:   height                  720.00
INFO:   displayWidth            1280.00
INFO:   displayHeight           720.00
INFO:   duration                0.00
INFO:   framerate               25.00
INFO:   fps                     25.00
INFO:   videodatarate           1562.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           125.00
INFO:   audiocodecid            10.00
38548.455 kB / 5.00 sec
Reply With Quote
  #17  
Old 06-12-2017, 06:17 AM
ashleyjohn1189 ashleyjohn1189 is offline
Junior Member
 
Join Date: Mar 2017
Location: USA
Posts: 14
ashleyjohn1189 is on a distinguished road
Default

Re: NGINX-based RTMP server


Streamhash streaming software has also a NGINX based RTMP server.
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:20 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons