Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 by mtc, 7 years ago

Keywords: aevalsrc anullsrc added

comment:2 by Elon Musk, 7 years ago

Resolution: invalid
Status: newclosed

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

comment:3 by mtc, 7 years ago

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 7 years ago by mtc (previous) (diff)
Note: See TracTickets for help on using tickets.