The distinction between video codecs and containers explains why an MTS-to-MP4 conversion can mean two different jobs. You may only need a new container around compatible video and audio, or you may need to encode one or both streams into a form the destination can play. Start by inspecting the source. Renaming the extension does neither job, and choosing a familiar conversion preset does not prove that audio, motion, or all the required clips survived.
Keep the original AVCHD camera material intact before experimenting. Work on copies and write each test to a new output file. This guide uses FFmpeg for explicit examples and discusses a graphical alternative through HandBrake. The commands are examples for local files you own; adjust them to the actual streams and delivery requirement rather than treating one line as a universal camcorder preset.
Inspect the Recording before Choosing a Conversion
MTS is commonly associated with AVCHD camera recordings, but the extension alone does not establish every stream’s codec or timing. Inspect the actual file with a suitable probe. Note the video codec, dimensions, frame-rate information, field order, audio streams, and duration. Keep those observations with the source filename so that later comparisons refer to the same clip rather than another similarly numbered recording.
For FFmpeg builds that include ffprobe, a compact inspection can show the relevant fields in structured form. Read the output as evidence to interpret, not as a command to convert anything. An unavailable field or an unusual rate is a reason to investigate the recording and its documentation rather than replace the value with whichever number a preset normally uses.
ffprobe -v error -show_entries format=duration:stream=index,codec_type,codec_name,width,height,field_order,r_frame_rate,avg_frame_rate,sample_aspect_ratio,display_aspect_ratio,channels,sample_rate -of json "input.MTS"Preserve the Camera Folder before Taking Files Out of It
A camera’s AVCHD directory can contain metadata and playlist information alongside the video segments. Keep the complete original folder where possible. A long recording can involve several related segments, and a directory full of numbered MTS files does not automatically tell you which files form one continuous take. Preserve the folder first, then use the camera or editor’s supported import workflow when it understands that structure.
Do not concatenate every file alphabetically just because the names look sequential. Separate takes can share similar numbering, and a long take can have segment boundaries that need appropriate handling. Keep the original order and capture context available. This makes it possible to distinguish a conversion failure from an incorrectly assembled source sequence when the output later jumps, repeats, or loses synchronization.
Route a: Change the Container without Re-Encoding
If the actual video and audio are suitable for the destination MP4 container and playback environment, stream copying can avoid video recompression. FFmpeg calls this streamcopy. Its FFmpeg documentation explains stream selection and copying. This route changes how the existing encoded data is packaged; it does not improve damaged pictures, add missing frames, or make every device accept every possible audio stream.
The following example selects the first video stream and any audio streams that exist, then attempts to copy them into a new MP4. The no-overwrite option protects an existing output with the same name. The optional audio mapping permits a source without audio, but that convenience is not a claim that a silent output is correct when your original recording should contain sound.
ffmpeg -n -i "input.MTS" -map 0:v:0 -map "0:a?" -c copy "remuxed.mp4"What a Successful Remux Proves
Completion tells you that the selected streams were written into the output under the program’s accepted conditions. Now test that output in the destination player or editor. Compare duration, audio availability, seeking, and representative visual content. Container acceptance by the conversion program and playback support by your actual destination are related but separate checks.
If the result works in one player but not in the delivery environment, identify which stream or feature the destination rejects. Do not immediately encode the whole video at a lower resolution. You may need only a supported audio codec or a different delivery setting. Keep the verified remux as a useful comparison and preserve the original camera file unchanged.
Free Container Rewrapping with FFmpeg
- Probe a preserved source and confirm the destination accepts its existing video and audio codecs.
- Run the stream-copy example on a working copy, selecting the intended streams and a fresh output filename.
- Check duration, audible content and playback in the destination application. If the codecs are incompatible, changing the container is insufficient.
Route B: Keep the Video and Convert the Audio
Suppose the source video plays correctly in the destination but the audio codec is not supported there. You can investigate an audio-only conversion while copying the video. First inspect which audio track you actually need. A recording with several audio streams can require a different mapping from a clip with one intended soundtrack. Make the selection explicit rather than accepting a silent or unintended track by default.
This example chooses the first video and first available audio stream, copies the video, and encodes the audio to AAC. The bitrate is an illustrative starting value, not a quality guarantee for every recording or delivery specification. If you need additional tracks, map and verify them deliberately rather than assuming the first-track example preserves the complete original audio arrangement.
ffmpeg -n -i "input.MTS" -map 0:v:0 -map "0:a:0?" -c:v copy -c:a aac -b:a 192k "video-copy-aac.mp4"Check Sound Throughout the Clip
Listen near the beginning, around a visible spoken or impact event, and near the end. Compare synchronization with the original through the same events. A waveform or nonzero audio-stream count does not establish that the intended sound is present and aligned. For a multi-channel source, also review how the chosen output and destination handle the channels you need.
For a TS-to-MP4 output without sound symptom, first separate missing-track selection from synchronization drift. If synchronization drifts, investigate source segmentation, timestamps, and the actual conversion path. Do not apply a fixed audio offset as the first answer to a problem that grows over time. A constant delay and progressive drift describe different situations. Keep test outputs separately named so that you can compare the change rather than overwrite the only version that demonstrated the original symptom.
Route C: Deliberately Encode a Compatible Video
Video encoding is appropriate when the destination requires a different codec, image size, or processing step. Choose those requirements before selecting a preset. Encoding introduces a quality and compatibility decision that a container-only change avoids. Keep a short representative test clip or a copied source segment for comparison before processing a long archive at settings you have not evaluated.
For a build with the named encoders, this example creates H.264 video and AAC audio. The quality and speed settings are illustrative. Check encoder availability, destination requirements, and actual visual results. Do not describe the output as lossless simply because it retains the original dimensions. Re-encoding can change image detail even when the frame size and filename look familiar.
ffmpeg -n -i "input.MTS" -map 0:v:0 -map "0:a:0?" -c:v libx264 -crf 20 -preset medium -c:a aac -b:a 192k "encoded.mp4"Use a Difficult Test Scene
Choose a scene with motion, fine texture, and any lighting conditions important to the recording. A still title card is a poor quality test for a fast-moving sports clip. Compare at the intended viewing size and inspect difficult regions. Keep the source and output side by side where practical, using the same playback scale so that one enlarged preview does not create a misleading impression.
Record what you are accepting: a smaller shareable copy, an editor-compatible intermediate, or an archive derivative for a particular playback device. Those goals can justify different settings. None requires deleting the originals immediately. Retaining the source lets you create another derivative later without using an already compressed output as the new starting point.
Interlaced Material Needs a Motion Decision
Some AVCHD recordings are interlaced, while others are progressive. Inspect the actual source and the way it displays motion. Field information and frame-rate labels need interpretation together; a nominal frame rate does not by itself describe how many temporal samples the recording contains. Avoid converting a moving interlaced source to an arbitrary low frame rate merely because a preset name sounds familiar.
If you need deinterlacing, use a documented filter during an intentional video encode. FFmpeg’s FFmpeg filter documentation describes bwdif, including its output mode, field-order interpretation, and which frames it processes. The filter’s assumptions matter. Inaccurate or missing source field flags can require further inspection rather than blind reliance on automatic interpretation.
A Filter Example with Explicit Conditions
The following filter expression is an example for appropriately flagged interlaced material when you intend a progressive output with one output frame per field. It belongs in a video-encoding workflow, not alongside a request to copy the video stream unchanged. Review the actual field order and test motion. A progressive source does not need deinterlacing simply because it came from a camcorder.
bwdif=mode=send_field:parity=auto:deint=interlacedInspect moving diagonals, camera pans, and subjects crossing the frame. Look for combing, judder, or motion that runs unevenly. If the result looks wrong, compare field interpretation and output timing before increasing the bitrate. More bits do not repair an incorrect motion-processing decision. Keep a test that exposes the problem so that you can evaluate the correction against the same content.
A Graphical Route with HandBrake
HandBrake is useful when you prefer a graphical encoding workflow, but it should not be mistaken for a simple extension renamer. Review the selected source, title or range, video settings, audio tracks, and destination. Use a new output name. A default preset can be a starting configuration, but you still need to check whether it matches the source’s motion and your destination’s actual requirements.
Pay particular attention to the HandBrake frame-rate controls. Same as Source, constant frame rate, and a peak limit have different meanings. A preset with a numerical rate can limit a higher-rate source. Choose deliberately and test the result. A familiar MP4 output and a completed queue do not establish that the original motion cadence survived unchanged.
Compare the Selected Audio and Processing Filters
Inspect the selected audio track and any mixdown rather than assuming the preset preserves everything. Then review deinterlacing or related picture filters only where they apply to the source. Avoid enabling every enhancement as a general quality setting. Each processing choice should have a reason tied to an observable source condition or the delivery requirement.
Use the preview and a short test encode to evaluate those choices, then inspect the resulting file in the real destination. If you need a repeatable archive workflow, record the actual settings and source characteristics. A preset name alone can be insufficient evidence after software versions or your own saved presets change.
Free Transcoding with HandBrake
- Open a preserved source copy and choose a preset that matches the delivery device rather than the source extension alone.
- Check the selected audio track, dimensions and frame-rate or deinterlacing decisions before starting a new output.
- Compare motion, sound and duration with the original. Keep the original camera package because a transcoded MP4 cannot replace every source relationship.
Interpret a Probe Report before Selecting the Output
Consider a deliberately illustrative source with H.264 video at 1440 by 1080, a sample aspect ratio of 4:3, and two audio streams. Those dimensions alone do not describe a square-pixel 4:3 picture. Multiplying the stored width by the sample aspect ratio gives a displayed width of 1920 against a height of 1080. The intended display is therefore 16:9. Changing the output to square pixels without handling this relationship can make people appear too narrow.
Use the ffprobe field-selection documentation to select the fields you need, then compare the actual result for your recording. The following excerpt is a constructed teaching example, not a measured camera file. Stream indexes identify positions in this hypothetical input. Your file can use different indexes, rates, codecs, and metadata. The purpose is to translate each field into a concrete processing decision rather than copy an assumed camera profile.
{
"streams": [
{"index": 0, "codec_type": "video", "codec_name": "h264",
"width": 1440, "height": 1080,
"sample_aspect_ratio": "4:3", "display_aspect_ratio": "16:9"},
{"index": 1, "codec_type": "audio", "codec_name": "ac3", "channels": 2},
{"index": 2, "codec_type": "audio", "codec_name": "ac3", "channels": 2}
]
}
The codec field answers whether video recompression may be necessary for the destination. The aspect fields answer how the picture should display. The audio entries answer which sound sources are available, not which one you want. A container change cannot choose the intended language, replace a silent recording, or infer whether the second stream contains commentary. Listen to the source tracks before making a permanent selection.
Choose an Input Stream and Understand Its Output Number
In this example, the absolute input stream 0:2 is the second audio stream. The relative selector 0:a:1 also refers to that second audio stream, since relative audio numbering begins at zero. After selecting only that stream, it can become the first audio stream in the output. Input position and output position are different namespaces, so do not infer that the output lost a track merely because its stream number changed.
The command below copies the first video and converts only the example’s selected absolute audio stream to AAC. It is a selection example, not a recommendation to choose stream two in every recording. If the desired sound is elsewhere, change the mapping to match your inspection. Unlike an optional audio selector, a required absolute stream will fail when that stream is absent; that failure can be useful when silence would be an unacceptable result.
ffmpeg -n -i "input.MTS" -map 0:v:0 -map 0:2 -c:v copy -c:a aac -b:a 192k "selected-audio.mp4"The earlier examples map video and audio explicitly, so they do not promise to preserve subtitles, camera-specific metadata, playlists, or every other input stream. Decide whether those objects matter before choosing the MP4 as your archive. A successful derivative for sharing can be useful while the original AVCHD directory remains necessary for later editing or complete camera-package preservation.
Separate a Fixed Audio Delay from Progressive Drift
Compare the same visible and audible events at several positions. If a clap is late by roughly the same amount near the beginning and end, investigate a constant alignment issue. If the gap grows from barely noticeable to several seconds, investigate timing, segment assembly, or rate interpretation. One global offset cannot correct a difference that increases throughout the recording; it would only make one position line up.
A recording split into camera segments creates another diagnostic boundary. Test the segment immediately before and immediately after the first visible discontinuity. If both play correctly alone but the combined result repeats or drops an event, inspect the assembly order and import method. If one segment is already incomplete on its own, joining methods cannot invent its missing frames. This comparison narrows the problem before another full encode consumes hours.
Keep frame rate and field rate distinct for interlaced material. Two fields can represent different moments within one frame. A deinterlacing choice that emits one output frame per field can preserve a different motion cadence from one that emits one per original frame. Check the actual source and filter mode rather than treating a rate label as a command to discard temporal samples. Retain a moving test scene so that the consequence is visible.
Compare Outputs Against a Named Delivery Requirement
For a player that accepts the existing video but rejects the sound codec, compare a remux with an audio-converted copy first. An editor requiring different video encoding needs a test of the intended codec and import behavior. For a web upload, inspect the service’s requirements and the processed result. These decisions can produce different valid MP4 files from the same MTS source without one being universally best.
A useful comparison includes the first and last required scenes, intended audio track, aspect ratio, motion behavior, and navigation in the actual destination. Note any deliberate omission such as an unused commentary track. Keep the original camera package and the chosen settings until the delivery has passed that comparison. The acceptance claim can then say exactly what survived instead of relying on the familiar MP4 extension.
Handle a Continuous Recording with Several Segments
Suppose a continuous interview spans multiple camera segments. Preserve the original camera folder and use a workflow that understands the sequence. Test the join around each boundary. Listen to the words immediately before and after the boundary, inspect the image continuity, and compare duration with the intended take. A single combined output can still hide a repeated or missing section.
Do not assume that byte-joining files or selecting every similarly numbered item reproduces the camera’s intended recording. The appropriate import or joining route depends on the source structure. Keep separate takes distinct. If the original import software recognizes a continuous clip while a generic file picker shows segments, use that difference as a clue about source organization rather than proof that one file list is wrong.
Keep the Original Folder Even after a Successful Join
An MP4 derivative may omit camera-specific metadata or an editing relationship that another workflow can still use. Keep the source structure until you have established what the archive needs. If you retain only the finished MP4, make that a deliberate archive decision with its limitations understood, not an accidental consequence of deleting everything after a first successful playback.
Label the derivative with its source relationship and conversion settings. For example, identify which take it represents and whether the video was copied or encoded. That makes a later audio or frame-rate question easier to investigate. It also prevents an already compressed derivative from being mistaken for the untouched camera original during another round of editing.
Recover a Deleted MTS Source before Trying to Convert It
PandaOffice Drecov is a file-recovery tool, not an MTS-to-MP4 converter. It becomes relevant when the source recording was deleted from a supported Windows-readable card or disk before conversion. An existing MTS file with unsupported audio still needs the conversion analysis above. Scanning it again does not choose a codec, repair missing stream bytes, or replace a decoder.
Select the Recording Source Rather Than the Output Folder
Stop recording to the affected card and avoid writing converted files there. On a Windows computer, identify the actual source by its capacity and former camera folder, then select it in Drecov. If only an MP4 output was deleted from a separate disk, select that output disk instead and keep the two recovery goals distinct. Install the program away from the source. This is a video recovery task before the later codec conversion.

Compare Recovered Recordings with the Camera Inventory
Scan for the missing MTS clips and any other required AVCHD package files. Filter results by the relevant recording period, but do not assume that matching names establish sequence or completeness. Use supported previews where available. Some recordings may be fragmented or lack usable package relationships; a visible entry is not a promise that a spanned recording will play continuously.

Recover First, Then Probe and Convert a Working Copy
Save candidates to another healthy drive while retaining their source identities. Run the earlier ffprobe checks on those copies and inspect duration, streams, motion and segment boundaries before conversion. If the recovered recording is incomplete, document the gap rather than presenting a generated MP4 as a complete original. Recovery and conversion have separate acceptance tests. For a separately readable camera source, confirm that this memory-card recovery workflow applies before scanning.

If the Output Is Short, Silent, or Visually Broken
Compare the source’s actual readable duration and stream list with the output. A damaged source may stop decoding early. A selected range can also explain a short output without any file damage. An absent or wrong audio mapping can explain silence. Keep the exact program messages and investigate the specific difference before trying an unrelated converter with another broad default profile.
For damaged source material, work on copies and preserve the original camera data. Conversion is not the same as recovering deleted or truncated bytes. A tool may produce a playable partial output without reconstructing the missing portion. Describe that outcome precisely and keep the partial result separate from the original evidence.
Match Verification to the Delivery Goal
For a batch of camera files, preserve the relationship between each source and output. Different camera folders can reuse a filename such as 00000.MTS. If every result goes into one directory under the same derived name, the workflow can collide even though the source recordings are different. The examples use a no-overwrite option for that reason, but an overwrite refusal still needs your attention. It does not create a complete naming or archive plan automatically.
Choose output names or folders that retain the take and source-folder identity. Then check the batch record for failed, skipped, and completed items separately. A directory containing many MP4 files does not prove that every intended source has a corresponding usable output. Match the inventory, inspect representative content, and resolve exceptions before removing anything from the original camera package.








