Playing AVI Files on Panasonic TV from USB

I have videos on my server which are .avi format. I notice for some videos I get a cannot read file message. The video works fine on media player but not my Panasonic TV. I’ m bit baff led why some of the videos work but not others. What can I do? How can I Read more