[Libav-user] Incorrect md5 for ogg files after ffmpeg version upgrade

Dmitry Bogdanov dmitry.bogdanov at upf.edu
Mon May 9 14:07:59 CEST 2016


Hello,

In my project I am using libavutil to calculate MD5 values of raw 
undecoded audio data. My reference values can be also obtained running 
the command

ffmpeg -i test.ogg -acodec copy -f md5 -

These reference values have never changed for my test audio files 
throughout the history ffmpeg releases, and my own code using libavutil 
(https://github.com/MTG/essentia/blob/master/src/algorithms/io/audioloader.cpp#L204) 
produced the same values.

However I get incorrect values starting from ffmpeg version 2.2 for 
*ogg* files (for other audio formats the values stay correct). I have 
tested using homebrew formulas for ffmpeg and found that previous 
version of ffmpeg available in brew, 2.1.4, works fine. What was the 
change in 2.2 version that can explain this issue for ogg files?


ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 28 2016 18:33:02 with Apple LLVM version 7.0.2 
(clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.4 --enable-shared 
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree 
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang 
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac 
--enable-libmp3lame --enable-libxvid
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100


ffmpeg version 2.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 29 2016 13:22:26 with Apple LLVM version 7.0.2 
(clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2 --enable-shared 
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree 
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang 
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac 
--enable-libmp3lame --enable-libxvid
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100


Cheers,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160509/e9e4802d/attachment.html>


More information about the Libav-user mailing list