[Ffmpeg-devel] [PATCH] flacenc - md5

Stefan de Konink skinkie
Wed Jul 5 11:36:11 CEST 2006


On Tue, 4 Jul 2006, Justin Ruggles wrote:

> Diego Biurrun wrote:
> > On Tue, Jul 04, 2006 at 12:05:33AM -0400, Justin Ruggles wrote:
> >
> >>I am not 100% sure about the big-endian section in md5_accumulate.  I
> >>don't have a big-endian system to test on.  Just let me know if it
> >>doesn't work or if it could be done in a better or simpler way.
> >
> >
> > There are a few people with big-endian machines around here..  What
> > exactly do you want tested?
>
> Just make sure this works.
>
> ffmpeg -i test.wav test.flac
> flac -t test.flac
>
> If it gives you a checksum mismatch, there is a problem.  If it says
> "ok" then all is good.

skinkie at localhost ~ $ ffmpeg -i graaggedaan.wav graaggedaan.flac
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --disable-mmx --disable-dv1394
--disable-debug --disable-audio-oss --disable-v4l --enable-libgsm
--enable-mp3lame --enable-libogg --enable-theora --enable-vorbis
--enable-gpl --enable-pp --disable-opts
  libavutil version: 49.0.0
  libavcodec version: 51.9.0
  libavformat version: 50.4.0
  built on Jul  5 2006 11:27:00, gcc: 4.1.1 (Gentoo 4.1.1)
Input #0, wav, from 'graaggedaan.wav':
  Duration: 00:00:02.6, start: 0.000000, bitrate: 1411 kb/s
  Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Output #0, flac, to 'graaggedaan.flac':
  Stream #0.0: Audio: flac, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=     120kB time=2.6 bitrate= 377.4kbits/s
video:0kB audio:120kB global headers:0kB muxing overhead 0.006492%
skinkie at localhost ~ $ flac -t graaggedaan.flac

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are
welcome to redistribute it under certain conditions.  Type `flac' for
details.

graaggedaan.flac: ok


cpu             : 7447A, altivec supported

-rw-r--r-- 1 skinkie skinkie 123234 Jul  5 11:32 graaggedaan.flac
-rw-r--r-- 1 skinkie skinkie 458796 Jul  5 11:32 graaggedaan.wav


Stefan





More information about the ffmpeg-devel mailing list