[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

Gyan Doshi gyandoshi at gmail.com
Mon Jun 11 23:23:47 EEST 2018



On 12-06-2018 12:48 AM, Morten With wrote:

> commit message to "stop reading"), here is the revised patch attached.

Maybe I missed it, but in the new patch, you don't vet ss against toeof 
i.e. for a 10-second file, -ss 7 -toeof -4   should be declared invalid.

Also, this isn't an issue with your patch but ss / sseof dual setting 
isn't checked nor is the validity of the sseof value.

Let me get a patch in first to rectify that.

Regards,
Gyan


More information about the ffmpeg-devel mailing list