[FFmpeg-devel] [PATCH] ffmpeg: exclude finished and subtitles streams for the report time.

Michael Niedermayer michaelni at gmx.at
Fri Aug 24 05:31:34 CEST 2012

On Mon, Aug 20, 2012 at 11:32:14PM +0200, Nicolas George wrote:
> Avoid having the time stuck at the shortest stream while other
> streams are still being encoded or at the last subtitle packet.
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  ffmpeg.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> Not completely sure about the subtitle part: it enhances things a lot when
> there are subtitles, because the time stops progressing when people stop
> talking, but it breaks the time when there are only subtitles being
> transcoded. This could be fixed by doing a second round, but that makes a
> lot of code for something not very important.

> Or it could print the time of the most advanced stream instead, that would
> solve the subtitles problem in a different way.

is there a disadvantage from using the maximum ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120824/1cfe429c/attachment.asc>

More information about the ffmpeg-devel mailing list