Opened 12 years ago

Closed 11 years ago

#1973 closed enhancement (fixed)

aiff g726 fails to decode

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

Description

there seems to be g726 added to "libavformat/aiff.h", but aiff with g726 fails to decode

http://samples.mplayerhq.hu/A-codecs/g726/o2_726.aiff

C:\>ffmpeg -i o2_726.aiff
ffmpeg version N-47116-g109268c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 27 2012 02:39:53 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.  9.102 / 52.  9.102
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 37.100 / 54. 37.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.102 /  3. 23.102
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
[aiff @ 0x1edc2c0] could not find COMM tag or invalid block_align value
o2_726.aiff: Operation not permitted

Change History (13)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat
Keywords: aiff g726 added
Priority: normalwish
Reproduced by developer: set
Status: newopen
Type: defectenhancement
Version: unspecifiedgit-master

comment:2 by Carl Eugen Hoyos, 12 years ago

Keywords: aif added; aiff removed

comment:3 by mateo, 12 years ago

If this sample readable by an application ?

comment:4 by Elon Musk, 12 years ago

I it could be supported if ones found where data that specify bitrate or bits per coded sample (2-5) is located.

comment:5 by Carl Eugen Hoyos, 12 years ago

Isn't it the tag that specifies 2 (?) bits per coded sample?

comment:6 by Elon Musk, 12 years ago

Really, how you know that? Tag is G726

Last edited 12 years ago by Elon Musk (previous) (diff)

comment:7 by Carl Eugen Hoyos, 12 years ago

Wouldn't the tag be G721 or G723 for higher bits per coded sample?

comment:8 by Elon Musk, 12 years ago

That is 3 cases of 4 (2,3,4,5)

comment:9 by Carl Eugen Hoyos, 12 years ago

I thought G726 is exactly one of the cases, am I wrong?

comment:10 by Elon Musk, 12 years ago

Unfortunately sample is so small that no conclusion can be given.

comment:11 by Carl Eugen Hoyos, 12 years ago

Keywords: roundup added

This is also (part of) issue 454.

comment:12 by Carl Eugen Hoyos, 11 years ago

Owner: set to Carl Eugen Hoyos

comment:13 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

Fixed in 9860fb44.

Note: See TracTickets for help on using tickets.