Audio FFMPEG.oma到.mp3“;不支持的编解码器5&引用;大档案

Audio FFMPEG.oma到.mp3“;不支持的编解码器5&引用;大档案,audio,ffmpeg,codec,Audio,Ffmpeg,Codec,我正在尝试将.OMA文件转换为.MP3,但对特定文件没有成功 如果我尝试: ffmpeg -i audio1.oma -f mp3 output.mp3 文件已成功转换。audio1.oma文件是一个3MB文件 全输出: 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) configuratio

我正在尝试将.OMA文件转换为.MP3,但对特定文件没有成功

如果我尝试:

ffmpeg -i audio1.oma -f mp3 output.mp3
文件已成功转换。audio1.oma文件是一个3MB文件

全输出:

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%
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
如果我对另一个.oma(53MB)尝试相同的操作,我会得到以下错误:

不支持的编解码器5!audio2.oma:未实现功能

全输出:

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%
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
使用MP3播放器时,两种音频均可正常工作。 第一个有效的音频只是我的MP3播放器中的一首随机歌曲。 第二个文件是在一个音乐工作室录制的,该音乐工作室使用多个频道进行现场播放


有什么我遗漏的吗?

您能提供文件以便我们可以尝试复制问题吗?我将尝试在某个地方主持。只是为了明确是谁试图结束此问题。.oma文件不是盗版文件,该文件中记录的音频是我10年前旧乐队的个人音频,这是我试图检索的最后一个内存。@LordNeckbeard,如下链接:DRM是OpenMG格式的中心“功能”。如果你没有最初创建文件的计算机,恐怕你运气不好。顺便说一句,如果你是一个用户,在我的例子中,通过在评论中添加@AkselA,用户会立即收到你的回复。