Opened 10 years ago

Closed 9 years ago

#3959 closed defect (fixed)

Regression for -strict unofficial

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

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/53942
-strict unofficial does not work since d858ee71

$ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -vframes 1 -strict unofficial out.ljpg
ffmpeg version N-66318-g85f2c01 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 17 2014 17:17:41 with gcc 4.3 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.102 / 56.  4.102
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.101 /  5.  1.101
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[image2 @ 0x93a4620] [Eval @ 0xbfee7ad4] Undefined constant or missing '(' in 'unofficial'
[image2 @ 0x93a4620] Unable to parse option value "unofficial"
[image2 @ 0x93a4620] Error setting option strict to value unofficial.
Output #0, image2, to 'out.ljpg':
    Stream #0:0: Video: ljpeg, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.1.100 ljpeg
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ljpeg (native))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Change History (1)

comment:1 by Michael Niedermayer, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.