2011-02-04 13 views
0

ちょっと、私はmp3ファイルにamrファイルを変換する次の問題があります。FFMPEG amr to mp3変換の問題

FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers 
    built on Jan 24 2011 12:00:26 with gcc 4.4.5 
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab 
    libavutil  50.36. 0/50.36. 0 
    libavcore  0.16. 1/0.16. 1 
    libavcodec 52.108. 0/52.108. 0 
    libavformat 52.93. 0/52.93. 0 
    libavdevice 52. 2. 3/52. 2. 3 
    libavfilter 1.74. 0/1.74. 0 
    libswscale  0.12. 0/0.12. 0 
    libpostproc 51. 2. 0/51. 2. 0 

Test.amr:私は、私は次の取得converstionをしようとすると無効なデータが見つかり

入力

を処理するとき、それは私が別のファイルが以前に記録しているとすることができますように変換が働く考慮実際に奇妙ですここをクリックしてください:

[email protected]:~/share$ ffmpeg -i 1-aloalodwd.amr 1-aloalodwd.mp3 
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers 
    built on Jan 24 2011 12:00:26 with gcc 4.4.5 
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab 
    libavutil  50.36. 0/50.36. 0 
    libavcore  0.16. 1/0.16. 1 
    libavcodec 52.108. 0/52.108. 0 
    libavformat 52.93. 0/52.93. 0 
    libavdevice 52. 2. 3/52. 2. 3 
    libavfilter 1.74. 0/1.74. 0 
    libswscale  0.12. 0/0.12. 0 
    libpostproc 51. 2. 0/51. 2. 0 
[amr @ 0x9c0c4e0] Estimating duration from bitrate, this may be inaccurate 
Input #0, amr, from '1-aloalodwd.amr': 
    Duration: N/A, bitrate: N/A 
    Stream #0.0: Audio: amrnb, 8000 Hz, 1 channels, flt 
Output #0, mp3, to '1-aloalodwd.mp3': 
    Metadata: 
    TSSE   : Lavf52.93.0 
    Stream #0.0: Audio: libmp3lame, 8000 Hz, 1 channels, s16, 64 kb/s 
Stream mapping: 
    Stream #0.0 -> #0.0 
Press [q] to stop encoding 
size=  26kB time=3.38 bitrate= 64.1kbits/s  
video:0kB audio:26kB global headers:0kB muxing overhead 0.121897% 

何が起こっているのでしょうか?

+0

私の所属: –

+0

申し訳ありませんが、私を参照してthxのサイトを聞いたことはありません – 8vius

答えて

0

テストファイルが破損しているか、ffmpegのデコーダが処理できなかったものが含まれている可能性があります。プレーヤでtest.amrを試して、ファイルが破損していないかどうか確認してください。問題がffmpegにある場合は、最新のバージョンにアップデートして修正済みかどうかを確認することができます。ソースはhttp://www.ffmpeg.org/download.htmlからダウンロードできます(コンパイルする必要があります)。

+0

それはファイル自体ではなく、正しく記録されていないクライアントプログラム適切な長さの空白ファイルを作成しました – 8vius