2017-12-16, 07:54 PM
I never thought about the importance of the checksum, until today... it is not only because one can check if the downloaded file is indeed error-free, but also to know if a given project is untouched; I mean, I'm aware that some of my projects are remuxed, discarding audio and/or subs tracks, with other ones remuxed in their place, but, would the video be left untouched?
At the end, the hash string is like a signature of your work; it would help to know if a given file is the original, untouched one, or at least if one or more muxed tracks are.
So, from now on, I will include hash strings for the main m2ts file, as well as the h264 demuxed stream (and eventually audio and/or subs tracks, if they are restored/fixed as well); I have decided to use MD-5, SHA-1 and SHA3-512, to have more checksum options; also file size and mediainfo would be included as well.
Example of a info.txt file that would be included:
Opinions?
Edit: to test its effectiveness, first I demuxed the m2ts file, checked the raw h264, remux this raw stream with the other tracks found in the m2ts, then demuxed it again from this second m2ts, and the raw h264 stream is identical (as expected).
At the end, the hash string is like a signature of your work; it would help to know if a given file is the original, untouched one, or at least if one or more muxed tracks are.
So, from now on, I will include hash strings for the main m2ts file, as well as the h264 demuxed stream (and eventually audio and/or subs tracks, if they are restored/fixed as well); I have decided to use MD-5, SHA-1 and SHA3-512, to have more checksum options; also file size and mediainfo would be included as well.
Example of a info.txt file that would be included:
Code:
CHECKSUM
complete project (muxed using tsMuxeR GUI 2.6.12)
File: Harry_Potter_and_the_Half-Blood_Prince_[Fundamental_Collection]\BDMV\STREAM\00000.m2ts
Size: 43.779.772.416 bytes
MD5: c57f7effaabba5fbf581f84ad90a4aa1
SHA-1: 19d1e0b92ac425b0270a260890b7f4caaa2ff1ab
SHA3-512: e95e1e78861cf22f2cf746dfd2a289c728c31867e67c4a3b956ad1a028551fac6ef4d7bcec23003b9538af885876249eee5abb5923b822301854be96b296bf49
raw h264 stream (demuxed using tsMuxeR GUI 2.6.12, all options unchecked)
File: Harry_Potter_and_the_Half-Blood_Prince_[Fundamental_Collection]\BDMV\STREAM\00000.track_4113.264
Size: 34.613.808.135 bytes
MD5: 13d4d90b865295b16bdb7bb277585fdc
SHA-1: 6fd33098ed8a364ffc31ad2142b0ce81b3e3f8fd
SHA3-512: 68b1de89ce182f59f749e1ad2971c61d8efe316e41eaa8f18eb17b621656df0d162d8df257d78fd51d959adc707b3e0681ba6bb981b62306f6cdf50bc4ec29aa
################################################################################################
MEDIAINFO
General
ID : 1 (0x1)
Complete name : Harry_Potter_and_the_Half-Blood_Prince_[Fundamental_Collection]\BDMV\STREAM\00000.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 40.8 GiB
Duration : 2 h 33 min
Overall bit rate mode : Variable
Overall bit rate : 38.0 Mb/s
Maximum Overall bit rate : 35.5 Mb/s
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 2 h 33 min
Bit rate mode : Variable
Maximum bit rate : 40.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Muxing mode : Stream extension
Codec ID : 134
Duration : 2 h 33 min
Bit rate mode : Variable / Constant
Bit rate : Unknown / 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 spf)
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 703 MiB (2%)
Audio #3
ID : 4354 (0x1102)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 492 MiB (1%)
Audio #4
ID : 4355 (0x1103)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 492 MiB (1%)
Audio #5
ID : 4356 (0x1104)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 492 MiB (1%)
Audio #6
ID : 4357 (0x1105)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 493 MiB (1%)
Audio #7
ID : 4358 (0x1106)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 492 MiB (1%)
Audio #8
ID : 4359 (0x1107)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 492 MiB (1%)
Audio #9
ID : 4360 (0x1108)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 h 33 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 211 MiB (1%)
Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #3
ID : 4610 (0x1202)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #4
ID : 4611 (0x1203)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #5
ID : 4612 (0x1204)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #6
ID : 4613 (0x1205)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #7
ID : 4614 (0x1206)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #8
ID : 4615 (0x1207)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #9
ID : 4616 (0x1208)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Opinions?
Edit: to test its effectiveness, first I demuxed the m2ts file, checked the raw h264, remux this raw stream with the other tracks found in the m2ts, then demuxed it again from this second m2ts, and the raw h264 stream is identical (as expected).