#1
|
|||
|
|||
file format recognizing
hi
I have a file that kmplayer cant play and show below data Quote:
maybe this is not video file but i extract this file from DVR box . thanks a lot |
#2
|
|||
|
|||
as you can see in the file header, the tag is QFAT
first i thought this could a hd image file (indicating the hd was in FAT format not NTFS), but i don't know any hd image formats that uses this (at least qemu,bosch,vmware,etc) AFAIK, i don't think is a video file, at least the main formats. You could try TRID tool (http://mark0.net/soft-trid-e.html) to see it the tool could recognice the file. good luck! Edit: you could rename it to .mp4 or .avi and try to open it with Videolan, also try opening it with winrar, or with 7zip, if it fails you could even try to repair it with winrar, the tool will look for valid zips or rar inside the container. Sometimes it works. |
The Following User Says Thank You to an0rma1 For This Useful Post: | ||
zeytunak (06-12-2015) |
#3
|
|||
|
|||
@zeytunak:
Hi, Bizarre... QFAT doesn't look like a HD header. FAT16, FAT32, exFAT, ... exists but no QFAT. There's a "PK" signature => maybe it's a zip file with an erroneous header. Try to delete the bytes before "PK" signature and check if it's a zip. Where does this file come from ? Regards. |
The Following User Says Thank You to LaDidi For This Useful Post: | ||
zeytunak (06-12-2015) |
#4
|
||||
|
||||
maybe ? https://github.com/openstreetmap/merkaartor/tree/master/src/Tools/QFatFs
|
The Following User Says Thank You to N0P For This Useful Post: | ||
zeytunak (06-12-2015) |
#5
|
|||
|
|||
thanks friends
problem solved , this is video file , and come from DVR ( digital video recording ) . i test other valid file with same header that played |
#6
|
|||
|
|||
@N0P:
Hi, Thanks for the link. No sure it was implemented in an hdd partition. because it doesn' respect sector partition format... Regards. |
The Following User Says Thank You to LaDidi For This Useful Post: | ||
zeytunak (06-16-2015) |
#7
|
|||
|
|||
I don't know if any programs currently exist but you could use something like HexEdit to compare the first n bytes and see the type of header. What would be easier is writing a small script/executable that can compare across a large collection of file formats, I think I'll write it soon
|
The Following User Says Thank You to maktm For This Useful Post: | ||
zeytunak (06-16-2015) |
#8
|
|||
|
|||
I built a pretty boring solution, all you have to do is download the repo and add more file formats in the std::map using the [] operator. Hope this helps someone (despite it sucking)
https://github.com/Maktm/FHeader/tree/master/src/FHeader |
The Following User Says Thank You to maktm For This Useful Post: | ||
zeytunak (06-16-2015) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Media Descriptor File (MDF/MDS) file format | NimDa2k | General Discussion | 0 | 03-22-2009 16:49 |
Delphi DCU File Format | redbull | General Discussion | 5 | 09-02-2004 18:36 |