All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 6:38 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 3459
Location: CDRLabs @ Chandigarh [ India ]
Hello Friends ,
I got one case where the customer is able to play His .MTS Files Till Serial No 0052.MTS No File After That Works .I have examined the And i See Differences ,But i am Not Sure Why Patient File From Serial No 0053.MTS Till End Are Not Working .Both Working and Non Working Files Are Attached

Working File -> https://drive.google.com/file/d/0B_ZE6- ... sp=sharing
Non Working File -> https://drive.google.com/file/d/0B_ZE6- ... sp=sharing

_________________
Regards
Amarbir S Dhillon , Chandigarh Data Recovery Labs [India]
Logical,Semi Physical And Physical Data Recovery
Website-> http://www.chandigarhdatarecovery.com


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 8:58 
Offline

Joined: March 19th, 2015, 15:01
Posts: 1387
Location: isreal
it looks to me a partial file


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 16:28 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 3459
Location: CDRLabs @ Chandigarh [ India ]
jermy wrote:
it looks to me a partial file



Jermy ,
The Customer Says He Copied All The Data To This Folder And Then Only Files Till 0052.mts works not the once after this and they have formateed and overwritten the card they used for the shot .I could see some differences in the headers of both .Is there a link or something that describes the Header of The .MTS files

_________________
Regards
Amarbir S Dhillon , Chandigarh Data Recovery Labs [India]
Logical,Semi Physical And Physical Data Recovery
Website-> http://www.chandigarhdatarecovery.com


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 16:51 
Offline
User avatar

Joined: January 29th, 2009, 11:23
Posts: 248
Location: SXSW
Amarbir[CDR-Labs] wrote:
jermy wrote:
it looks to me a partial file



Jermy ,
The Customer Says He Copied All The Data To This Folder And Then Only Files Till 0052.mts works not the once after this and they have formateed and overwritten the card they used for the shot .I could see some differences in the headers of both .Is there a link or something that describes the Header of The .MTS files


Amarbir, looking at the first sector of both files 00048.MTS has the correct header and meta data, 00053.MTS to me seems it was overwritten because no correct header for MTS and no metadata.
The header I search when looking for MTS is as follow

\x00\x00\x00\9C\x47\x40\x00\x10\x00\x00\xB0\x11\x00\x00\xC1\x00

*****************
MTS is a file extension for an AVCHD (Advanced Video Coding High Definition) video clip format for high-definition video.
The MTS file format supports 1080i (a high definition video format with 1080 horizontal scan lines, interlaced) and 720p (720 horizontal scan lines, progressive scan, rather than interlaced) in a relatively small file size.
AVCHD video files can be burned to Blu-ray discs and played in compatible devices. Sony and some Panasonic video cameras have software to open and edit MTS files. Other players convert the files. AVCHD files are based on the MPEG 4 codec.
Programs that can open MTS files include Roxio Popcorn and Creator, Flash CS5, and various Cyberlink players.


Good luck


Attachments:
00053.MTS.jpg
00053.MTS.jpg [ 203.19 KiB | Viewed 6978 times ]
00048.MTS.jpg
00048.MTS.jpg [ 208.78 KiB | Viewed 6978 times ]
Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 18:43 
Offline

Joined: October 16th, 2013, 13:21
Posts: 713
Location: Brazil
Seems like the valid bytes in the 53 file had the value of 22 added to them ? I didn´t try with all of them, neither wrote a script , but it seems that subtracting 22 from the non-FF bytes their values would be similar to what I believe to be the header of the other file


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 19:05 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
rogfanther wrote:
Seems like the valid bytes in the 53 file had the value of 22 added to them ? I didn´t try with all of them, neither wrote a script , but it seems that subtracting 22 from the non-FF bytes their values would be similar to what I believe to be the header of the other file

It looks more like the data were OR-ed with 0x22, for the most part. Perhaps that's a symptom of stuck bits?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 19:42 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
ISTM that, for the most part, the corruption is consistent with a stuck data bit in a memory card operating in 4-bit (nibble) mode.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 21st, 2017, 23:20 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
Why not take the damaged file and OR it with 0x22? Then compare the output with the damaged file. If there is a consistently stuck bit, then the two files should be identical.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 22nd, 2017, 3:25 
Online

Joined: October 3rd, 2005, 0:40
Posts: 4301
Location: Hungary
I vote for stuck bit too. Which is pretty bad, because u can't just clear those bits everywhere for obvious reasons.
I guess the problem might have been caused by bad contact between camera and card.
I can't see a solution for such corruption.

_________________
Adatmentés - Data recovery


Top
 Profile  
 
 Post subject: Re: Currupt .MTS File [ Working And on Working Attached ]
PostPosted: June 22nd, 2017, 16:30 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
One could visually compare the good and bad files by performing bitwise Boolean operations on them.

Here is a trialware hex editor that has some nice features:

http://www.flexhex.com/docs/help/editing/bitwise.phtml

I would AND the files with 0x22. The good file will then consist of 0x00, 0x02, 0x20 and 0x22. The bad file (with the stuck bits) will be filled with 0x22.

Now XOR the files with 0x22. The good file will still consist of 0x00, 0x02, 0x20 and 0x22, but the bad file will now be zero filled.

To confirm that the bad file is full of zeros, compute a 32-bit checksum over its contents.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: pepe and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group