[Ffmpeg-devel] truncated audio output
Mon Jun 19 11:22:06 CEST 2006
On Mon, Jun 19, 2006 at 10:01:36AM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer said:
> > Hi
> > On Mon, Jun 19, 2006 at 12:11:26AM -0400, Justin Ruggles wrote:
> >> After re-reading my post, I figured that my idea might be better
> >> explained by a patch. Here is what it would look like if I modified the
> >> pcm encoder to use my suggestion instead of frame_size=1, which is what
> >> is used currently.
> > i agree that a CODEC_CAP_VAR_FRAME_SIZE needs to be added ...
> Couldn't a frame_size of 0 be used to signal this? Permitting a partial last
> frame is also useful with some codecs.
but what frame size would then be used for the previous frames?
a codec might not support arbitrary large ones or might not allow non fixed
except for the last
if all codecs which support arbitrary small last frames also support
arbitrary large frames anywhere then of coarse frame_size=0 would be
enough and iam fine with that too ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel