[FFmpeg-devel] [PATCH] avformat/hlsenc: implement initial_offset
Steven Liu
lingjiujianke at gmail.com
Thu Sep 8 15:42:05 EEST 2016
2016-09-08 20:31 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc>:
> On Thu, Sep 08, 2016 at 05:10:14AM -0700, Aman Gupta wrote:
> > On Thu, Sep 8, 2016 at 2:55 AM, Steven Liu <lingjiujianke at gmail.com>
> wrote:
> >
> > > 2016-09-08 17:46 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc
> >:
> > >
> > > > On Thu, Sep 08, 2016 at 10:47:42AM +0900, Aman Gupta wrote:
> > > > > From: Aman Gupta <aman at tmm1.net>
> > > > >
> > > > > ---
> > > > > doc/muxers.texi | 4 ++++
> > > > > libavformat/hlsenc.c | 13 +++++++++++--
> > > > > 2 files changed, 15 insertions(+), 2 deletions(-)
> > > >
> > > > Isnt this redundant with
> > > > -output_ts_offset
> > > > ?
> > > > or how do they differ ?
> > > >
> > > > [...]
> > > > --
> > > > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC7
> 87040B0FAB
> > > >
> > > > Into a blind darkness they enter who follow after the Ignorance,
> > > > they as if into a greater darkness enter who devote themselves
> > > > to the Knowledge alone. -- Isha Upanishad
> > > >
> > > >
> > > >
> > > Maybe just copy the code from segment.c to hlsenc.c .
> > >
> >
> > Yes, I copied directly from segment.c because I wanted the same feature
> in
> > the hls encoder.
> >
> > Was not aware of -output_ts_offset. Perhaps that supersedes the
> > -initial_offset option?
>
> does output_ts_offset work as replacement for initial_offset ?
> a generic solution working with all muxer would be better/simper
>
> [...]
> --
> 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
>
>
Aha, new version have output_ts_offset in mux.c, perhaps this option should
be ignored.
And segment.c give a deprecated message and replace by output_ts_offset?
More information about the ffmpeg-devel
mailing list