[Libav-user] Only mp3 codec is playing

n0eL Last nAme tech.07.prince at gmail.com
Thu Jul 28 22:02:27 CEST 2011


Hi! Having a problem using ffmpeg libraries. Only MP3 works. Othere
codecs I tried(ogg, wma) doesn't play. I only hear noise. BTW, mp3 is
playing from some containers that I have tested(avi, mkv, mp4) which
should indicate that libavformat is working. That's using ffmpeg
0.6.3. Using ffmpeg 0.7.1 and 0.8 doesn't open any files at all.
avformat_open_input always return -2. Here's how I configured both.
Thanks.

#ffmpeg 0.6 configure
CFLAGS='-I/pspdev/psp/sdk/include -G0 -ffast-math -DO_BINARY=0' \
LDFLAGS='-L/pspdev/psp/sdk/lib -lc -lpspnet -lpspnet_inet
-lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel' \
LIBS='-lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver
-lpsputility -lpspuser -lpspkernel' \
./configure --prefix=C:/projects/player_cpp/ffmpeg-psp-0.6 \
--cross-prefix=psp- --enable-cross-compile --target-os=linux \
--arch=mips --enable-hardcoded-tables --enable-small \
--enable-gpl --enable-swscale \
--disable-muxers --disable-encoders \
--disable-protocols --disable-network \
--enable-protocol=file --disable-indevs \
--disable-outdevs --disable-devices --disable-hwaccels \
--disable-ffmpeg --disable-ffplay --disable-ffprobe \
--disable-ffserver --disable-doc --disable-avdevice \
--disable-vdpau --disable-dxva2 --disable-vaapi

#ffmpeg 0.7/0.8 configure
CFLAGS='-I/pspdev/psp/sdk/include -G0 -ffast-math -DO_BINARY=0' \
LDFLAGS='-L/pspdev/psp/sdk/lib -lc -lpspnet -lpspnet_inet
-lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel' \
LIBS='-lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver
-lpsputility -lpspuser -lpspkernel' \
./configure --prefix=C:/projects/player_cpp/ffmpeg-psp-0.8 \
--cross-prefix=psp- --enable-cross-compile --target-os=linux \
--arch=mips --enable-hardcoded-tables \
--enable-gpl --enable-swscale --disable-avfilter \
--disable-muxers --disable-encoders --disable-filters \
--disable-protocols --disable-network --disable-postproc \
--enable-protocol=file --disable-indevs \
--disable-outdevs --disable-devices --disable-hwaccels \
--disable-ffmpeg --disable-ffplay --disable-ffprobe \
--disable-ffserver --disable-doc --disable-avdevice \
--disable-vdpau --disable-dxva2 --disable-vaapi


More information about the Libav-user mailing list