Both F4V and MP4 files have "video/mp4" his or her MIME type. However, I am focusing on a Wordpress blog where I would like submitted F4V files to become proven utilizing a Expensive video Player, and MP4 files while using HTML5 [video] tag. Clearly, I can not differentiate between them utilizing their MIME type. Can there be every other way I possibly could get it done, aside from the file extension?
I can not appear to locate a good listing of metadata readily available for MP4 files, but it's entirely possible that the F4V files could have a metadata item that MP4 doesn't. Check this out for a listing of F4V data:http://help.adobe.com/en_US/FlashMediaEncoder/2.5/help.html?content=config_automate_16.html
Furthermore, there's a PHP class open to read metadata from both file formats which will let you out: http://code.google.com/p/php-mp4info/