Ticket #1955 (open enhancement)

Opened 7 months ago

Last modified 4 months ago

au: support g721 via g726 decoder

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: g721 g726 sunau
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

"jack.au" plays ok with winamp/sox

file:

 https://bugzilla.gnome.org/attachment.cgi?id=142681

info:

 https://bugzilla.gnome.org/show_bug.cgi?id=594454

 http://lists.freedesktop.org/archives/gstreamer-commits/2009-September/037444.html

C:\>ffmpeg -i jack.au
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.
0-1.fc14)
  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
ad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
jack.au: Invalid data found when processing input

Attachments

g721.au Download (273.1 KB) - added by cehoyos 7 months ago.

Change History

Changed 7 months ago by cehoyos

comment:1 Changed 7 months ago by cehoyos

  • Keywords g721 g726 sunau added
  • Status changed from new to open
  • Version changed from unspecified to git-master
  • Reproduced by developer set

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

comment:2 Changed 7 months ago by ami_stuff

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.

 http://www.datafilehost.com/download-a0cff049.html

comment:3 Changed 4 months ago by richardpl

  • Type changed from defect to enhancement
  • Component changed from undetermined to avformat
Note: See TracTickets for help on using tickets.