how do I determine the file type of a video file [duplicate]
Sometimes I get the url of a video embedded in a webpage and download it, just to find the file has no extension name.
I can play the video with a player, so it must be legal.
How do I determine the extension name of the video file in such circumstance?
Solution 1:
Use Mediainfo, it is the best tool out there for this job.
Solution 2:
If you don't already, open up a folder and go to Tools -> Folder Options -> View -> and deselect 'Hide extensions for known file types'
If you are downloading from YouTube, the format is going to be a .flv (flash video) unless your downloader converts it.
If all else fails, just click on the webpage, view the source, and find out where the video was embedded on the page and find the format. If you are getting them all from the same site, they are more than likely all going to have the same format.
These are just a few things I could think of, I hope they might possibly help you.