[FFmpeg-devel] [RFC] Moving edit list handling out of demuxers
Gyan Doshi
ffmpeg at gyani.pro
Wed Jun 18 07:15:07 EEST 2025
On 2025-06-18 03:03 am, Tomas Härdin wrote:
> fre 2025-06-13 klockan 20:07 +0530 skrev Gyan Doshi:
>>
>> On 2025-06-13 04:25 pm, Tomas Härdin wrote:
>>> The present level of
>>> edit list support could be reimplemented by just fiddling with the
>>> -ss
>>> and -t options. That is, the ffmpeg CLI could automatically derive
>>> -ss
>>> and -t from the edit list extracted by lavf.
>> In mov.c, edit lists are per-track and can compose their edited
>> tracks
>> differently. So if the stream index/tables are to be no longer
>> reconstituted within mov,c, -ss and -t may not return synchronized
>> packets (as per the intended elst) from all streams.
> The present hack doesn't handle this kind of stuff correctly anyway,
> because it cannot cut audio except on frame boundaries.
The present level of (limited) edit list support can't be reimplemented
using CLI ss/t is all I'm saying.
Regards,
Gyan
More information about the ffmpeg-devel
mailing list