Opened 9 years ago

Closed 9 years ago

#2468 closed defect (fixed)

ffmpeg -help full broken

Reported by: Bernardo Owned by:
Priority: important Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


After the introduction of the "smptehdsrc" filter, the "-help full" of ffmpeg will be caught in a infinite loop just repeating forever the block below:

smptebars AVOptions:
  size              <image_size> ..FV.. set video size
  s                 <image_size> ..FV.. set video size
  rate              <video_rate> ..FV.. set video rate
  r                 <video_rate> ..FV.. set video rate
  duration          <duration>   ..FV.. set video duration
  d                 <duration>   ..FV.. set video duration
  sar               <rational>   ..FV.. set video sample aspect ratio (from 0 to INT_MAX)
  decimals          <int>        ..FV.. set number of decimals to show (from 0 to 17)
  n                 <int>        ..FV.. set number of decimals to show (from 0 to 17)

How to reproduce:

$ ffmpeg -help full
ffmpeg version N-38183-gd9be6e6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 14 2013 03:08:59 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)

... infinite output

I have a program that parses the output of the above command and it end up using all available memory until the computer stops responding.

Change History (2)

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: FFmpegundetermined
Priority: normalimportant

comment:2 by Clément Bœsch, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in f359be96.

Note: See TracTickets for help on using tickets.