[FFmpeg-user] -strict unofficial error

2014-09-18 Thread ypatios


On 17.09.2014, at 16:48, Carl Eugen Hoyos ceho...@ag.or.at wrote:

 ypatios ypatios at gmail.com writes:
 
 [Eval  at  0x7fffb730b4b0] Undefined constant 
 or missing '(' in 'unofficial'
 
 This is a regression since d858ee71
 Workaround is to use -strict -1
 
 Thank you for the report, Carl Eugen

Ok, -1 was my guess too :)
Guys, thanks a lot for your help.

ciao
y
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] -strict unofficial error

2014-09-17 Thread ypatios
hello

when using “-strict unofficial” with the latest ffmpeg versions i get the 
following error:

###
[NULL @ 0x3857a60] [Eval @ 0x7fffb730b4b0] Undefined constant or missing '(' in 
'unofficial'
[NULL @ 0x3857a60] Unable to parse option value unofficial
[NULL @ 0x3857a60] Error setting option strict to value unofficial.
###


the same error doesn’t occur with “-strict experimental” or “-strict normal”.

I know you can replace these strings with integers but i couldn’t find an exact 
description in the documentation.
I only know that “experimental” can be replaced with “-2”.

Any help will be appreciated!
thanks
y
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] -strict unofficial error

2014-09-17 Thread Moritz Barsnick
On Wed, Sep 17, 2014 at 13:51:44 +, Carl Eugen Hoyos wrote:
 Moritz Barsnick barsnick at gmx.net writes:
  It seems that was removed in 2011:
 No, inofficial was removed.

Well, d'uh. My bad.

These are the definitions from libavcodec/avcodec.h:
#define FF_COMPLIANCE_VERY_STRICT   2 /// Strictly conform to an older more 
strict version of the spec or reference software.
#define FF_COMPLIANCE_STRICT1 /// Strictly conform to all the things 
in the spec no matter what consequences.
#define FF_COMPLIANCE_NORMAL0
#define FF_COMPLIANCE_UNOFFICIAL   -1 /// Allow unofficial extensions
#define FF_COMPLIANCE_EXPERIMENTAL -2 /// Allow nonstandardized experimental 
things.

Could it be that there's a difference in option parsing for -strict
for format vs. codec options?

(Too much guessing on my side.)

ypatios, could you please show us your full command and complete uncut
console output?

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] -strict unofficial error

2014-09-17 Thread Carl Eugen Hoyos
ypatios ypatios at gmail.com writes:

 [Eval  at  0x7fffb730b4b0] Undefined constant 
 or missing '(' in 'unofficial'

This is a regression since d858ee71
Workaround is to use -strict -1

Thank you for the report, Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user