[FFmpeg-trac] #321(undetermined:new): Ffmpeg fails to detect format of piped input on some mp3 files
FFmpeg
trac at avcodec.org
Thu Jun 30 03:01:40 CEST 2011
#321: Ffmpeg fails to detect format of piped input on some mp3 files
--------------------------+--------------------------
Reporter: gwg | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
--------------------------+--------------------------
I am trying to decode an mp3 to raw wav data over a pipe. Ffmpeg reported
being unable to detect the format of the input file, and did not transcode
it (there was no output to the output file).
Here is the command:
> cat badmp3file.mp3 | ffmpeg -v 10 -i - output.wav
And ffmpeg said:
>FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009
Fabrice Bellard, et al.
> configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-
stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394
--enable-shared --disable-static
> libavutil 49.15. 0 / 49.15. 0
> libavcodec 52.20. 1 / 52.20. 1
> libavformat 52.31. 0 / 52.31. 0
> libavdevice 52. 1. 0 / 52. 1. 0
> libavfilter 0. 4. 0 / 0. 4. 0
> libswscale 0. 7. 1 / 0. 7. 1
> libpostproc 51. 2. 0 / 51. 2. 0
> built on Mar 31 2011 18:59:37, gcc: 4.4.3
>pipe:: Unknown format
However, with the following command, ffmepg is successful:
> ffmpeg -v 9 -i badmp3file.mp3 outfile.wav
I will submit badmp3file.mp3 to the ftp server in the folder "gwg".
Thank you for your work!
Garth
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/321>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list