[FFmpeg-devel] [PATCH] ffmpeg_opt: add -seek_error option

Simon Thelen ffmpeg-dev at c-14.de
Fri Oct 10 23:19:21 CEST 2014


On 10/10/14 at 00:45, Michael Niedermayer wrote:
> On Thu, Oct 09, 2014 at 11:22:07PM +0200, Simon Thelen wrote:
> > On 09/10/14 at 23:05, Michael Niedermayer wrote:
> > > On Wed, Oct 08, 2014 at 07:13:33PM +0200, Simon Thelen wrote:
> > > > Enabling -seek_error causes ffmpeg to quit when it notices that
> > > > stop_time <= start_time.
> > > is there a reason not to stop and continue ?
> > > iam asking as if not then this could be done unconditionally
> > I can't think of a reason as to why somebody would want to continue, but
> > I didn't want to mess with the default behavior so I thought a
> > conditional would be cleaner.
> > If you want, I can send another patch that makes exiting the default or
> > gets rid of the conditional entirely.
> 
> well, its mostly a question what the community prefers
> personally id just make it fail if what the user wants cant be
> done, if noone has any other oppinion
 
I've attached a patch that makes ffmpeg abort in this case. If nobody
else has any opinions on the issue, you can commit that one.

-- 
Simon Thelen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmpeg_opt-abort-if-to-ss.patch
Type: text/x-diff
Size: 1161 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141010/4969b7db/attachment.bin>


More information about the ffmpeg-devel mailing list