Opened 4 years ago

Closed 3 years ago

#1973 closed enhancement (fixed)

aiff g726 fails to decode

Reported by: ami_stuff Owned by: cehoyos
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 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords aiff g726 added
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

comment:2 Changed 4 years ago by cehoyos

  • Keywords aif added; aiff removed

comment:3 Changed 4 years ago by mateo

If this sample readable by an application ?

comment:4 Changed 4 years ago by richardpl

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

comment:5 Changed 4 years ago by cehoyos

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

comment:6 Changed 4 years ago by richardpl

Really, how you know that?

Version 0, edited 4 years ago by richardpl (next)

comment:7 Changed 4 years ago by cehoyos

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

comment:8 Changed 4 years ago by richardpl

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

comment:9 Changed 4 years ago by cehoyos

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

comment:10 Changed 4 years ago by richardpl

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

comment:11 Changed 4 years ago by cehoyos

  • Keywords roundup added

This is also (part of) issue 454.

comment:12 Changed 3 years ago by cehoyos

  • Owner set to cehoyos

comment:13 Changed 3 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in 9860fb44.

Note: See TracTickets for help on using tickets.