[x264-devel] Re: encode for streaming

Jindrich Makovicka makovick at gmail.com
Fri Apr 27 15:02:30 CEST 2007


On 4/27/07, DNA Studios s.r.l. <info at dnastudios.it> wrote:
> Loren Merritt ha scritto:
> > On Thu, 26 Apr 2007, DNA Studios s.r.l. wrote:
> >
> >> I have a Video on demand platform, I use Darwin streaming server and
> >> vlc or mplayer as client (sometime ffmpeg directly).
> >> Usually I encode my movies in main profile (1 pass average bitrate
> >> 1000 Kbit/s).
> >> There are some parameters to use (or to do not use) for streaming
> >> purpose? (i.e. B-frames number or keyframe interval)
> >
> > The main options that differ between streaming and other encoding
> > types are: --keyint, --vbv-maxrate, --vbv-bufsize.
> > However, I can't tell you what values you should give those options,
> > other than to say that they're the same in any streaming codec and not
> > specific to x264.
> >
> > --Loren Merritt
> Thanks for answer,
> Let me make just another question:
> vbv-bufsize override the player cache settings when streaming?
> If I encode with vbv-bufsize 2000Kbit and I play it with a player that
> have 1000Kbit of cache setting?

No, it controls only the rate control behavior on the encoder side. If
you exceed the player cache size, you can expect stuttering and/or
audio-video desynchronization. You should set the buffer size as the
minimum of expected player buffer sizes.

-- 
Jindrich Makovicka

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list