[FFmpeg-devel] [PATCH] flac encoding, issue 526
Mathieu Velten
matmaul
Sat Jul 19 12:20:57 CEST 2008
Justin Ruggles wrotes
> 1) The FLAC encoder can know when it has encoded the last frame because
> of CODEC_CAP_SMALL_LAST_FRAME. It will either be shorter than all the
> previous frames or the input samples array will be NULL. The encoder
> could update the extradata at that point in case any muxer wants to go
> back and reuse the new data to update the header. I'm not sure if this
> is ok to do though.
I don't really understand how to detect the last frame (sorry I am not
familiar with the code).
Does the length of a frame is constant except for the last one ?
Otherwise I don't see how to detect efficiently the last frame...
More information about the ffmpeg-devel
mailing list