Opened 8 years ago

Last modified 7 years ago

#6272 open enhancement

FFMPEG .oma to .mp3 “Unsupported codec 5!” with a big file

Reported by: Thiago Ventura Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: oma
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

I'm trying to convert a .OMA file to .MP3 but no success with a specific file.

If I try:

ffmpeg -i audio2.oma -f mp3 output.mp3
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[oma @ 0x7f8792000000] Unsupported codec 5!
audio2.OMA: Function not implemented

Both audios works fine when using the MP3 Player. The first audio which works is just a random song from my MP3 player to test. The second file was recorded in a music studio playing live with multiple channels.

Anything I'm missing here?

Link for the file which is failing: https://www.dropbox.com/s/swxho7smw4lhz50/dennox.oma?dl=0

You can see the question here too: http://stackoverflow.com/questions/43023844/ffmpeg-oma-to-mp3-unsupported-codec-5-with-a-big-file

Change History (4)

comment:1 by Carl Eugen Hoyos, 8 years ago

Analyzed by developer: unset
Component: undeterminedavformat
Description: modified (diff)
Keywords: audio mp3 removed
Priority: normalwish
Status: newopen
Type: defectenhancement
Version: 3.2.1git-master

For future tickets: Please remember to test current FFmpeg git head before reporting issues.

comment:2 by Elon Musk, 8 years ago

What plays this?

Looks like underlying codec is wma voice 2.

comment:3 by Thiago Ventura, 8 years ago

It's a Sony Walkman MP3 Player (around 2010).

All the files inside are .OMA and all plays well with the player.

Like this one here: http://static.nix.ru/autocatalog/cd_mp3_player_sony/50957_2258_draft.jpg

Note: See TracTickets for help on using tickets.