Ticket #135 (closed defect: fixed)
-acodec copy does not copy wav file correctly (at least with with pcm_s24le )
|Reported by:||NabilStendardo||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
What we have:
An audio file encoded in wav pcm_s24le(let us call it a.wav) from the output of a previous ffmpeg command.
What we want:
$ffmpeg -i a.wav -acodec copy b.wav
and have an identical (and valid) wav file.
What we get with cmp:
$cmp -b a.wav b.wav
a.wav b.wav differ: byte 39, line 1 is 30 X 0 @
Of course 30 is octal for 24, which is the expected value from the first file (bits per sample). 0 here is clearly wrong. Note that b.wav does not play under gstreamer (which is somewhat normal because it is AFACT invalid)