[FFmpeg-devel] SCTE-35 development

Michael Niedermayer michaelni at gmx.at
Sun Jan 11 22:18:10 CET 2015


On Mon, Jan 12, 2015 at 01:09:11AM +0530, Anshul wrote:
> On 12/31/2014 07:13 PM, Michael Niedermayer wrote:
> > So SCTE-35 is basically about segmenting a video timewise (primarely
> > to mark Ads but not always) We already have a API to segment videos
> > timewise, its AVFormatContext.chapters that may need some changes to
> > handle incrementally added (and on the muxer side incrementally
> > stored) data or we might even choose a different system entirely than
> > that AVChapter array for such incrementally stored segments but i dont
> > think data decoders with a completely opaque input and output are a
> > reasonable API for communicating such temporal segmenting [...]

> I have not looked at it yet, due to some disadvantage told me on irc,
> sry but I have forgotten those disadvantage of chapters.

It would be better if the reasons behind a design decission are
understood and documented


> if any one here still believe that chapters approach will be better,  I
> will look at it.
> 
> Though I have done some new implementation, it is out of avcodec folder.
> I have tweaked slightly AVFormat public structure.
> 
> for details please review attached draft patch.
> 
> I would appreciate, if someone pinpoint architecture issue first.
> I really get demoralized when I have to throw all my work after
> considering all review comments.
> then at last some architecture comments.
> 
> lots of memory leakage are still there, please ignore it for time being,
> i am working on it.
> 
> follwing is the command which is also added in commit message to use
> this patch
> ./ffmpeg_g -vsync 0 -copyts -i ~/test_videos/mpegwithscte35.ts
> -hls_list_size 1000 -dcodec copy  tmp/some.m3u8
> 
> -Anshul

>  ffmpeg.c                |    6 +++++-
>  ffmpeg_opt.c            |   10 ++++++++++
>  libavcodec/avcodec.h    |    1 +
>  libavcodec/codec_desc.c |    6 ++++++
>  libavformat/Makefile    |    1 +
>  libavformat/avformat.h  |   17 +++++++++++++++++
>  libavformat/format.c    |    2 ++
>  libavformat/hlsenc.c    |   39 +++++++++++++++++++++++++++++++++++----
>  libavformat/mpegts.c    |   45 +++++++++++++++++++++++++++++++++++++++------
>  libavformat/utils.c     |    1 +

theres some file missing
libavformat/hlsenc.c:39:21: fatal error: scte_35.h: No such file or directory


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150111/56ee8a5c/attachment.asc>


More information about the ffmpeg-devel mailing list