Opened 10 years ago
Closed 10 years ago
#3445 closed defect (invalid)
invalid result transcoding WAV file
Reported by: | marius63 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
On Windows 7, using the latest FFmpeg binaries (version N-61143-g64e4bd7), the result Y.wav of the following command is invalid.
ffmpeg -i X.wav -f f32le -ar 22050 Y.wav
The input X.wav is a valid WAV file, mono, sample format f32le, rate 44100Hz.
The objective was to convert the sample rate from 44100 to 22050.
The result Y.wav is invalid.
Windows Media Player reports invalid format (and does not play).
FFmpeg itself reports invalid data:
ffmpeg -i Y.wav
ffmpeg version N-61143-g64e4bd7 Copyright (c) 2000-2014 the FFmpeg developers
built on Mar 7 2014 00:06:56 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-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
libavutil 52. 66.101 / 52. 66.101
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.101 / 55. 33.101
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Y.wav: Invalid data found when processing input
Regards.
Replying to marius63:
This command forces
ffmpeg
to output a raw pcm file (format f32le) which cannot be auto-detected, not a wav file. If you want 32bit audio in your wav file, use-acodec pcm_s32le -f wav
Please understand that this is a bug tracker, not a support forum.