# Automatically convert .ts to mp4 option

**URL:** <https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516>\
**Category:** Live TV & DVR\
**Tags:** server-linux\
**Created:** [October 27, 2021, 7:18pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516 "2021-10-27T19:18:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jp2558](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jp2558](https://forums.plex.tv/u/jp2558)\
**Post date:** [October 27, 2021, 7:18pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/1 "2021-10-27T19:18:16Z")

</div>

Next project - please provide a somewhat simple option to convert .ts files to mp4, so that we can download load tv shows which have been converted and occupy less space, thereby creating smaller files to download. I tried several post processing scripts, but have seen them often fail after a Plex upgrade. I finally gave up.

Server Version#: N/A  
Player Version#: N/A  
Tuner Make/Model: Hauppauge 4 tunee  
Guide/Lineup name:  
Using XMLTV?: No  
Channel number/Name:

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [October 27, 2021, 7:42pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/2 "2021-10-27T19:42:10Z")

</div>

IIRC and based on the support article, a number of HDHomeRun models will already allow that (either through the tuner itself or as an experimental feature inside Plex)

see `CONVERT VIDEO WHILE RECORDING` in [Live TV & DVR (Set Up and Manage) | Plex Support](https://support.plex.tv/articles/225877347-live-tv-dvr/)

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [October 27, 2021, 8:10pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/3 "2021-10-27T20:10:13Z")

</div>

I think only the **EXTEND** model of HDHomeRun could perform transcoding on the device, but I also think that was configured on the device itself. I don’t _think_ any current models do so.

I believe `CONVERT VIDEO WHILE RECORDING` setting happens on the Plex server, and should be available with any tuner, assuming your Plex server can handle the transcoding.

I think.

---

<div class="post-metadata">

**Author:** ![jp2558](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jp2558](https://forums.plex.tv/u/jp2558)\
**Post date:** [October 28, 2021, 12:50pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/4 "2021-10-28T12:50:39Z")

</div>

Thanks but I have the Haupaugge 4 tuner card and no such option exists.

---

<div class="post-metadata">

**Author:** ![jp2558](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jp2558](https://forums.plex.tv/u/jp2558)\
**Post date:** [October 28, 2021, 12:52pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/5 "2021-10-28T12:52:23Z")

</div>

I have both tuners set to `CONVERT VIDEO WHILE RECORDING` but it didn’t make any difference. The file is still a .TS file.

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [October 28, 2021, 3:17pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/6 "2021-10-28T15:17:45Z")

</div>

I’m not an expert on Plex’s tuner integration.

.TS files can contain different video codec streams. If you get info on the media, is it MPEG2 or H.264/AVC?

---

<div class="post-metadata">

**Author:** ![DerekLee1](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@DerekLee1](https://forums.plex.tv/u/DerekLee1)\
**Post date:** [October 29, 2021, 8:57pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/7 "2021-10-29T20:57:40Z")

</div>

It’s MPEG-2 at a 14.5 MB bitrate. That’s 3 GB for a 30 minute show. 🙂

---

<div class="post-metadata">

**Author:** ![jp2558](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jp2558](https://forums.plex.tv/u/jp2558)\
**Post date:** [October 29, 2021, 9:42pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/8 "2021-10-29T21:42:30Z")

</div>

That sounds about right. One episode of Jeopardy is just under 3gb, and that’s with the commercials being cut.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 27, 2022, 9:43pm UTC](https://forums.plex.tv/t/automatically-convert-ts-to-mp4-option/753516/9 "2022-01-27T21:43:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
