How to use a HEX editor to determine file type Come usare un editor esadecimale per determinare il tipo di file

Posted on July 20, 2009 at 5:16 am Posted on July 20, 2009 alle 5:16 am

Most of us don't know that the filename extension of a video doesn't dictate the codec, but it does determine how the video data is organized in the folders. La maggior parte di noi non sanno che il nome del file l'estensione di un video non dettare il codec, ma non determinano il modo in cui i dati video sono organizzati in cartelle. Of course, there's a chance someone gave your file the wrong filename extension, so before you attempt to repair that video, make sure it has the correct extension. Certo, c'è la possibilità che qualcuno ha il file sbagliato il nome del file di estensione, quindi prima di tentare di riparare il video, assicurarsi che ha l'estensione corretta.

In this tutorial you will need a hex editor like In questo tutorial avrete bisogno di un editor esadecimale come XVI32 XVI32 that you can download freely: che potete scaricare liberamente:

XVI32 is a freeware hex editor running under Windows 95, Windows 98, Windows NT, Windows 2000, and Windows XP. XVI32 è un editor esadecimale freeware che gira sotto Windows 95, Windows 98, Windows NT, Windows 2000 e Windows XP.

To check whether that .mpg file is really an .mpg file, open the file in a text or hex editor. Per verificare se tale. Mpg file è veramente uno. Mpg file, aprire il file di testo o in un editor esadecimale. The header (before the aforementioned 4CC code) will read RIFF if it's an .avi file, RMF if it's an .rm (Real Media) file, MOOV if it's a .mov (Apple Quicktime) file, FLV if it's an .flv (Flash Video) file, or WMFSDK if it's a Microsoft .asf or .wmv file. L'intestazione (prima che il suddetto codice 4CC) leggerà RIFF se è uno. Avi, RMF, se è un. Rm (Real Media) file, Moov se è un file. Mov (Apple QuickTime) file FLV se si tratta di uno. Flv ( Flash Video), file, o se è WMFSDK a Microsoft. asf o. wmv file. If you see no header (only junk), it's likely an .mpg file. Se non vedi intestazione (solo spazzatura), è probabilmente uno. Mpg file.

In the example below I dropped an FLV file into the XVI32 window: In questo esempio ho sceso al di sotto uno FLV file nella finestra XVI32:

immagine

The codec information is located at the first line of the display: Il codec di informazione si trova in prima linea del display:

immagine

You should see the codec information no matter what the extension of the file is used.  Pretty cool isn't it?  If you drop an AVI file, you should see the word RIFF AVI on the screen: Si dovrebbe vedere il codec informazioni non importa ciò che l'estensione del file viene utilizzato. Pretty cool non è vero? Se si rilascia un file AVI, si dovrebbe vedere la parola RIFF AVI sullo schermo:

immagine

You can do various things with a HEX editor, but this is one of the more useful applications for typical home and media playing use. È possibile fare varie cose con un editor esadecimale, ma questa è una delle più utili applicazioni per la tipica casa e mezzi di riproduzione di utilizzo.

Ben Carigtan shows you how it's done! Ben Carigtan vi mostra come è fatto!

Enjoyed this post? Goduto di questo post? Subscribe to Online Tech Tips via Iscriviti a Online Consigli tecnici attraverso RSS Feed Feed RSS or via o via Email E-mail and receive free daily productivity tips. e ricevere gratuitamente suggerimenti per la produttività quotidiana.

» Filed Under »Archiviato in Computer Tips Computer Tips

Aggiungi ai Delicious Save this page Salva questa pagina Mixx è Stir it up on Mixx Mescolare fino a Mixx
Reddit Add to Reddit Aggiungi ai Reddit StumbleUpon Stumble this page Stumble questa pagina

Related Posts Related Posts

Please post your comments/suggestions! Si prega di postare i tuoi commenti / suggerimenti!