[FFmpeg-user] EAC3 codec not supported in WAVE

Tarun singhal tsinghal18 at gmail.com
Wed Jan 8 09:33:22 CET 2014


Hi,

I understand that WAV is uncompressed audio format and typically PCM is
used as audio codec.

But I was trying this command and stumble upon following error-

So my question is  - Is this issue limitation of FFmpeg or limitation of
WAV container itself.

Any reference would be great

ffmpeg -i aud_track1.mp4 -acodec eac3 out.wav
ffmpeg version N-59453-gd52882f Copyright (c) 2000-2013 the FFmpeg
developers
  built on Dec 30 2013 22:07:23 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-li
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enab
le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack -
-enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.101 / 55. 22.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aud_track1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf54.15.102
  Duration: 00:01:59.64, start: 0.000000, bitrate: 129 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
File 'out.wav' already exists. Overwrite ? [y/N] y
*[wav @ 00000000027df6c0] eac3 codec not supported in WAVE format*
Output #0, wav, to 'out.wav':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf55.22.101
    Stream #0:0(und): Audio: eac3, 48000 Hz, stereo, fltp, 192 kb/s
(default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (aac -> eac3)
Could not write header for output file #0 (incorrect codec parameters ?):
Error number -1 occurred

Regards,
Tarun Singhal


More information about the ffmpeg-user mailing list