[FFmpeg-trac] #11281(avfilter:new): "showwavespic" failed for "Too few samples"? (was: "showwavespic" filter failed with very short audio (< 200 ms)?)

FFmpeg trac at avcodec.org
Tue Nov 5 19:23:33 EET 2024


#11281: "showwavespic" failed for "Too few samples"?
-------------------------------------+-------------------------------------
             Reporter:  Danny        |                    Owner:  (none)
  Weijermans                         |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  showwavespic                       |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by MasterQuestionable):

 * summary:  "showwavespic" filter failed with very short audio (< 200 ms)?
     => "showwavespic" failed for "Too few samples"?
 * version:  7.0 => git-master

Comment:

 ͏    `ffmpeg -y -v debug -hide_banner -nostdin -nostats -i "t.wav" -lavfi
 "showwavespic" "t.png"`
 ͏    ; fails "[Parsed_showwavespic_0] Too few samples"
 ͏    "s=1400x100" not required.

 ͏
 https://github.com/FFmpeg/FFmpeg/blob/8a951ef5e119afb41e67d8b7dc3dedadc88c0e41/libavfilter/avf_showwaves.c#L594
 ͏
 https://github.com/search?type=code&q=repo:FFmpeg/FFmpeg+/(?-i)(?:%5CW|^)Too+few+samples(?:%5CW|%24)/
 ͏
 https://github.com/search?type=code&q=repo:FFmpeg/FFmpeg+%22Too+few%22+sample
 ͏    .
 ͏    I wonder too.

 ͏    "compand" should be mostly irrelevant:
 ͏    https://ffmpeg.org/ffmpeg-filters.html#compand
 ͏    (is parameterless "compand" no-op..?)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11281#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list