![]() |
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 |
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. |
@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. |
maybe ? https://github.com/openstreetmap/merkaartor/tree/master/src/Tools/QFatFs
|
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 |
@N0P:
Hi, Thanks for the link. No sure it was implemented in an hdd partition. because it doesn' respect sector partition format... Regards. |
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 :)
|
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 |
| All times are GMT +8. The time now is 18:02. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX