converting .ts files to .mp4

Former user wrote on 1/25/2018, 5:49 AM

Hello,

I used to often use .ts files. Vegas can't read them. AT first I would transcode them, but later I discovered it was possible to alter the container without re-encoding avoiding potentially reducing quality with a re-encode. Could someone jog my memory on what freeware software does this. I have forgotten & reinstalled windows since last using a .ts file with vegas

 

thanks

Comments

Marco. wrote on 1/25/2018, 7:11 AM

FFmpeg does.

Former user wrote on 1/25/2018, 7:16 AM

These files have been captured using vlc from various media streaming sites. they are h264 files in a transport stream container (if that is correct term). Some people have had success with just altering .ts to .mp4 but this hasn't worked for me. I used freeware software that modified the .ts container to mp4 container without re-encoding. I just don't remember what it was called.

Google search is just showing me an assortment of scamware/re-encoders

 

Former user wrote on 1/25/2018, 7:19 AM

FFmpeg does.

Can you recommend a GUI that does this simply?

Marco. wrote on 1/25/2018, 7:34 AM

Something like tsMuxr or myFFmpeg. But with an appropriate batch file I find FFmpeg itself is the most straight and simple.

Former user wrote on 1/25/2018, 10:54 AM

I used ffmpeg also, but mainly to remap my sat .ts files to .ts. Reason is there are sometimes multiple audio channels and even the video cannot be guaranteed to be at 0 location. I then finally re-encode (it just suits me to do this) the 2nd remapped .ts file to .mp4 using ffmpeg. But your .ts files may only have 1 video and 1 audio, so no need. Maybe Marco could supply his ffmpeg batch file code?

 

Marco. wrote on 1/25/2018, 11:18 AM

I will, later. Currently no access to my notebook. I use a file where you would simply drag & drop the source file onto the batch file and then wait until the processes are done.

Musicvid wrote on 1/25/2018, 11:23 AM

 

Can you recommend a GUI that does this simply?

Videoredo has some features that are sometimes needed for .ts reconstruction, not all of which are in ffmpeg, AFAIK.

GOP-restitching, ref frame reconstruction, re-indexing, audio resync are just a few of the operations that may be needed, especially if you are capturing video OTA or over wifi.

The magic button in Videoredo is called "Quickstream Fix."

This is not an advertisement, and the software has a free trial.

Marco. wrote on 1/25/2018, 2:24 PM

Sorry, the script I use for simple rewrapping does not seem to work with certain TS input/MP4 output files and I can't modify that one at the moment.

Musicvid wrote on 1/25/2018, 3:51 PM

Some TS files contain too many stream errors to wrap successfully to mp4-ps and open in an NLE.

Decoding for editing is entirely different than for playback, in that the editor doesn't have the luxury of futzing through a multitude of stream errors. A single compromised ref frame can hose the whole operation, until the GOP structure is fixed. Some streams cannot be fixed even by VRD.