[FFmpeg-trac] #2772(undetermined:open): strict does not work with invalid stream identifiers (was: FFMPEG -strict -2 and -strict experimental do not get applied with vp9)

FFmpeg trac at avcodec.org
Sun Mar 9 13:06:47 CET 2014


#2772: strict does not work with invalid stream identifiers
-------------------------------------+-------------------------------------
             Reporter:  klaxa        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  minor        |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  avcodec => undetermined
 * priority:  normal => minor
 * keywords:  vp9 =>


Comment:

 FFmpeg correctly prints a warning for the incorrect stream specifier, but
 fails then with an quite unrelated error message (that is more visible
 than the original warning).
 {{{
 $ ffmpeg -f s16le -i /dev/zero -b:z 128k -strict -2 -acodec aac -f null -
 ffmpeg version N-61191-gea9399f Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Mar  9 2014 13:02:00 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 66.101 / 52. 66.101
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 34.100 / 55. 34.100
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Guessed Channel Layout for  Input Stream #0.0 : mono
 Input #0, s16le, from '/dev/zero':
   Duration: N/A, bitrate: 705 kb/s
     Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
 [null @ 0x21a2540] Invalid stream specifier: z.
     Last message repeated 1 times
 Codec AVOption strict (how strictly to follow the standards) specified for
 output file #0 (pipe:) has not been used for any stream. The most likely
 reason is either wrong type (e.g. a video option with no video streams) or
 that it is a private option of some encoder which was not actually used
 for any stream.
 Codec AVOption b (set bitrate (in bits/s)) specified for output file #0
 (pipe:) has not been used for any stream. The most likely reason is either
 wrong type (e.g. a video option with no video streams) or that it is a
 private option of some encoder which was not actually used for any stream.
 [aac @ 0x21a2f20] The encoder 'aac' is experimental but experimental
 codecs are not enabled, add '-strict -2' if you want to use it.
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2772#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list