There can be a multitude of reasons why an avi fails to play on a stand alone media player. The fact that it will play on a computer is no guide at all.

Here are some things to consider:
Avi that uses GMC usually will not play.
Avi that uses QPEL usually will not play.
Avi that uses more than 2 consecutive B-VOPs may be problematical. (Rare)
Avi with a resolution exceeding 720 x 576 usually will not play.
Avi using anything other than Square Pixels can be problematical or will not play.
Avi with file size exceeding 2GB can be problematical or will not play.
Avi with file size exceeding 2GB can only be in Multi-Part Open DML format which many players have difficulty with.
Recently I notice some "1Click" rippers/converters are producing Multi-Part Open DML format avi for avi with file sizes
not exceeding 2GB. This is both unconventional and unnecessary. Conventional avi should use Single-Part Open DML format. This is what players expect and consequently the unconventional format can be rejected.
Some players (mine

) are not licensed to play Divx and so only Xvid avi will play.
Things to try:
AGK produces conventional and compatable avi from decrypted sources.
ARC produces conventional and compatable avi from incompatable avi.
If your player can use MKV, wrapping your problem avi in an MKV container by remuxing with mkvmerge found in
MKVtoolnix can help.