Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#6200 closed defect (invalid)

Ambiguous/confusing/mixed terminology: audio frames

Reported by: mtc Owned by:
Priority: normal Component: documentation
Version: unspecified Keywords: aevalsrc anullsrc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

it is unclear what audio-(frames/samples) mean
and from recent discussion it appears to mean something related to
a (ffmpeg-specific) chunk/unit/packet of audio samples that are parsed/buffered when processing/encoding

NOT the typical #audio-samples, as in audio-sample-rate x audio-duration

https://ffmpeg.org/ffmpeg-all.html
therefore it makes filters such as
aevalsrc's nb_samples confusing (which is which?)
also for: anullsrc flite anoisesrc sine volume ladspa

it seems to use meanings that aren't used (commonly) outside of ffmpeg

Change History (3)

comment:1 Changed 6 months ago by mtc

  • Keywords aevalsrc anullsrc added

comment:2 Changed 6 months ago by richardpl

  • Resolution set to invalid
  • Status changed from new to closed

What is not clear?, everything is explained in filters documentation.

comment:3 Changed 6 months ago by mtc

although briefly mentions them, no clear tangible explanation of what audio-frames mean ,
(Ctrl+F "audio frame" )

nb_samples Set the number of samples per channel per each output frame,

i confused nb_samples to mean duration(# of samples) (similar to start_sample in atrim)

https://trac.ffmpeg.org/ticket/6180
https://trac.ffmpeg.org/ticket/6181

Last edited 6 months ago by mtc (previous) (diff)
Note: See TracTickets for help on using tickets.