[FFmpeg-devel] [PATCH] vorbis_enc.c: avoid div zero that causes noise

Frank Barchard fbarchard
Tue Jun 1 20:28:40 CEST 2010


Improves quality for ff vorbis encoding of silence.

Some audio files had clicking, typically at the beginning or end.  It was
tracked down to a divide by zero.
Two samples that improve in quality with the patch are:
pitivi - http://jeff.ecchi.ca/public/test-html5.html
red -
http://movies.apple.com/movies/us/hd_gallery/gl1800/1080p/artbeats_red_m1080p.mov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis_divzero_fix.patch
Type: application/octet-stream
Size: 673 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100601/570780ea/attachment.obj>



More information about the ffmpeg-devel mailing list