Opened 7 years ago

Closed 2 years ago

Last modified 2 years ago

#7279 closed enhancement (fixed)

Support AAC celp

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

Description

http://ffmpeg.org/pipermail/ffmpeg-user/2018-June/040356.html
A user has provided an AAC celp sample made with fortherecord court recordings:

$ ffmpeg -acodec aac -i t1.trm
ffmpeg version N-91368-g52e8a0d Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 20.104 / 58. 20.104
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 25.100 /  7. 25.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[aac @ 0x9ff7440] Audio object type 8 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[avi @ 0x9ff61c0] Failed to open codec in avformat_find_stream_info
[aac @ 0x9ff7440] Audio object type 8 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Guessed Channel Layout for Input Stream #0.0 : 4.0
Input #0, avi, from 't1.trm':
  Duration: 00:05:00.07, start: 0.000000, bitrate: 100 kb/s
    Stream #0:0: Audio: aac ([128]A[0][0] / 0x4180), 24000 Hz, 4.0, fltp, 24 kb/s
At least one output file must be specified

Change History (16)

comment:2 by John Hawkinson, 7 years ago

A decoded version produced by ForTheRecord's software is at http://mit.edu/jhawk/tmp/t1.mp4

comment:3 by Carl Eugen Hoyos, 7 years ago

Could you confirm that the decoded version was produced by ForTheRecord? The reason I ask is that the file claims it was written by FFmpeg (and you said it would be an mp3 file while it is an mp4 file).

comment:4 by compn, 6 years ago

uploaded windows player software to the same dir as the sample in our repo. may be useful for binary codec.

in reply to:  4 comment:5 by Carl Eugen Hoyos, 6 years ago

Replying to compn:

uploaded windows player software to the same dir as the sample in our repo.

Is the player software open-source? Are you allowed to distribute it?

comment:6 by compn, 6 years ago

it is free download from https://www.fortherecord.com/

in reply to:  6 comment:7 by Carl Eugen Hoyos, 6 years ago

Replying to compn:

it is free download from https://www.fortherecord.com/

Is re-distribution of the free download allowed?

in reply to:  4 comment:8 by Carl Eugen Hoyos, 6 years ago

Replying to compn:

uploaded windows player software to the same dir as the sample in our repo.

may be useful for binary codec.

More useful than the aac specification?

comment:9 by Chris D'Amato, 5 years ago

I would love to see this capability in ffmpeg, then the municipal government offices where I work could be free of this awful proprietary software.

I have tested a bunch of my own .trm files through every decoder (and codec, not sure if that is the same thing?) available in ffmpeg version 3.1.11 but none of them results in a file with valid audio.

comment:10 by Elon Musk, 5 years ago

Could you provide more such files?

comment:11 by Elon Musk, 5 years ago

Also nothing points out that this is really AAC CELP variant.

comment:13 by Balling, 3 years ago

This file is .avi. BTW, this is supposed to be some pathetic CELP, not even ER CELP.

Last edited 3 years ago by Balling (previous) (diff)

comment:14 by Balling, 3 years ago

Is there any implementation of ER CELP and CELP anywhere? Are there at least some official samples to compare from ISO?

comment:15 by Elon Musk, 2 years ago

Resolution: fixed
Status: newclosed

Fixed in master.

Note: See TracTickets for help on using tickets.