Opened 12 years ago

Closed 11 years ago

#1955 closed enhancement (fixed)

au: support g721 via g726 decoder

Reported by: ami_stuff Owned by: Carl Eugen Hoyos
Priority: wish Component: avcodec
Version: git-master Keywords: g721 g726 sunau
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


"" plays ok with winamp/sox



C:\>ffmpeg -i
ffmpeg version N-46755-ge70144c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 15 2012 02:38:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[au @ 0x1edc300] could not determine bits per sample
[au @ 0x1edc300] If you want to help, upload a sample of this file to ftp://uplo and contact the ffmpeg-devel mailing list. Invalid data found when processing input

Attachments (1) (273.1 KB ) - added by Carl Eugen Hoyos 12 years ago.

Download all attachments as: .zip

Change History (6)

by Carl Eugen Hoyos, 12 years ago

Attachment: added

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: g721 g726 sunau added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Patch sent to ffmpeg-devel, it produces the same broken output as GStreamer, sox works fine for the sample.

comment:2 by ami_stuff, 12 years ago

Thanks for the patch.

It turns out that Audition is able to save stereo au g721 files with various sampling frequencies and bitrates.

WinAMP plays all of the files correctly, SoX only mono.

comment:3 by Elon Musk, 11 years ago

Component: undeterminedavformat
Type: defectenhancement

comment:4 by Carl Eugen Hoyos, 11 years ago

Owner: set to Carl Eugen Hoyos

comment:5 by Carl Eugen Hoyos, 11 years ago

Component: avformatavcodec
Priority: normalwish
Resolution: fixed
Status: openclosed

Fixed in 640c70d.

Note: See TracTickets for help on using tickets.