2011-02-04 3 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

죄송합니다. 사이트를 들어 보지 못했습니다. – 8vius

답변

0

테스트 파일이 손상되었거나 ffmpeg의 디코더가 처리하지 못한 파일이 포함되었을 수 있습니다. 플레이어에서 test.amr을 실행하여 파일이 손상되지 않았는지 확인하십시오. 문제가 ffmpeg에 있다면 최신 버전으로 업데이트하여 수정했는지 확인하십시오. 소스를 http://www.ffmpeg.org/download.html에서 다운로드 할 수 있습니다 (컴파일해야 함).

+0

파일이 손상되었지만 파일 자체가 아니라 제대로 기록되지 않은 클라이언트 프로그램에서 문제가 발생했습니다. 적절한 길이의 빈 파일을 만들었습니다. – 8vius