[Ffmpeg-devel] mpc7 bad quality?

Ronald S. Bultje rbultje
Sun Mar 4 15:48:37 CET 2007


Hi,

On Sun, 2007-03-04, Kostya wrote:
> On Sun, Mar 04, 2007 at 12:35:07AM -0500, Ronald S. Bultje wrote:
> > Hi,
> > 
> > I'm trying to play a musepack sample, and noticed that it has incredibly
> > bad quality (lots of noise) compared to the libmusepack decoder that
> > e.g. Xine has. Is this a known problem?
> > 
> > A sample file is available on
> > http://gstreamer.freedesktop.org/media/medium/kantate.mpc
> > 
> > Ronald
>  
> On my PPC:
> kantate1.wav created by sample decoder from libmpcdec-1.2.1
> kantate2.wav was created by FFmpeg
> 
> ./tiny_psnr kantate2.wav kantate1.wav 2 1924 44
> stddev:  0.70 PSNR:99.34 bytes:50485248
> 
> Can somebody verify this on x86?

(gst uses libmpc internally, so I used that, I don't have mpcdec right
now.)

$ ./ffmpeg -i ~/Desktop/kantate.mpc ~/Desktop/kantate-ff.wav
$ gst-launch-0.10 filesrc location=~/Desktop/kantate.mpc ! musepackdec !
audioconvert ! wavenc ! filesink location=~/Desktop/kantate-gst.wav
$ tests/tiny_psnr ~/Desktop/kantate-ff.wav ~/Desktop/kantate-gst.wav 2
1924 44
stddev:24823.12 PSNR:31.70 bytes:50485248

That doesn't look good... .wav samples don't look alike at all in a text
editor either, really. I've uploaded first MB for both files above at
http://freedesktop.org/~rbultje/ in case it's helpful.

Ronald





More information about the ffmpeg-devel mailing list