[FFmpeg-trac] #6272(avformat:open): FFMPEG .oma to .mp3 “Unsupported codec 5!” with a big file

FFmpeg trac at avcodec.org
Tue Mar 28 01:39:18 EEST 2017


#6272: FFMPEG .oma to .mp3 “Unsupported codec 5!” with a big file
--------------------------------------+------------------------------------
             Reporter:  serraventura  |                    Owner:
                 Type:  enhancement   |                   Status:  open
             Priority:  wish          |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  oma           |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * component:  undetermined => avformat
 * priority:  normal => wish
 * keywords:  audio, oma, mp3 => oma
 * version:  3.2.1 => git-master
 * analyzed:  1 => 0
 * type:  defect => enhancement


Old description:

> I'm trying to convert a .OMA file to .MP3 but no success with a specific
> file.
>
> If I try:
> {{{
> ffmpeg -i audio1.oma -f mp3 output.mp3
> }}}
> The file is converted successfully. The file audio1.oma is a 3 MB file.
>
> Full output:
>
> {{{
> 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 @ 0x7f8fc4000000] Estimating duration from bitrate, this may be
> inaccurate
> Input #0, oma, from 'audio1.oma':
>   Metadata:
>     title           : Is This It
>     artist          : The Strokes
>     album           : Is This It
>     genre           : Rock
>     OMG_TRLDA       : 2001/01/01 00:00:00
>     TLEN            : 153000
>   Duration: 00:02:33.36, start: 0.000000, bitrate: 128 kb/s
>     Stream #0:0: Audio: mp3 ([3][0][0][0] / 0x0003), 44100 Hz, stereo,
> s16p, 128 kb/s
> Output #0, mp3, to 'output.mp3':
>   Metadata:
>     TIT2            : Is This It
>     TPE1            : The Strokes
>     TALB            : Is This It
>     TCON            : Rock
>     OMG_TRLDA       : 2001/01/01 00:00:00
>     TLEN            : 153000
>     TSSE            : Lavf57.56.101
>     Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
>     Metadata:
>       encoder         : Lavc57.64.101 libmp3lame
> Stream mapping:
>   Stream #0:0 -> #0:0 (mp3 (native) -> mp3 (libmp3lame))
> Press [q] to stop, [?] for help
> size=    2397kB time=00:02:33.35 bitrate= 128.0kbits/s speed=37.2x
> video:0kB audio:2397kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 0.016094%
> }}}
>
> If I try the same with another .oma (53 MB) I'm getting the error:
>
> Unsupported codec 5! audio2.oma: Function not implemented
>
> Full output:
>
> {{{
> 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

New description:

 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

--

Comment:

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

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6272#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list