Estou tendo problemas com a versão atual do ffmpeg, ela transcodifica .mp3 para .wavs em um formato que não é suportado pelo meu cliente.
Como pode instalar esta versão?
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
built on Jan 4 2012 16:08:51 with gcc 4.6.1
EDITAR
O problema que estou tentando resolver é transcodificar um arquivo .mp3 para .wav. Nosso cliente possui um serviço de identificação que determina uma música do .wav. Quando eu passar o .wav que o ffmpeg gerou
exec ("ffmpeg -ss $start -t $duration -i $shellArgSongPath -f wav -ar 44100 somefile.wav");
Eu recebo um "formato de áudio não suportado"
Meu palpite é que o codec padrão usado para transcodificar de .mp3 para .wav foi alterado. Alguém saberia o que foi na versão anterior?
EDITAR
(Reading database ... 31284 files and directories currently installed.)
Preparing to replace ffmpeg 4:0.7.3-0ubuntu0.11.10.1 (using ffmpeg_0.7.3-0ubuntu0.11.10.1_amd64.deb) ...
Unpacking replacement ffmpeg ...
Replaced by files in installed package libav-tools ...
dpkg: dependency problems prevent configuration of ffmpeg:
ffmpeg depends on libavcodec53 (<< 4:0.7.3-99) | libavcodec-extra-53 (<< 4:0.7.3.99); however:
Version of libavcodec53 on system is 4:0.8.1-0ubuntu1.
Package libavcodec-extra-53 is not installed.
ffmpeg depends on libavdevice53 (<< 4:0.7.3-99) | libavdevice-extra-53 (<< 4:0.7.3.99); however:
Version of libavdevice53 on system is 4:0.8.1-0ubuntu1.
Package libavdevice-extra-53 is not installed.
ffmpeg depends on libavfilter2 (<< 4:0.7.3-99) | libavfilter-extra-2 (<< 4:0.7.3.99); however:
Version of libavfilter2 on system is 4:0.8.1-0ubuntu1.
Package libavfilter-extra-2 is not installed.
ffmpeg depends on libavformat53 (<< 4:0.7.3-99) | libavformat-extra-53 (<< 4:0.7.3.99); however:
Version of libavformat53 on system is 4:0.8.1-0ubuntu1.
Package libavformat-extra-53 is not installed.
ffmpeg depends on libavutil51 (<< 4:0.7.3-99) | libavutil-extra-51 (<< 4:0.7.3.99); however:
Version of libavutil51 on system is 4:0.8.1-0ubuntu1.
Package libavutil-extra-51 is not installed.
ffmpeg depends on libpostproc52 (<< 4:0.7.3-99) | libpostproc-extra-52 (<< 4:0.7.3.99); however:
Version of libpostproc52 on system is 4:0.8.1-0ubuntu1.
Package libpostproc-extra-52 is not installed.
ffmpeg depends on libswscale2 (<< 4:0.7.3-99) | libswscale-extra-2 (<< 4:0.7.3.99); however:
Version of libswscale2 on system is 4:0.8.1-0ubuntu1.
Package libswscale-extra-2 is not installed.
libav-tools (4:0.8.1-0ubuntu1) breaks ffmpeg (<< 4:0.8~) and is installed.
Version of ffmpeg to be configured is 4:0.7.3-0ubuntu0.11.10.1.
dpkg: error processing ffmpeg (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
ffmpeg
EDITAR
Saída quando eu executar o comando ffmpeg
do servidor que produz o .wav bem formado
ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
built on Jan 4 2012 16:08:51 with gcc 4.6.1
configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 51. 7. 0 / 51. 7. 0
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 3. 0 / 53. 3. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
Saída de quando eu executo o comando ffmpeg
do servidor que produz o .wav mal formado
ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
built on Mar 22 2012 05:09:06 with gcc 4.6.3
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'