View Full Version : Convert a TS video stream
Albert_G
28th October 2011, 22:12
Hey guys, I have a TS video stream recorded by HD recorder.
What SW should I use to convert the TS into other formats like MPEG or Xvid?
Thanks to everybody for the hints.
concalma
29th October 2011, 00:02
Hey guys, I have a TS video stream recorded by HD recorder.
What SW should I use to convert the TS into other formats like MPEG or Xvid?
Thanks to everybody for the hints.
This converter at goDromo will convert any transport stream into an MP4 file with h264 that will play mostly on anything these days.
http://godromo.com/gmt/profile?profile_id=cc81d21689b61613
If you want any other format as a target I can create a converter for you on goDromo.
Albert_G
29th October 2011, 07:12
Sorry, in order to make a relatively short post, I didin't mentioned some important infos...:
the TS stream will be processed on a PC, to remove intros, ads, keeping HD 1920x1080 format to obtain an AVI or MKV file.
Or, if there if something that works on TS files like VirtualDubMod does on AVI, MPEG, etc. I'm OK too.
I don't need to move from PC to any other kinds of platforms or devices.
Thanks again
concalma
29th October 2011, 07:21
Sorry, in order to make a relatively short post, I didin't mentioned some important infos...:
the TS stream will be processed on a PC, to remove intros, ads, keeping HD 1920x1080 format to obtain an AVI or MKV file.
Or, if there if something that works on TS files like VirtualDubMod does on AVI, MPEG, etc. I'm OK too.
I don't need to move from PC to any other kinds of platforms or devices.
Thanks again
So you want a tool with which you can remove the ads, and the intros, and then convert it to AVI or MKV?
Ghitulescu
29th October 2011, 08:10
Almost any TS from HD sources can be put on Blu-ray with no quality loss (stream copy), eg with multiavchd. Alternatively, many standalones/multimediaplayers play them just fine.
The more you step away from the standards, the fewer the players that could play your files (at all, or with various problems).
Albert_G
29th October 2011, 15:45
concalma: yes
Ghitulescu: I've DLed multiavchd and I'll give it a try. The purpose is not to play it on a standalone, but to reduce size as much as possible for storage.
Thx
hello_hello
30th October 2011, 09:46
avidemux? I don't know exactly what file types it handles as I don't have it installed.
Have you tried opening the ts file using VirtualDubMod via DirectShow? When you use the normal File/Open menu, select DirectShowSource in the "use AVIsynth template" drop down box at the bottom of the window.
MeGUI should also be able to encode the ts files. It has an AVS cutter under the Tools menu which will allow you to select which parts to encode and which to not, and then it'll add the cuts to the script. It has a preview window. It might be a little more tedious to set your cuts that way than it would be using VirtualDubMod, but it's another option, and at least you don't have to worry about cutting on keyframes.
Ghitulescu
30th October 2011, 10:10
Ghitulescu: I've DLed multiavchd and I'll give it a try. The purpose is not to play it on a standalone, but to reduce size as much as possible for storage.
I meant all players, be they software or hardware. No matter what solution you'll find, don't forget to store a copy of the codec and the player (for SW solutions) and/or a working player (for HW ones).
Albert_G
30th October 2011, 16:57
Have you tried opening the ts file using VirtualDubMod via DirectShow? When you use the normal File/Open menu, select DirectShowSource in the "use AVIsynth template" drop down box at the bottom of the window.
This is fantastic !! In this way I can opent the TS file and edit
THKS
blah123
31st October 2011, 18:34
I've TS MPEG4 interlaced recordings from DVB card. How can I convert them into AVI/XviD?
hello_hello
2nd November 2011, 12:55
I've TS MPEG4 interlaced recordings from DVB card. How can I convert them into AVI/XviD?
Have you tried MeGUI?
Either that or you should be able to open and encode them using VirtualDubMod using the DirectShow method I explained above.
blah123
2nd November 2011, 17:59
But, I need ffdshow then and it crashes!
hello_hello
2nd November 2011, 19:24
What crashes? ffdshow or VDM? It could be a problem with the ts file itself. Maybe try running tsmuxer on it to repair it. Are there any aspect ratio changes within the stream, or places where the audio changes from stereo to 5.1? That kind of thing can get a bit ugly. You might have to use tsmuxer to split the ts file so you can encode just the section you're after. There could be many reasons as to why it's crashing.
Using a program such as MeGUI might be the better method as it'll index the file rather than encode it via DirectShow. I believe MKVtoonix will re-mux ts files to MKV these days. Maybe try re-muxing the ts file to MKV and then encoding it.
I don't work with ts files very often as I generally record using the program stream rather than the transport stream, and even less with ts files containing mpeg4 video. Maybe someone with more experience will come along, or if none of the above ideas help, maybe upload a sample somewhere for others to look at.
blah123
4th November 2011, 18:53
What crashes? ffdshow or VDM? It could be a problem with the ts file itself. Maybe try running tsmuxer on it to repair it. Are there any aspect ratio changes within the stream, or places where the audio changes from stereo to 5.1? That kind of thing can get a bit ugly. You might have to use tsmuxer to split the ts file so you can encode just the section you're after. There could be many reasons as to why it's crashing.
Yeah, there is an aspect ratio change. And such a weird macroblocks: click! (http://imgur.com/9cOsF)
So, do you recommend recording in MPG?
Ghitulescu
4th November 2011, 21:00
What kind of DVB card let you record in such a weird frame size?
blah123
4th November 2011, 21:42
This is frame after conversion. The recording is free of errors like this.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.