Audacity를 사용하여 Microsoft wav에 사운드 파일을 내 보냈습니다. 내가는 FFmpeg이 파일을 열려고 시도하고있다 : 여기ffmpeg는 Audacity와 함께 내 보낸 간단한 microsoft wav 파일을 열 수 없습니다.
ffmpeg -i steps-stereo-16b-44khz.wav /tmp/test.ogg
을하고는 OUPUT 내가 얻을 것 : 나는 오그 또는 aiff 등, 아무 문제, 동일한 파일을 내보낼 경우
fmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 12 2013 13:46:11 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
libavutil 52. 18.100/52. 18.100
libavcodec 54. 92.100/54. 92.100
libavformat 54. 63.104/54. 63.104
libavdevice 54. 3.103/54. 3.103
libavfilter 3. 42.103/3. 42.103
libswscale 2. 2.100/2. 2.100
libswresample 0. 17.102/0. 17.102
libpostproc 52. 2.100/52. 2.100
[dca @ 0x7fd30c013600] Not a valid DCA frame
... SNIP ...
[dca @ 0x7fd5bc013600] Invalid bit allocation index
[dca @ 0x7fd5bc013600] error decoding block
Last message repeated 3 times
[dca @ 0x7fd5bc013600] Didn't get subframe DSYNC
[dca @ 0x7fd5bc013600] error decoding block
[wav @ 0x7fd5bc013000] max_analyze_duration 5000000 reached at 5009070 microseconds
[wav @ 0x7fd5bc013000] decoding for stream 0 failed
[wav @ 0x7fd5bc013000] Could not find codec parameters for stream 0 (Audio: dts ([1][0][0][0]/0x0001), 192000 Hz, 2 channels, fltp, 0 kb/s): no decodable DTS frames
Consider increasing the value for the 'analyzeduration' and 'probesize' options
steps-stereo-16b-44khz.wav: could not find codec parameters
은 다음과 잘 작동합니다 :
ffmpeg -i steps-stereo-16b-44khz.aiff /tmp/test.ogg
어떤 문제일까요?
내 wav file 링크가 있으므로 재현을 시도 할 수 있습니다.
NB 최종 목표는 오디오 파일을 잘라내는 것입니다. 나는 대담성을 지닌 .ogg 파일을 직접 내보낼 수 있다는 것을 알고있다. 이는 단지 테스트 케이스에 불과합니다. 삭스와 같은 다른 프로그램
편집
얻기 파일 정보는 잘 작동 :
sox --info steps-stereo-16b-44khz.wav
Input File : 'steps-stereo-16b-44khz.wav'
Channels : 2
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:02.10 = 92608 samples = 157.497 CDDA sectors
File Size : 370k
Bit Rate : 1.41M
Sample Encoding: 16-bit Signed Integer PCM
Audacity에서 내보낼 때 사용한 설정은 무엇입니까? 서명/서명되지 않은 PCM, 16/32 비트, 부동 등? –
Microsoft wav로 내보내기 설정을 변경할 수 없습니다. 16 비트로 부호가 지정됩니다. – sebpiq
가능합니다. 내보내기 대화 상자에서 옵션 버튼을 누릅니다. 그러면 [이 창] (http://manual.audacityteam.org/man/WAV,_AIFF_and_Uncompressed_Export_Options)이 나타납니다. –