show App
Treasured's Movie Repair Guide -- AVCHD

AVCHD is a modern high-definition video format developed by Sony and Panasonic.
It is targeted to consumer camcorders recording in DVD disks, SD and SDHC memory cards and hard disk drives.


AVCHD is stored in .mts files. In the typical file structure, they are found in the BDMV folder:

Root directory of recording medium
|     |
|     |--[AVCHD]
|     |     |
|     |     |--[BDMV]
|     |     |     |
|     |     |     |--[STREAM]
|     |     |     |     |
|     |     |     |     |-- XXXX.MTS  ... video clip


Treasured is capable of detecting and previewing AVCHD media in damaged files or disks.
Such files can be repaired through the Movie Repair Service.


AVCHD files use an MPEG Transport Stream structure that contain a H264 video stream and an audio stream that can be AC-3 or PCM.
Unlike other containers, transport streams do not need indexes, instead they use fixed-length blocks to organize the data. Blocks start with 0x47 byte and are easily found. This contributes to make transport streams robust to all types of corruption.

In case of recording failure, for example when the camera battery dies, the file is incomplete but still playable.
In other words, it is very rare that an AVCHD file requires to be repaired.

How to re-wrap a AVCHD file for use in Mac computers?

The .mts file can be used with very few applications. Usually you must go through re-encoding to Intermediate format before you can use them.

Fortunately, there is a method to make them directly available to most video applications (that use QuickTime .mov or .mp4 file formats)

You can re-wrap your AVCHD file in .mp4 containers with ffmpeg command-line utility.

ffmpeg -i sampleAVCHD.mts -vcodec copy -an -f mp4 myfile.mp4

This command creates a valid QuickTime file with a H264 track. Re-wrapping is ultra-fast and lossless, as it does not re-encode the media. Re-wrapped files can be edited natively with SimpleMovieX.

Note that you need a version of ffmpeg at least as recent as below listed

  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.37. 1 / 52.37. 1
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1

Free Preview of corrupt AVCHD videos with:


Treasured icon
Download button
Free Preview of corrupt videos
Version 3.4.1 • Sep '16 • 12 MB • Mac OS X