[FFmpeg-trac] #10229(undetermined:new): Wrong data size for WAV (RIFF) format

FFmpeg trac at avcodec.org
Fri Mar 3 20:42:17 EET 2023

#10229: Wrong data size for WAV (RIFF) format
             Reporter:  polochon     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  pcm_u8 RIFF  |               Blocked By:
  WAV                                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by polochon):

 Thank you for your answer. What is the argument you are using with
 mediainfo command? I didn't know this tool and the option --full don't
 show the same output.

 Several points:
 - I see there is a "alignement byte"
 Alignement:                           (1 bytes)
 02D  ...Continued - Unknown - 1 (0x1) (1875 bytes)
 but I don't find it with hexdump. I'm surprised, the sequence I have is 53
 07 00 00 7f 7f 7f 7f... but maybe it is normal, I confess I don't read
 completely the RIFF specifications. Just in case: do you know exactly
 where I can find the part of the spec describing the size and the

 But if you assume there is no issue, so maybe the real issue is on the
 "player side" which is the robot's firmware.

 I also add the -bitexact option to remove extra infos that I have without:
 please see ffprobe output:
     encoder         : Lavf58.29.100
 this cause another issue with the robot, so I added -bitexact. If you have
 a better option please let me know!

 thanks A LOT
Ticket URL: <https://trac.ffmpeg.org/ticket/10229#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list