[FFmpeg-devel] [PATCH] '-longest' command-line argument realization

Michael Niedermayer michaelni
Mon Feb 22 21:27:40 CET 2010


On Wed, Feb 11, 2009 at 06:19:48PM +0300, Michael N. Pritula wrote:
> Michael Niedermayer wrote:
>> for what is it good to lengthen streams to a common point?
>
> Some players stop playing when one of the streams ended. Also this problem 
> has been raised in FFmpeg-user mailing list: 
> http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-June/009625.html
> And there are number of clips with different duration of streams. For 
> example, clip with ending captions without any sound glued to ordinary clip 
> with sound.
> Here is a patch with satisfacted remarks:

the patch is mangled, with messed linebreaks
it appears to me quite a bit bigger than needed, the only thing you need
is to is adjust duration of the last frame of each stream. If this doesnt
work its a bug itself

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100222/4037fcc9/attachment.pgp>



More information about the ffmpeg-devel mailing list