Log in

View Full Version : MPEG2TS analysing/splitting tool


timecop
8th September 2003, 07:59
Is there any (preferably free, I've seen the "commercial alternatives") piece of software that allows analysis of mpeg2ts streams?

In particular, something that would split out primary/secondary mpeg video streams, audio streams, subtitle streams/etc.

Any information on the subtitle stream format used by hdtv broadcasts?

thanks

reepa
13th September 2003, 13:30
Check out these VOB tools:
http://www.digital-digest.com/dvd/downloads/encoding_vobutils.html

timecop
14th September 2003, 04:09
Originally posted by reepa
Check out these VOB tools:
http://www.digital-digest.com/dvd/downloads/encoding_vobutils.html

Completely unrelated.
Mpeg2 Transport Stream is not a vob file.
Thanks for trying though.

Herske
14th September 2003, 09:12
Donald Graft posted in this forum a link to "General Parser" - do a search.

For splitting: try ds.jar, using "demux" for output and selecting the right cutpoints.

/herske

timecop
14th September 2003, 15:09
ok, I don't think I am making myself clear.
I'm looking for free (or opensource, or whatever) alternatives to software such as:

http://www.lilapple.com/products/mp2tsa.htm
or
http://www.dtvinteractive.com/ts_probe.html (er yeah, this is hardware, I mean something similar in software)

etc.

Well, I don't "need" a GUI.
Command-line tool that would display PID's in the stream, and allow me to demux all/selected/whatever would be fine.

I'm reading the specifications for transport stream, but surely someone else has implemented such parsers before.

Herske
14th September 2003, 15:31
Why do you ask questions if you are going to ignore the answers anyway?

[...]Command-line tool that would display PID's in the stream, and allow me to demux all/selected/whatever would be fine.


That's exactly what "General Parser" does.

unixfs
15th September 2003, 13:53
Originally posted by timecop

Well, I don't "need" a GUI.
Command-line tool that would display PID's in the stream, and allow me to demux all/selected/whatever would be fine.

I'm reading the specifications for transport stream, but surely someone else has implemented such parsers before. [/B]

In this case this package http://www.metzlerbros.org/dvb/libdvb-0.5.0.tar.gz libdvb
contains a set of tools to do exactly those things:
- tspids lists the pids
- ts_es_demux and ts2es can extract the payloads of es streams in TS
- ts2ps/ts2pes can reformat the stream as PS
and more ...

Here:
http://freshmeat.net/redir/libdvbpsi/28376/url_homepage/libdvbpsi
there are two tools to parse PAT and PMT.

Both compile and run well under linux; I dont' know if they work
under mingw or cygwin.

I hope these tools help you.

timecop
18th September 2003, 12:25
Originally posted by unixfs
In this case this package http://www.metzlerbros.org/dvb/libdvb-0.5.0.tar.gz libdvb
contains a set of tools to do exactly those things:
- tspids lists the pids
- ts_es_demux and ts2es can extract the payloads of es streams in TS
- ts2ps/ts2pes can reformat the stream as PS

above requires some crap from include/linux/dvb/ that I've never seen anywhere (2.5 kernels maybe?) but it seems like the stuff I want is probably not related. so I'll hack around removing unnecessary shit and see if I can get it working otherwise.

thanks for the link.
also that "general parser" I finaly found the link for is quite slow,
but does the job for now.

unixfs
18th September 2003, 12:32
Originally posted by timecop
[B]above requires some crap from include/linux/dvb/ that I've never seen anywhere (2.5 kernels maybe?) but it seems like the stuff I want is probably not related. so I'll hack around removing unnecessary shit and see if I can get it working otherwise.



the needed package is the drivers-set: linux-dvb-1.0.0 from
www.linuxtv.org

fingernailX
23rd September 2003, 21:33
I have used moonlight's Xmuxer http://www.moonlight.co.il/download/index.shtml?dl=xmuxer which is shareware to demux .m2t files to elementary streams. Have a new JVC JY-HD10 on order and I am hoping to capture with the hd capture utility, demux with Xmuxer and then use Vegas Video 4.d 's 720p mpeg mode to edit the files before downcoding to DVD or using WMV9 for HD content playback (in an educational environment).

timecop
7th October 2003, 03:09
I hate to be providing answers for myself in all the HDTV-related threads I post, however this tool is absolutely perfect for cutting my .ts streams, even with preview!

--> http://www.mycgiserver.com/~itsadirect/Murdoc_Cut.html

There's also a MurdocMP on the same site which uses WinDVD or PowerDVD decoder to playback HD contents.

FreQi
8th October 2003, 00:58
I find HDTVtoMPEG2 to be very handy for preview. Get's the PID's needed for DVD2AVI and you can even trim commercials/etc without transcoding.

http://www.midwinter.com/~bcooley/

timecop
8th October 2003, 09:00
Originally posted by FreQi
I find HDTVtoMPEG2 to be very handy for preview. Get's the PID's needed for DVD2AVI and you can even trim commercials/etc without transcoding.

http://www.midwinter.com/~bcooley/

That was one of the tools I downloaded a while back to test.
Needless to say not only it didnt work, it had no preview or ability to cut / edit the stream in any way.

I'll stick with murdoc cutter for now until something considerably better comes out.

jrj
15th October 2003, 19:14
The Murdoc Cutter link only seems to lead to a "file not found" page, and I can't seem to google it either. Is there another location?

timecop
16th October 2003, 02:48
Originally posted by jrj
The Murdoc Cutter link only seems to lead to a "file not found" page, and I can't seem to google it either. Is there another location?

It works for me?
Direct download link ->
(odd, "latest version" file doesnt exist)
http://www.mycgiserver.com/%7Emurdoc3rd/dl.php?dl=53
http://www.mycgiserver.com/~itsadirect/Murdoc_Cut.html is the page.

jrj
16th October 2003, 04:42
Still no luck. Tried two different machines/locations. Just get "file not found".

By the way, back to your original question, I believe that the Elecard ][Muxer allows identification/separation of different PIDs in a .ts stream. Demuxes but does not enable cutting.

timecop
16th October 2003, 05:26
OK i think the problem with murdoc site is it doesn't allow off-site linking.
Going to hte main page, and then clicking download links (just click, not save-as), will let you download the files.

Elecard, yeah, I guess.
I'll look into that.