[FFmpeg-devel] [PATCH 1/3] ffmpeg: add -(no)find_stream_info expert option

Clément Bœsch u at pkh.me
Tue Jul 18 11:41:24 EEST 2017


On Wed, Jul 12, 2017 at 05:30:04PM +0200, Clément Bœsch wrote:
> On Wed, Jul 12, 2017 at 05:14:14PM +0200, Nicolas George wrote:
> > Le quartidi 24 messidor, an CCXXV, Clement Boesch a écrit :
> > > ---
> > >  ffmpeg_opt.c | 22 +++++++++++++---------
> > >  1 file changed, 13 insertions(+), 9 deletions(-)
> > > 
> > > diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
> > > index 9b7e8c74b9..10ca260648 100644
> > > --- a/ffmpeg_opt.c
> > > +++ b/ffmpeg_opt.c
> > > @@ -145,6 +145,7 @@ static int override_ffserver  = 0;
> > >  static int input_stream_potentially_available = 0;
> > >  static int ignore_unknown_streams = 0;
> > >  static int copy_unknown_streams = 0;
> > > +static int find_stream_info = 1;
> > <snip>
> > > +    { "find_stream_info", OPT_BOOL | OPT_INPUT | OPT_EXPERT,         { &find_stream_info },
> > > +        "read and decode the streams to fill missing information with heuristics" },
> > >  
> > >      /* video options */
> > >      { "vframes",      OPT_VIDEO | HAS_ARG  | OPT_PERFILE | OPT_OUTPUT,           { .func_arg = opt_video_frames },
> > 
> > Should it not be implemented for OPT_PERFILE?
> > 
> 
> Yeah, I guess so. Fixed locally. Also changed in ffplay and ffprobe, even
> thought it doesn't make much sense "yet".
> 

Actually only done for ffmpeg to be safe.

Patchset applied, thanks

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170718/fa34949e/attachment.sig>


More information about the ffmpeg-devel mailing list