And with codec. What code it is in? For what architecture or operating system? What is system constraints it has to operate in? Do you have some specification? Do you need to due something beyond it for new codec.
And from security viewpoint running some arbitrary code from disk sounds like questionable idea. Specially for say pc or console...
Joke aside, this question is close to the file format obsolescence problem in long term digital preservation: the longer the term, the closer to bootstrapping the answer is.
In the shorter term, detailed metadata, widely used containers and choice of codecs that have well-known open source implementations is a good start.
This. In those days any general-purpose CPU with enough grunt to do realtime software decoding of MPEG2 and hypothetical newer codecs would have needed a fan - which would have been a dealbreaker for a living-room appliance.
https://en.m.wikipedia.org/wiki/BD-J
Admittedly not for codecs at least.
Consumer DVD players have (cheaper) ASICs for hardware-decoding of MPEG. The algorithm to decode is literally burned into the chip. It wouldn't have made economic sense for manufacturers to pay extra for general-purpose CPUs such as x86/ARM/MIPS to enable future scenarios of loading & executing arbitrary code from discs.
https://www.cnet.com/tech/tech-industry/pentium-ii-release-d...
In other words, there was simply no way to ship affordable DVD players that would use a general purpose CPU for video decoding. It needed to be in hardware.
A good brand would buffer compute and memory capacity by a decent factor at time of sale in order to support future codecs needs...
You probably don't want that kind of capability since it ends up being used for nefarious purposes by the rights holders and media companies.
For example the keys on your BluRay player can be revoked just by playing a BluRay disc, as the drive first reads the code on the disc and executes the appropriate code to "update" your player according to the wishes of the DRM overlords. It's a very anti-consumer feature. Sony was also distributing their music CDs with rootkits to try to prevent piracy.
I think VHS and Laserdisc were better since they had little DRM and you could freely rewind and view whatever parts you want at your own discretion. The advent of tech also meant the advent of anti-user DRM that dictate how the (paying!) user must enjoy the content.
Thanks for mentioning this. The LibreDrive firmware is specifically designed to address this and other issues.
The problem is a physical media format absolutely cannot afford to gain a reputation for not playing.
You see, if stores accept returns for opened DVDs? People can buy a DVD movie, watch it, then return it for a refund.
But if stores don't accept returns for opened DVDs? If I paid two hours' wages for that DVD, it doesn't play, and they won't give me a refund? I'm going to be mad about being ripped off, and I'm going to complain a lot.