[FFmpeg-trac] #3902(avformat:new): FFmpeg MD5 output different with same data #3
FFmpeg
trac at avcodec.org
Wed Aug 27 21:40:27 CEST 2014
#3902: FFmpeg MD5 output different with same data #3
-------------------------------------+-------------------------------------
Reporter: | Type: defect
ahthovaikied | Priority: normal
Status: new | Version: git-
Component: avformat | master
Keywords: md5 mpeg2 | Blocked By:
ac3 mkv | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Computing the MD5 of media streams produce different results between two
of my machines, with same input data.
See https://trac.ffmpeg.org/ticket/3871 for some background.
The 2 configurations are :
* Ubuntu 14.04, Core i7 950, FFmpeg compiled with:
{{{
--enable-gpl --enable-version3 --enable-nonfree --disable-runtime-
cpudetect --disable-ffserver --disable-ffplay --disable-encoders
--disable-decoders --disable-filters --disable-debug --cpu=corei7
}}}
* Ubuntu 14.04, Atom D525, FFmpeg compiled with same as previous but
{{{--cpu=atom}}} instead of {{{--cpu=corei7}}}
I can only reproduce this with some Matroska files which are direct DVD
rip (MPEG2 + AC3, no transcoding) made with MakeMKV
(http://www.makemkv.com/), but not all.
I get the same behaviour with FFmpeg 2.3.3 and from git master.
Taking video and audio streams:
* corei7
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map v -map a -c:v copy -c:a copy -f
md5 -
MD5=1337b0c18400b795764abf7569e37d35
}}}
* atom
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map v -map a -c:v copy -c:a copy -f
md5 -
MD5=23e468f0cf9671ffcd1f6478ae052220
}}}
...MD5 do not match.
Taking only video stream:
* corei7
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map v -c:v copy -f md5 -
MD5=d61c1256650a32b9acf72b57810b0ded
}}}
* atom
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map v -c:v copy -f md5 -
MD5=d61c1256650a32b9acf72b57810b0ded
}}}
...MD5 do match.
Taking only audio streams:
* corei7
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map a -c:a copy -f md5 -
MD5=112d7f2c095285d682b189d68cd13e1a
}}}
* atom
{{{
$ ffmpeg -loglevel quiet -i test.mkv -map a -c:a copy -f md5 -
MD5=112d7f2c095285d682b189d68cd13e1a
}}}
...MD5 do match.
Full sample output:
{{{
$ ffmpeg -i test.mkv -map v -map a -c:v copy -c:a copy -f md5 -
ffmpeg version N-65928-g7997d78 Copyright (c) 2000-2014 the FFmpeg
developers
built on Aug 27 2014 20:45:49 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-gpl --enable-version3 --enable-nonfree
--disable-runtime-cpudetect --disable-ffserver --disable-ffplay --disable-
encoders --disable-decoders --disable-filters --disable-debug --cpu=corei7
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 3.100 / 56. 3.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[matroska,webm @ 0x1981ca0] Could not find codec parameters for stream 16
(Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'test.mkv':
Metadata:
title : Goodfellas
encoder : libebml v1.2.2 + libmatroska v1.3.0
creation_time : 2013-01-17 21:50:53
Duration: 02:19:28.66, start: 0.024000, bitrate: 6479 kb/s
Chapter #0.0: start 0.000000, end 155.280000
Metadata:
title : Chapter 01
Chapter #0.1: start 155.280000, end 334.320000
Metadata:
title : Chapter 02
Chapter #0.2: start 334.320000, end 437.040000
Metadata:
title : Chapter 03
Chapter #0.3: start 437.040000, end 525.160000
Metadata:
title : Chapter 04
Chapter #0.4: start 525.160000, end 621.560000
Metadata:
title : Chapter 05
Chapter #0.5: start 621.560000, end 774.600000
Metadata:
title : Chapter 06
Chapter #0.6: start 774.600000, end 864.120000
Metadata:
title : Chapter 07
Chapter #0.7: start 864.120000, end 956.800000
Metadata:
title : Chapter 08
Chapter #0.8: start 956.800000, end 1133.880000
Metadata:
title : Chapter 09
Chapter #0.9: start 1133.880000, end 1367.160000
Metadata:
title : Chapter 10
Chapter #0.10: start 1367.160000, end 1648.480000
Metadata:
title : Chapter 11
Chapter #0.11: start 1648.480000, end 1814.360000
Metadata:
title : Chapter 12
Chapter #0.12: start 1814.360000, end 1990.440000
Metadata:
title : Chapter 13
Chapter #0.13: start 1990.440000, end 2054.880000
Metadata:
title : Chapter 14
Chapter #0.14: start 2054.880000, end 2148.680000
Metadata:
title : Chapter 15
Chapter #0.15: start 2148.680000, end 2384.920000
Metadata:
title : Chapter 16
Chapter #0.16: start 2384.920000, end 2556.320000
Metadata:
title : Chapter 17
Chapter #0.17: start 2556.320000, end 2815.000000
Metadata:
title : Chapter 18
Chapter #0.18: start 2815.000000, end 2995.680000
Metadata:
title : Chapter 19
Chapter #0.19: start 2995.680000, end 3286.240000
Metadata:
title : Chapter 20
Chapter #0.20: start 3286.240000, end 3519.080000
Metadata:
title : Chapter 21
Chapter #0.21: start 3519.080000, end 3668.720000
Metadata:
title : Chapter 22
Chapter #0.22: start 3668.720000, end 3819.240000
Metadata:
title : Chapter 23
Chapter #0.23: start 3819.240000, end 3896.200000
Metadata:
title : Chapter 24
Chapter #0.24: start 3896.200000, end 4173.280000
Metadata:
title : Chapter 25
Chapter #0.25: start 4173.280000, end 4356.320000
Metadata:
title : Chapter 26
Chapter #0.26: start 4356.320000, end 4525.160000
Metadata:
title : Chapter 27
Chapter #0.27: start 4525.160000, end 4605.320000
Metadata:
title : Chapter 28
Chapter #0.28: start 4605.320000, end 4780.360000
Metadata:
title : Chapter 29
Chapter #0.29: start 4780.360000, end 4926.600000
Metadata:
title : Chapter 30
Chapter #0.30: start 4926.600000, end 5076.760000
Metadata:
title : Chapter 31
Chapter #0.31: start 5076.760000, end 5206.480000
Metadata:
title : Chapter 32
Chapter #0.32: start 5206.480000, end 5370.640000
Metadata:
title : Chapter 33
Chapter #0.33: start 5370.640000, end 5631.080000
Metadata:
title : Chapter 34
Chapter #0.34: start 5631.080000, end 5755.200000
Metadata:
title : Chapter 35
Chapter #0.35: start 5755.200000, end 5917.920000
Metadata:
title : Chapter 36
Chapter #0.36: start 5917.920000, end 6131.360000
Metadata:
title : Chapter 37
Chapter #0.37: start 6131.360000, end 6284.880000
Metadata:
title : Chapter 38
Chapter #0.38: start 6284.880000, end 6522.320000
Metadata:
title : Chapter 39
Chapter #0.39: start 6522.320000, end 7130.760000
Metadata:
title : Chapter 40
Chapter #0.40: start 7130.760000, end 7325.080000
Metadata:
title : Chapter 41
Chapter #0.41: start 7325.080000, end 7450.720000
Metadata:
title : Chapter 42
Chapter #0.42: start 7450.720000, end 7595.760000
Metadata:
title : Chapter 43
Chapter #0.43: start 7595.760000, end 7769.480000
Metadata:
title : Chapter 44
Chapter #0.44: start 7769.480000, end 7985.560000
Metadata:
title : Chapter 45
Chapter #0.45: start 7985.560000, end 8086.640000
Metadata:
title : Chapter 46
Chapter #0.46: start 8086.640000, end 8368.680000
Metadata:
title : Chapter 47
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR
64:45 DAR 16:9], max. 7500 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s (default)
Stream #0:2(fre): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream #0:3(ita): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Metadata:
title : 2/0
Stream #0:5(eng): Subtitle: dvd_subtitle
Stream #0:6(fre): Subtitle: dvd_subtitle
Stream #0:7(ita): Subtitle: dvd_subtitle
Stream #0:8(ger): Subtitle: dvd_subtitle
Stream #0:9(spa): Subtitle: dvd_subtitle
Stream #0:10(dut): Subtitle: dvd_subtitle
Stream #0:11(ara): Subtitle: dvd_subtitle
Stream #0:12(bul): Subtitle: dvd_subtitle
Stream #0:13(rum): Subtitle: dvd_subtitle
Stream #0:14(eng): Subtitle: dvd_subtitle
Stream #0:15(ita): Subtitle: dvd_subtitle
Stream #0:16: Attachment: none
Metadata:
filename : media_md5.bin
mimetype : application/octet-stream
Output #0, md5, to 'pipe:':
Metadata:
title : Goodfellas
encoder : Lavf56.3.100
Chapter #0.0: start 0.000000, end 155.256000
Metadata:
title : Chapter 01
Chapter #0.1: start 155.256000, end 334.296000
Metadata:
title : Chapter 02
Chapter #0.2: start 334.296000, end 437.016000
Metadata:
title : Chapter 03
Chapter #0.3: start 437.016000, end 525.136000
Metadata:
title : Chapter 04
Chapter #0.4: start 525.136000, end 621.536000
Metadata:
title : Chapter 05
Chapter #0.5: start 621.536000, end 774.576000
Metadata:
title : Chapter 06
Chapter #0.6: start 774.576000, end 864.096000
Metadata:
title : Chapter 07
Chapter #0.7: start 864.096000, end 956.776000
Metadata:
title : Chapter 08
Chapter #0.8: start 956.776000, end 1133.856000
Metadata:
title : Chapter 09
Chapter #0.9: start 1133.856000, end 1367.136000
Metadata:
title : Chapter 10
Chapter #0.10: start 1367.136000, end 1648.456000
Metadata:
title : Chapter 11
Chapter #0.11: start 1648.456000, end 1814.336000
Metadata:
title : Chapter 12
Chapter #0.12: start 1814.336000, end 1990.416000
Metadata:
title : Chapter 13
Chapter #0.13: start 1990.416000, end 2054.856000
Metadata:
title : Chapter 14
Chapter #0.14: start 2054.856000, end 2148.656000
Metadata:
title : Chapter 15
Chapter #0.15: start 2148.656000, end 2384.896000
Metadata:
title : Chapter 16
Chapter #0.16: start 2384.896000, end 2556.296000
Metadata:
title : Chapter 17
Chapter #0.17: start 2556.296000, end 2814.976000
Metadata:
title : Chapter 18
Chapter #0.18: start 2814.976000, end 2995.656000
Metadata:
title : Chapter 19
Chapter #0.19: start 2995.656000, end 3286.216000
Metadata:
title : Chapter 20
Chapter #0.20: start 3286.216000, end 3519.056000
Metadata:
title : Chapter 21
Chapter #0.21: start 3519.056000, end 3668.696000
Metadata:
title : Chapter 22
Chapter #0.22: start 3668.696000, end 3819.216000
Metadata:
title : Chapter 23
Chapter #0.23: start 3819.216000, end 3896.176000
Metadata:
title : Chapter 24
Chapter #0.24: start 3896.176000, end 4173.256000
Metadata:
title : Chapter 25
Chapter #0.25: start 4173.256000, end 4356.296000
Metadata:
title : Chapter 26
Chapter #0.26: start 4356.296000, end 4525.136000
Metadata:
title : Chapter 27
Chapter #0.27: start 4525.136000, end 4605.296000
Metadata:
title : Chapter 28
Chapter #0.28: start 4605.296000, end 4780.336000
Metadata:
title : Chapter 29
Chapter #0.29: start 4780.336000, end 4926.576000
Metadata:
title : Chapter 30
Chapter #0.30: start 4926.576000, end 5076.736000
Metadata:
title : Chapter 31
Chapter #0.31: start 5076.736000, end 5206.456000
Metadata:
title : Chapter 32
Chapter #0.32: start 5206.456000, end 5370.616000
Metadata:
title : Chapter 33
Chapter #0.33: start 5370.616000, end 5631.056000
Metadata:
title : Chapter 34
Chapter #0.34: start 5631.056000, end 5755.176000
Metadata:
title : Chapter 35
Chapter #0.35: start 5755.176000, end 5917.896000
Metadata:
title : Chapter 36
Chapter #0.36: start 5917.896000, end 6131.336000
Metadata:
title : Chapter 37
Chapter #0.37: start 6131.336000, end 6284.856000
Metadata:
title : Chapter 38
Chapter #0.38: start 6284.856000, end 6522.296000
Metadata:
title : Chapter 39
Chapter #0.39: start 6522.296000, end 7130.736000
Metadata:
title : Chapter 40
Chapter #0.40: start 7130.736000, end 7325.056000
Metadata:
title : Chapter 41
Chapter #0.41: start 7325.056000, end 7450.696000
Metadata:
title : Chapter 42
Chapter #0.42: start 7450.696000, end 7595.736000
Metadata:
title : Chapter 43
Chapter #0.43: start 7595.736000, end 7769.456000
Metadata:
title : Chapter 44
Chapter #0.44: start 7769.456000, end 7985.536000
Metadata:
title : Chapter 45
Chapter #0.45: start 7985.536000, end 8086.616000
Metadata:
title : Chapter 46
Chapter #0.46: start 8086.616000, end 8368.656000
Metadata:
title : Chapter 47
Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR
16:9], q=2-31, max. 7500 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s (default)
Stream #0:2(fre): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream #0:3(ita): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Metadata:
title : 2/0
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
MD5=1337b0c18400b795764abf7569e37d35 0kB time=02:16:22.62 bitrate=
0.0kbits/s
frame=209217 fps=10775 q=-1.0 Lsize= 0kB time=02:19:28.64 bitrate=
0.0kbits/s
video:5607170kB audio:980700kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
}}}
I can not upload the file because as you can expect for a DVD rip it is
quite big.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3902>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list