Eu tenho um arquivo de áudio compactado (REC00008.wav) com um tamanho de 28519 KB.
Eu descomprimi-lo para um novo arquivo (uncompressed_REC00008.wav).
Eu usei o código abaixo. Não há erro do FFmpeg, mas o tamanho de ambos os arquivos é o mesmo. Depois de descomprimir, acredito que o tamanho do arquivo normalmente deve aumentar um pouco.
ffmpeg -i E:\vishnu\LargeSizedAudios\REC00008.wav -f wav -ab 192000 -vn C:\Users\admin\Desktop\AudioDecompressOut\uncompressed_REC00008.wav
Aqui está a saída da linha de comando do código escrito acima:
E:\vishnu>ffmpeg -i E:\vishnu\LargeSizedAudios\REC00008.wav -f wav -ab 192000
-vn C:\Users\admin\Desktop\AudioDecompressOut\uncompressed_REC00008.wav
ffmpeg version N-59036-g5d8e4f6 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 12 2013 22:01:01 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 58.100 / 52. 58.100
libavcodec 55. 45.101 / 55. 45.101
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 92.100 / 3. 92.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'E:\vishnu\LargeSizedAudios\REC00008.wav':
Duration: 00:02:32.10, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
, 1536 kb/s
Output #0, wav, to 'C:\Users\admin\Desktop\AudioDecompressOut\uncompressed_
REC00008.wav':
Metadata:
ISFT : Lavf55.22.100
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
size= 28518kB time=00:02:32.09 bitrate=1536.0kbits/s
video:0kB audio:28518kB subtitle:0 global headers:0kB muxing overhead 0.000274%
E:\vishnu>
Tags ffmpeg