user33838: When I export an Adobe Premiere project to video twice with the same export settings, why does it yield videos with different file hashes?
Shouldn't the files be identical and have matching hashes? Where is the source of randomness coming into the encoding process?

The encoding settings

These two files were encoded using identical settings a few seconds apart, note that the files are not actually identical.

user29988: Yes, your observation is correct and everything works fine. Even if settings are identitcal, the file hashes will always be different.
The reason is quite simple: XMP metadata which is embedded in the files.
Such metadata entries which are often different are:

time stamps (not only the date but the time too)

creation date
modified date
metadata date


IDs

document ID
instance ID
original document ID



A bit of binary data in the header is different too. All the rest, meaning the actual video and audio data is the same. The encoding algorithms are working deterministic - that means, given the same input they produce the same output. At least those I've tried for my example. This doesn't have to be true in other cases.

33838: <p>When I export an Adobe Premiere project to video twice with the same export settings, why does it yield videos with different file hashes?</p>
<p>Shouldn't the files be identical and have matching hashes? Where is the source of randomness coming into the encoding process?</p>
<p><a href="https://i.stack.imgur.com/Ak0Zw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ak0Zw.png" alt="enter image description here" /></a></p>
<p>The encoding settings</p>
<p><a href="https://i.stack.imgur.com/M5cLv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M5cLv.png" alt="enter image description here" /></a></p>
<p>These two files were encoded using identical settings a few seconds apart, note that the files are not actually identical.</p>
 29988: <p>Yes, your observation is correct and everything works fine. Even if settings are identitcal, the file hashes will always be different.</p>
<p>The reason is quite simple: XMP metadata which is embedded in the files.</p>
<p>Such metadata entries which are often different are:</p>
<ul>
<li>time stamps (not only the date but the time too)
<ul>
<li>creation date</li>
<li>modified date</li>
<li>metadata date</li>
</ul>
</li>
<li>IDs
<ul>
<li>document ID</li>
<li>instance ID</li>
<li>original document ID</li>
</ul>
</li>
</ul>
<p>A bit of binary data in the header is different too. All the rest, meaning the actual video and audio data is the same. The encoding algorithms are working deterministic - that means, given the same input they produce the same output. At least those I've tried for my example. This doesn't have to be true in other cases.</p>
