h.264 streaming support?

Igor Sysoev is at rambler-co.ru
Sat Jun 14 09:50:41 MSD 2008


On Fri, Jun 13, 2008 at 10:41:08PM -0700, mike wrote:

> followup question:
> 
> can a PHP script sending the X-Accel-Redirect: /path/to/file.flv
> header also take advantage of the nginx flv functionality?

Yes, but do not forget "start":

X-Accel-Redirect: /path/to/file.flv?start=XXX

Besides, nginx can handle flv only as static file, i.e. the request
can not be proxied, etc. However, you can use nginx on storage backends:

    nginx/proxy_buffering off  ->   nginx/FLV
                                    nginx/FLV
                                    nginx/FLV


> On 6/13/08, Igor Sysoev <is at rambler-co.ru> wrote:
> > On Fri, Jun 13, 2008 at 06:03:49PM -0700, mike wrote:
> >
> > > So does the nginx "flv" module work out of the box properly with the
> > > latest methods of doing h.264/flash video streaming?
> > >
> > > I just wanted to ask, I have not used it yet but may need to soon. I
> > > assume it works in conjunction with .swf players that use the
> > > ?start=XXX type method to be able to skip throughout the file properly
> > > (since it's not a progressive download?)
> >
> > Yes, nginx does not know anything about flv file structure.
> > It's player job to request correct ?start=XXX.
> >
> > > On 5/10/08, Rapsey <rapsey at gmail.com> wrote:
> > > > I'm not sure manipulating mp4 files is a good idea in a single process
> > > > server. Also Adobe released a new FLV specification a few days ago that
> > > > supports h264, so there is no real need for supporting mp4 files, because
> > > > the flv streaming module already works.
> > > >
> > > >
> > > > Sergej
> > > >
> > > >
> > > >
> > > > On Sat, May 10, 2008 at 3:33 AM, Jonathan Vanasco <nginx at 2xlp.com> wrote:
> > > > >
> > > > > is anyone working on a h.264 mod , that allows for streaming like the flv
> > > > mod?
> > > > >
> > > > > i only ask because a friend was needing h264 support, and lighty has it
> > > > now ( http://h264.code-shop.com/trac ) but nginx doesn't
> > > > >
> > > > >
> > > > >
> > > > > // Jonathan Vanasco
> > > > >
> > > > > w. http://findmeon.com/user/jvanasco
> > > > > e. jonathan at findmeon.com
> > > > >
> > > > > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > > > - - - - - - - - - - -
> > > > > | FindMeOn.com - The cure for Multiple Web Personality Disorder
> > > > > | Privacy Minded Web Identity Management and 3D Social Networking
> > > > > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > > > - - - - - - - - - - -
> > > > >
> > > >
> > > >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list