[FFmpeg-trac] #7284(undetermined:new): Converting from .WAV (PCM) to .MP4 with -acodec copy produces unplayable output

FFmpeg trac at avcodec.org
Wed Jun 27 13:47:15 EEST 2018


#7284: Converting from .WAV (PCM) to .MP4 with -acodec copy produces unplayable
output
-------------------------------------+-------------------------------------
             Reporter:  death        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 {{{
 % ffmpeg -i somewav.wav -acodec copy output.mp4
 ffmpeg version 4.0-tessus Copyright (c) 2000-2018 the FFmpeg developers
   built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
 (...)
 }}}
 The produced file cannot be decoded by FFmpeg:
 {{{
 % ffmpeg -i output.mp4 decoded.wav
 (...)
 Decoder (codec none) not found for input stream #0:0
 }}}

 Additionally, nonsensical info appears to be written to MP4 headers
 regarding the channel count in the stream, the MP4 file sourced from a
 mono WAV has this:
 {{{
 Stream #0:0(und): Audio: none ([1][0][0][0] / 0x0001), 11025 Hz, stereo
 (default)
 }}}
 Yet the data within it is most definitely mono.

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


More information about the FFmpeg-trac mailing list