[FFmpeg-trac] #3524(ffmpeg:new): FFmpeg MD5 output different with same data

FFmpeg trac at avcodec.org
Wed Apr 2 23:50:50 CEST 2014


#3524: FFmpeg MD5 output different with same data
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  ahthovaikied                       |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:  ffmpeg       |  master
             Keywords:  md5 ffmpeg   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I have 2 different PC with builds of FFmpeg 2.2, that produce different
 md5 from same input data.

 First machine (Ubuntu 12.04, core i7 950) :
 {{{
 $ wget -q
 http://www.auby.no/files/video_tests/h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv

 $ md5sum h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv
 4ce24d5155d6d4619c6233aa15b21aef
 h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv

 $ ffmpeg -loglevel quiet -i
 /tmp/h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv -f md5 -
 MD5=5710038a7ea42277e67eb76631efff04

 $ ffmpeg -version
 ffmpeg version 2.2
 built on Apr  2 2014 23:03:07 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
 configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-
 static --enable-shared --disable-runtime-cpudetect --disable-ffserver
 --disable-encoder=vorbis --disable-encoder=aac --enable-x11grab --enable-
 libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopus --enable-librtmp --enable-libtheora
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
 --disable-debug --cpu=corei7
 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
 libswscale      2.  5.102 /  2.  5.102
 libswresample   0. 18.100 /  0. 18.100
 libpostproc    52.  3.100 / 52.  3.100

 $ gcc -v
 Utilisation des specs internes.
 COLLECT_GCC=/usr/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
 Target: x86_64-linux-gnu
 Configuré avec: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
 --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-
 suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib
 --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
 --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls
 --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
 libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-
 objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-
 checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
 --target=x86_64-linux-gnu
 Modèle de thread: posix
 gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5
 }}}


 Second machine (Ubuntu 14.04, core i7 3537U)  :
 {{{
 $ wget -q
 http://www.auby.no/files/video_tests/h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv

 $ md5sum h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv
 4ce24d5155d6d4619c6233aa15b21aef
 h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv

 $ ffmpeg -loglevel quiet -i
 h264_720p_hp_3.1_600kbps_aac_mp3_dual_audio_harry_potter.mkv -f md5 -
 MD5=997b3168ffc48bbd83ae869a43e59232

 $ ffmpeg -version
 ffmpeg version 2.2
 built on Apr  2 2014 23:23:24 with gcc 4.8 (Ubuntu 4.8.2-17ubuntu2)
 configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-
 static --enable-shared --disable-runtime-cpudetect --disable-ffserver
 --disable-encoder=vorbis --disable-encoder=aac --enable-x11grab --enable-
 libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopus --enable-librtmp --enable-libtheora
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
 --disable-debug --cpu=core-avx-i
 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
 libswscale      2.  5.102 /  2.  5.102
 libswresample   0. 18.100 /  0. 18.100
 libpostproc    52.  3.100 / 52.  3.100

 $ gcc -v
 Using built-in specs.
 COLLECT_GCC=/usr/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Ubuntu
 4.8.2-17ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
 --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
 --program-suffix=-4.8 --enable-shared --enable-linker-build-id
 --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
 --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
 --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
 libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
 --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-
 awt=gtk --enable-gtk-cairo --with-java-
 home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-
 jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-
 dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-
 directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-
 objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-
 abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-
 checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
 --target=x86_64-linux-gnu
 Thread model: posix
 gcc version 4.8.2 (Ubuntu 4.8.2-17ubuntu2)
 }}}

 I also can also reproduce this with git master builds.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3524>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list