Opened 3 months ago

Closed 3 months ago

#7739 closed defect (fixed)

Explain stream specifier usage for codec and other global options

Reported by: UlfZibis Owned by: Gyan
Priority: minor Component: documentation
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
At https://www.ffmpeg.org/ffmpeg-codecs.html#Codec-Options there is no hint that options should be postfixed by a stream specifier in case of ambiguity. An example would be helpful too.
At https://www.ffmpeg.org/ffmpeg.html#AVOptions the given example doesn't reflect the statement: "... a stream specifier should be attached ...", so "... in case of ambiguity" should be amended.
For https://ffmpeg.org/ffmpeg-formats.html#Format-Options the same applies.
How to reproduce:

% ffmpeg -i input -level:a 5 output # avoid ambiguity with video codec level
ffmpeg version: current

Change History (3)

comment:1 Changed 3 months ago by cehoyos

  • Priority changed from normal to minor
  • Version changed from unspecified to git-master

comment:2 Changed 3 months ago by Gyan

  • Owner set to Gyan
  • Status changed from new to open

At ​https://www.ffmpeg.org/ffmpeg.html#AVOptions the given example doesn't reflect the statement

That example applies a format option. I'll add a new example for codec options.

comment:3 Changed 3 months ago by Gyan

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.