[FFmpeg-devel] [RFC] [PATCH] ffmpeg: more accurate -t handling for audio.
michaelni at gmx.at
Wed Jul 25 01:00:06 CEST 2012
On Tue, Jul 10, 2012 at 10:07:51PM +0200, Nicolas George wrote:
> If the encoder is capable of variable frame size,
> truncate the last encoded frame to the exact sample.
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ffmpeg.c | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
> It breaks a lot of FATE tests, and that is normal for all of them, except dv.
> For dv, there is framing at the muxer level, and truncating the last frame
> also drops the corresponding video frame. This is a serious break from the
> "muxer abstraction", but I have to do with. Any advice?
its not pretty but if its just DV
if(muxer != DV) // some explanation here why
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel