Hi
Quote:
Originally Posted by adrianmay
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]