Opened 11 years ago

Closed 11 years ago

#350 closed defect (fixed)

Invalid value 'strict' for option 'strict'

Reported by: Kyle Owned by: Michael Niedermayer
Priority: normal Component: avcodec
Version: git-master Keywords: -strict
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


When trying to use strict for option -strict on a Windows FFmpeg build, I'm getting:

[NULL @ 00000000004A5A60] [Eval @ 000000000022F800] Undefined constant or missin
g '(' in 'strict'
[NULL @ 00000000004A5A60] Unable to parse option value "strict"
Invalid value 'strict' for option 'strict'

The input file does not matter, but I tested with h264, aac, and flac to name a few.

This bug should be repeatable with a simple command line:

ffmpeg -i "infile.mp4" -vcodec mpeg4 -an -strict strict "outfile.avi"

using the git-371888c build found here:

I believe

Undefined constant or missing '(' in 'strict'

is the key to this issue, but I could be wrong.

Other values do work, such as "very".

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegavcodec
Priority: importantnormal
Reproduced by developer: set
Status: newopen
Version: gitgit-master

I believe this is broken since a very long time (or forever), workaround is to use -strict 1.

comment:2 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: openclosed

Fixed locally, will push if it passes tests

Note: See TracTickets for help on using tickets.