FFmpeg is an excellent tool for converting, streaming, and editing digital video and audio files. If you are new to FFmpeg and want to use it to convert TS to MP4 but don't know how, this post will clear up your confusion. In this post, we will show you the detailed steps on how to convert TS to MP4 using FFmpeg. You can also learn about some other efficient and free ways to convert TS to MP4.
Carina Carina | Updated on May 24, 2024

Step-by-step Tutorial on TS to MP4 Conversion with FFmpeg

FFmpeg is available on different platforms, like Windows, Mac, and Linux. The following shows how to use FFmpeg to convert TS to MP4 on Windows.

Preparation: If you haven’t download FFmpeg before, you can get the latest FFmpeg for Windows, Linux, or Mac with this site: https://ffmpeg.org/download.html

Hover over the Windows logo and select “Windows builds from gyan.dev”. Then you can find the latest version of FFmpeg and click to download the full build.

Download FFmpeg

After downloading the .zip file, right-click it and choose “Extract Here”.

Rename the extracted folder to "FFmpegTool" and save the whole folder in C drive.

In the Windows search bar, input “system variables”. In the pop-up System Properties window, switch to the “Advanced” tab and hit “Environment Variables”.

Move down to find the “Path” tab in the “System variables” section. Select it and hit “Edit...”.

Then click “New” to add FFmpeg to it. Hit OK to save the settings.

For example, C:\ffmpeg\bin.

FFmpeg TS to MP4

Now, let’s go throught the TS to MP4 FFmpeg conversion.

Step 1. Press Windows Key + R on your keyboard and enter “CMD” in the search box. Hit “OK” to bring up the Command Prompt.

Step 2. Now, type in “cd” and “cd FFmpegTool” one by one to enable you to access the FFmpegTool folder.

Step 3. On the Command Prompt window, enter “cd bin” and “ffmpeg.exe” one by one.

Step 4. Now, enter the command below to convert TS to MP4 using FFmpeg:

ffmpeg -i input.ts -c:v libx264 -c:a aac output.mp4

(This command will re-encode the audio and video of your TS file to H.264/AAC MP4 format. If you want to convert TS to MP4 without re-encoding, you can also apply "ffmpeg -i input.ts -map 0 -c copy output.mp4". But note that to make sure the video and audio codecs in your TS file are compatible with MP4 format.)

Then, press Enter key to activate the conversion process. The converted MP4 video will show in the same directory as the original one.

Convert TS to MP4 FFmpeg

If you have multiple TS files in a folder and want to convert them to MP4 in batches, FFmpeg can also do you a favor. The following are the steps:

Step 1. Open a command prompt and navigate to the folder where your TS files are located.

Step 2. Input the command line: for %f in (*.ts) do ffmpeg -i "%f" -c:v libx264 -c:a aac "%~nf_new.mp4".

Then your TS files in the folder will be converted to MP4 format with .H264 and AAC codecs.

Step 4. Press the Enter key, and you will get the desired MP4 files.

Top FFmpeg Video Converter Alternative

WonderFox HD Video Converter Factory Pro offers a more efficient way to help you convert TS files to MP4 format with high output quality in batches. It also enables users to edit and adjust video parameters. The simple interface and straightforward workflow make it easy for everyone. Download and install this handy converter, and you’ll never be disappointed.

An Easier Way to Batch Convert TS to MP4 Without Losing Quality

Feel confused with the command language and want to try an easier tool to convert your TS video files? Try WonderFox HD Video Converter Factory Pro. With it, you can convert TS to MP4 in batches with just a few simple clicks. It will maintain the high quality of your videos with its Picture Enhancement technology. Not just MP4, you can also use it to convert TS to MOV and other 500+ formats without effort.

It also offers many video editing and customization features to help you polish your videos. You can even use it to download online videos, capture screen activities, and do more.

Free downloadFree download this best FFmpeg alternative to make TS to MP4 conversion more easily.

Free Download

Compatible with Windows

100% Clean & Safe

Free Download

Step 1. Add TS Files to HD Video Converter

Launch HD Video Converter Factory Pro and enter the “Converter” module. Press the “+ Add Files” or “Add Video Folder” button to load your TS files. You can also drag and drop the source files to the workspace.
(HD Video Converter Factory Pro supports batch conversion, so you can load multiple TS files and start conversion simultaneously.)

Import TS Video Files

Step 2. Select MP4 as the Output Format

Hit the format image on the right side of the interface to open the output format library. Head to the “Video” tab and select “MP4”. You can surely choose other formats if needed.
(If you want to save storage space, you can choose “H265 for MP4” to convert TS to MP4 with quality preserved and a smaller size.)

Select MP4 as Output Format

Optional: Modify the Output Settings

In the “Parameter settings” window, you can modify the video output settings, including the codec (video and audio), resolution, bitrate, frame rate, aspect ratio, and more. You can also just leave it by default. The Smart-Fit offers the optimal output settings for you.

Modify Output Settings

Step 3. Start the TS to MP4 Conversion

Click the inverted triangle button at the bottom of the program to specify an output path for the exported files. Finally, press “Run” to start the conversion.

Start TS to MP4 Conversion

Some Handy Free TS to MP4 Converters

Besides HD Video Converter Factory Pro, there are many free video converters that can help you convert TS to MP4 without issue. So this post also shares some offline and online programs that can perform the TS to MP4 conversion for free.

This tool is the free version of HD Video Converter Factory Pro, which also supports all file format conversions. Although free, it has no limit on the file size and length. It also can perform the conversion without losing quality. You can also use it to edit and compress videos, modify video resolution, etc. But Free HD Video Converter Factory does not support batch conversion or hardware acceleration, so it is not advisable to use it for large and multiple file conversions.

Free HD Video Converter Factory

You can convert TS to MP4 with the Free HD Video Converter Factory as follows:

1. Open Free HD Video Converter Factory, then open it. Enter the “Converter” window and click the “+ Add Files” button to import TS videos.

2. Head to the right side of the program and click the format image. Select “MP4” under the “Video” tab in the output format library. If needed, you can also customize the video settings in the “Parameter settings” window.

3. Specify an output folder and click “Run” to start conversion.

Program download link: https://www.videoconverterfactory.com/download/hd-video-converter.exe https://www.videoconverterfactory.com/download/hd-video-converter.exe

2. VLC Media Player

VLC is a powerful media player that also enables users to convert video media files. Other features like editing, recording, etc. are also provided. If you have VLC on your desktop, you can definitely use it to start conversions without downloading other conversion tools. However, as VLC is not a professional video converter, the conversion speed is slow compared to professional video converters like HD Video Converter Factory Pro. Moreover, it may occur some issues with the conversion, such as converted files with no audio, VLC audio not syncing, etc.

VLC Media Player

Steps on VLC TS to MP4 conversion:

1. Open VLC and click on “Media” > “Convert/Save”.

2. Press the “+ Add” button to import the TS video, and then click “Convert/Save” at the bottom of the interface.

3. Under the Profile section, choose (Video – H.264 + MP3) MP4 as the output format.

4. Hit “Browse” to specify a destination folder. Finally, press “Start” to initiate the file conversion.

Get VLC Media Player here: https://www.videolan.org/vlc/

3. HandBrake

As an open-source video transcoder, HandBrake allows users to convert almost all video files, including DVD and Blu-ray video, to MP4, MKV, and WebM with popular video and audio encoders. So you can also use it to change video in TS to MP4 or other formats. HandBrake also integrated with some simple video editing tools that enables you to trim and crop videos.

HandBrake TS to MP4

Check HandBrake convert TS to MP4 tutorial below:

1. Run HandBrake and click “Folder” or “File” to import a folder with multiple TS files or a single TS video file.

2. Choose MP4 under the “Summary” > “Format” tab. (You can then go to the “Video” and “Audio” tabs to customize parameters like encoder, framerate, bitrate, etc.)

3. Click “Browse” to select a file location for the video, then press the green “Start Encode” button to initiate the conversion.

Get HandBrake with this site: https://handbrake.fr/

4. Convertio

Convertio is an online tool that allows users to convert TS to MP4 without downloading any software. Not only convert video files, this online video converter also enables you to customize the video and audio parameters and cut video files. But like most online converter tools, Convertio limits the input file size to 100MB.


Convert TS to MP4 with Convertio as follows:

1. Open your web browser and access the online tool with this link: https://convertio.co/ts-mp4/.

2. Click on “Choose Files” to add the TS video. (Convertio also enables you to import videos from your Dropbox or Google Drive account.)

3. It will automatically select the output format as MP4, and you just need to click “Convert”.

4. Finally, download the file to your local drive.

5. CloudConvert

Another online video converter you can give a try is CloudConvert. It is a popular online tool that can help users convert various types of files like video, audio, image, document, etc., to a wide array of formats. This online converter offers a larger size limit for you to import videos but restricts free conversions to 25 per day.


Simple guide on CloudConvert TS to MP4 conversion:

1. Enter the CloudConvert video conversion page with this link: https://cloudconvert.com/ts-to-mp4.

2. Click “Select File” to import your TS videos. This online tool also supports adding files from Dropbox, Google Drive, etc.

3. Press “Convert” to start the conversion. (You can click the wrench icon to modify the video.)

4. Download the converted files to your local drive.

Bottom Line

The above is all about how to make FFmpeg convert TS to MP4. If you find FFmpeg too hard to get started, you can also try other FFmpeg alternatives. The programs mentioned in this post are all easy to use, so just feel free to choose one and start converting.
BTW, HD Video Converter Factory Pro is highly recommended for large and multiple file conversions. Other features like editing, downloading, recording, etc. are also worth a shot!

Thanks for reading till the end. Have a nice day!

Free Download

Compatible with Windows

100% Clean & Safe

Free Download

FAQs about FFmpeg Convert TS to MP4

Q1. Can FFmpeg convert to MP4?

Yes. FFmpeg is a powerful open-source tool that can convert various digital files to MP4 with command lines.

Q2. Can I just rename TS to MP4?

This depends on the video and audio codecs inside your TS files. If the video and audio codecs in your TS files can all be supported by MP4, then you can try to rename the file extension. But sometimes you may get a failure.

Q3. Can I convert multiple .ts files to MP4?

Yes. FFmpeg supports batch conversion and you can find the detailed steps in this post. Moreover, WonderFox HD Video Converter Factory Pro can also help you easily convert TS files to MP4 in bacthes

Digitize DVD Movies for Smooth Playback Anytime and Anywhere
WonderFox DVD Ripper Pro

WonderFox DVD Ripper Pro

WonderFox DVD Ripper Pro is a professional DVD ripping program that can easily remove any DVD encryptions and rip DVD to all popular formats including MP4, MKV, MP3, WAV, H264, H265, Android, iPhone, etc. without a hitch. It also lets you edit and compress DVD videos at high efficiency. Download it to enjoy the fast and trouble-free DVD ripping experience.

* Please DO NOT use it to rip any copy-protected DVDs for commercial use.

Specialized in multimedia software solutions.
Since 2009

Privacy Policy | Copyright © 2009-2024 WonderFox Soft, Inc.All Rights Reserved

Back to Top