[FFmpeg-trac] #2468(FFmpeg:new): ffmpeg -help full broken
FFmpeg
trac at avcodec.org
Sun Apr 14 08:58:40 CEST 2013
#2468: ffmpeg -help full broken
--------------------------------+--------------------------------------
Reporter: jbvsmo | Type: defect
Status: new | Priority: normal
Component: FFmpeg | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+--------------------------------------
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.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2468>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list