Hardware encoding/decoding question

If you change the path to your files, I see massive issues - at least with custom, un-matchable item.
The only way to solve this cleanly is this method: