Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-23 Thread Nicolas George
Sorry for the late answer, busy weeks. Le sextidi 26 brumaire, an CCXXIII, Sylvester Zaluga a écrit : You are right, this should probably work, although, in use cases like mine (when the key frames have to be inserted at exact indexes, not times, in multiple videos), I still find it more

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-23 Thread Michael Niedermayer
On Sat, Nov 22, 2014 at 08:46:09PM +, Sylvester Zaluga wrote: I am sorry for the spam, but as I have not published any changes to ffmpeg before, I thought I should double-check. Nicolas, you replied earlier that you would not oppose the feature described below. Does that mean I can go

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-22 Thread Sylvester Zaluga
supposed to wait for further reviews? Regards, Sylwester Zaluga Date: Mon, 10 Nov 2014 14:18:25 +0100 From: geo...@nsup.org To: ffmpeg-devel@ffmpeg.org CC: sylwek...@outlook.com Subject: Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers Le nonidi 19 brumaire

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-16 Thread Sylvester Zaluga
Thank you for your reply. Date: Mon, 10 Nov 2014 14:18:25 +0100 From: geo...@nsup.org To: ffmpeg-devel@ffmpeg.org CC: sylwek...@outlook.com Subject: Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers Le nonidi 19 brumaire, an CCXXIII, Sylvester Zaluga a écrit

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-13 Thread Michael Niedermayer
On Sun, Nov 09, 2014 at 11:42:32PM +, Sylvester Zaluga wrote: [...] @@ -2333,6 +2338,12 @@ static InputStream *get_input_stream(OutputStream *ost) return NULL; } +static int compare_int(const void *a, const void *b) +{ +int va = *(int *)a, vb = *(int *)b; +return va

[FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-10 Thread Sylvester Zaluga
***Sending again, this time with diff*** Attached a patch which allows for passing in frame numbers at which key frames should be forced. The current modes in which force_key_frames operate are: * force_key_frames 1,2,3,4,5 - parameter is interpreted as timestamps * force_key_frames

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-10 Thread Lou Logan
Hi, On Sun, Nov 9, 2014, at 02:42 PM, Sylvester Zaluga wrote: ***Sending again, this time with diff*** You sent four similar messages to the mailing list: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-November/165155.html

Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-10 Thread Nicolas George
Le nonidi 19 brumaire, an CCXXIII, Sylvester Zaluga a écrit : ***Sending again, this time with diff*** Better use git format-patch (or git send-email), so that you have authorship and date information. Attached a patch which allows for passing in frame numbers at which key frames should be