I can play almost all videos without problems on my Google TV or XBMC box, but when I try to play videos recorded on a Canon 60D camera it gives severe lag and takes some time to start up. Any reason for this? Should I check some other option? Tried also without network streaming, but almost same result (although better than streaming). Starting from a windows machine with VLC does not have a problem.
1 Answer
This is almost certainly a data rate problem. The quality level of H.264 from a camera is much higher and much less compressed than a typical media file.
H.264 is an elaborate compression which can achieve substantial compression ratios while maintaining high quality, however it is also very complex and difficult to encode with the best compression settings available. To save time and battery, a camera such as the 60D uses a hardware encoder and applies only simple compression. This means the file size is much larger (though the quality is also higher).
Before final consumption, the video file should be re-compressed to a more compressed file for final viewing. You can use any of a number of compressors (either one built in to a video editing package of your choice or you can use the free FFMpeg). If you use a two pass VBR preset for something like YouTube it should encode to a much more highly compressed and network/low power device playback friendly compression. If you have an option for profile, I'd try the low profile as it is supported by more low power devices than the high or medium profiles.