[Ffmpeg-devel] Which video codec for embedded use (iPods etc) ?
Sat Feb 11 22:34:49 CET 2006
On Sat, Feb 11, 2006 at 08:20:53PM +0000, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> > Hi
> > On Sat, Feb 11, 2006 at 07:48:15PM +0000, M?ns Rullg?rd wrote:
> >> Michael Niedermayer <michaelni at gmx.at> writes:
> >> >> I'm looking for advice as to which video codec has the greatest chance
> >> >> of performing well in such an environment. i.e. one which gives a
> >> >> reasonable compression ratio, but is "easy" to decode?
> >> >
> >> > mpeg1 in avi or other simple container (not mpeg-ps)
> >> Why not mpeg-ps? It's as simple as anything to demux, and is a
> >> standard format.
> > with AVI you have some buffer which contains part of the file, simply
> > check the frame size, if you have enough pass a pointer to the decoder,
> > if not read more
> > with MPEG-PS you need to do the same but additionally you need to
> > go over all the data and ensure that you have a complete slice before
> > you can decode it, or is there some trick iam not aware of?
> It depends on the decoder. Most decoders, including lavc, will decode
> the bitstream as it is passed in, and signal when a complete
> slice/frame has been decoded. Does lavc send MPEG data through the
> frame parser, even when the codec doesn't require it?
the codec itself will send the data through the "parser" if you dont
supply it with complete frames
More information about the ffmpeg-devel