[FFmpeg-devel] [PATCH] asf chapter support

Vladimir Pantelic pan
Mon Mar 8 12:12:39 CET 2010


Michael Niedermayer wrote:
> On Fri, Feb 26, 2010 at 09:56:12AM +0100, Vladimir Pantelic wrote:
>>  ASF supports "markers" which are a name and a time stamp,
>>  attached patch uses them to crate lavf chapters.
>>
>>  As the markers only provide a start time, I use the start
>>  time of the next marker or the total duration of the file
>>  as the end time for the chapter.
>
> see compute_chapters_end()

thx, that makes a much shorter patch.

> [...]
>>  +//av_log(NULL, AV_LOG_ERROR, "add:  start %12lld  end %12lld name %s\n", last_pres_time, pres_time, name);
>
> ehm

removed, together with some unused variables that were write only.

v2 patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asf_chapters_v2.patch
Type: text/x-patch
Size: 3043 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100308/ac1193fc/attachment.bin>



More information about the ffmpeg-devel mailing list