[FFmpeg-trac] #135(undetermined:new): -acodec copy does not copy wav file correctly (at least with with pcm_s24le )

FFmpeg trac at avcodec.org
Fri Apr 29 00:53:00 CEST 2011


#135: -acodec copy does not copy wav file correctly (at least with with pcm_s24le
)
----------------------------+--------------------------
 Reporter:  NabilStendardo  |        Type:  defect
   Status:  new             |    Priority:  normal
Component:  undetermined    |     Version:  unspecified
 Keywords:                  |  Blocked By:
 Blocking:                  |  Reproduced:  0
 Analyzed:  0               |
----------------------------+--------------------------
 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:
 To execute:

 $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)

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/135>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list