[FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

Nicolas George george at nsup.org
Tue Feb 16 00:30:13 CET 2016


L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit :
> This patch is a bug fix for a problem I faced recently.
> There are cases when duration info is not available. e.g. reading an
> mpegts file via a fifo file. But for concatenation this info is
> mandatory to adjust next file timestamps. So we need to measure it to
> have this value.

As far as I know and can seen in the code, lavf is supposed to be already
doing that on its own. It would probably be better to find out why it does
not happen in the case of piped MPEG-TS instead of fixing it in a single
API user.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160216/2b84cab4/attachment.sig>


More information about the ffmpeg-devel mailing list