Board index » delphi » File Sniffer Component ?
Anthoni Gardner
![]() Delphi Developer |
File Sniffer Component ?2008-06-16 02:28:53 AM delphi262 Hello there, Before I go and construct one myself, are there any pre-made components that will "sniff" a file header and tell me what it is ? The types of file I am seeking are mp3, avi, mpg, flv, wmv and mov. I would like to pass in a file and it tell me what type it is and if its a valid header. For example, I have an mp3 encoded with the LAME3.84 encoder, and doing a google search it tells me that this encoder is broken somehow. This is quite apparent as it plays distorted in WMP and my program as well. Is there a component / routine that does this, or do I need to create it myself ? Regards Anthoni |