[Ffmpeg-devel] [bugs] grabbing v4l2 -> buffer underflow ; packet too large ; pcm_s16le vs mp2

Måns Rullgård mru
Fri Feb 24 15:13:38 CET 2006


Erik Slagter said:
> On Fri, 2006-02-24 at 12:58 +0100, Michael Niedermayer wrote:
>> > > mans, any flames or improvements for our mpeg-ps (de)muxer? so its fast
>> but
>> > > still compliant or supports all video & audio codecs, for example raw?
>> >
>> > You and I both know that MPEG PS only supports ISO 11172/13818/14496
>> codecs.
>>
>> why dont we simply add/invent a generic codec descriptor
>> (fourcc,width,height, samplerate,extradata) in some private stream or such?
>
> And then only ffmpeg would be able to handle these streams. IIRC there
> are already various tricks to handle other-than-mpeg1/2 codecs in mpeg
> ps, although not widely supported, still that would be better than
> inventing something completely new.

I was about to say the same thing.  There's not much use in creating files
that nobody else can read.  Besides, we have already invented NUT.

> BTW what is the added value for trying to support all codecs in program
> streams? IMHO if you don't want to use avi, mp4 suits this use much
> better because it can handle all sorts of codecs natively.

The problem with mp4 is that it is virtually impossible to read or write
properly.  Haven't you been following the discussion this week?

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list