[FFmpeg-devel] [PATCH] libavfilter/f_select: response file support

Jonathan Gilbert logic at deltaq.org
Wed Apr 17 12:18:36 EEST 2019


I've changed the allocation functions and attached the output of `git
format-patch` to this e-mail.

Thanks,

Jonathan Gilbert

On Tue, Apr 16, 2019 at 5:50 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2019-04-16 19:14 GMT+02:00, Jonathan Gilbert <logic at deltaq.org>:
> > Hello :-)
> >
> > I had a project recently where I wanted to externally specify a list
> > of specific frame numbers to drop. I understand this can be done with
> > select expressions like "not(eq(n,45)+eq(n,47)+eq(n,75))", but in my
> > case I wanted to drop nearly 16,000 frames, which would have required
> > a command-line over 250 KB in size. I chose a different approach: I
> > have added functionality to f_select.c so that you can specify the
> > list of frames you want to include/exclude in an external response
> > file. I have successfully used this code for my project, and thought I
> > might submit it up to for consideration. :-)
> >
> > I've never submitted a patch in this format before, I hope I'm doing
> > this correctly.
>
> This is definitely not the only issue:
> Instead of using malloc() and friends, please see libavutil/mem.h
> for the appropriate functions.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-options-file-filemode-filetype-and-warnunused-.patch
Type: application/octet-stream
Size: 14210 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190417/d2d3c30e/attachment.obj>


More information about the ffmpeg-devel mailing list