[FFmpeg-trac] #11281(avfilter:new): "showwavespic" failed for "Too few samples"?

FFmpeg trac at avcodec.org
Fri Nov 8 01:43:21 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            |
-------------------------------------+-------------------------------------
Comment (by Danny Weijermans):

 Replying to [comment:12 MasterQuestionable]:
 > ͏    `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.
 I need a big width in order to have a proper horizontal resolution.
 and this is where the 'bug' is..
 When I set 1400 smaller for shorter soundfiles it gives results..
 >
 > ͏
 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..?)
 When I use 'compand' without parameters, it looks different (better) than
 without 'compand':
 it shows the waveform a bit 'audio-compressed'..
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11281#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list