[FFmpeg-devel] [PATCH V1 1/4] lavf/flvdec: set AVFMT_TS_DISCONT flag on FLV demuxer

Michael Niedermayer michael at niedermayer.cc
Tue Mar 31 21:39:44 EEST 2020


On Tue, Mar 31, 2020 at 09:20:34AM +0800, mypopy at gmail.com wrote:
> On Tue, Mar 31, 2020 at 5:29 AM Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> >
> > On Mon, Mar 30, 2020 at 04:22:51PM +0800, Jun Zhao wrote:
> > > From: Jun Zhao <barryjzhao at tencent.com>
> > >
> > > There have been some reports about FLV timestamp discontinuities present.
> > > e,g, the file recorded from live RTMP FLV streaming, so add
> > > AVFMT_TS_DISCONT flag on FLV demuxer and also update the fate test
> > > fate-filter-aresample for test sample nellymoser-discont.flv.
> > >
> > > BTW: live_flv demuxer also enabled the AVFMT_TS_DISCONT flag.
> >
> > Maybe i misunderstand but this sounds like you have a live_flv
> > file and its demuxed by the non live demuxer.
> > IIRC AVFMT_TS_DISCONT is the main difference between the 2
> >
> Yes, it's as you think, and I think we can merge/combine the flv
> demuxer and live_flvdec demuxer with AVFMT_TS_DISCONT flag

How does seeking by time instead of by file position work if its
not known if a file can contain discontinuities ?

iam asking because if the 2 cases are merged that could become a
problem

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200331/f9e15c30/attachment.sig>


More information about the ffmpeg-devel mailing list