[FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files
Marton Balint
cus at passwd.hu
Thu Jul 9 01:51:00 CEST 2015
On Wed, 8 Jul 2015, Nicolas George wrote:
> L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit :
>> Yeah, i know. Actually I don't see how would it be possible to give a
>> stronger kind of guarantee efficiently and reliably to the user. That is why
>
> I suppose this could be done by discarding the packets beyond outpoint until
> either all streams have had one or one packets exceeds outpoint+epsilon. But
> that makes the code more complex, and there still is the issue of B-frames.
>
I gave it a thought, and if we ensure that the decoding timestamp reaches
outpoint instead of the presentation timestamp, can't we overcome the
B-frame issue? It's a simple change and seems to do the right thing.
Regards,
Marton
More information about the ffmpeg-devel
mailing list