Log in

View Full Version : .ts white papers


jcmp99
19th March 2004, 04:54
Just wondering if there was any reading available for mpeg transport streams? What's best used to make them? What exactly they have over normal mpegs?How to creat them? Any help would be great

Thanx

timecop
19th March 2004, 13:48
You want to read the ISO/IEC 13818-1 standard describing MPEG2 Transport Streams.

There are no free quality tools to create full featured compliant transport streams. Anything < $1000 in price will either only create a transport stream with only video and audio, have no control over stream padding, will not be able to manually edit PAT/PMT/etc, and will not allow to merge in generic data/subtitle/etc streams.

They don't have anything "over normal mpegs". Transport stream encapsulates MPEG2 program stream, AC3/AAC/MP2/whatever audio, subtitle, data broadcasting, etc etc.

The general rule is unless you need to create them, you don't need to know how.

Why are you interested in this?

gabest
20th March 2004, 00:18
Well, I don't think it could contain subtitles too. Apparently it does not use any ids for private stream 1 as it can be found on dvds (0x80-0x88 for ac3, 0x20-0x3f for dvd subpics, etc.), so I can't imagine how a subtitle stream could be identified this way without those ids. Ac3/dts is fine because they have at least a frame header, but there are stream types which don't, especially subtitles.

jcmp99
20th March 2004, 01:54
I have a client wanting a quote to put vod [Video on demand]in some of his hotels.He has a supplier of adult content.That needs to be re-encoded but I cant seem to get my sd-1000 to spit out any of the streams that work on the video server.
btw. Found this useful hxxp://xxx.glue.umd.edu/~karir/mpeg2/index.htm

timecop
20th March 2004, 03:55
gabest, of course mpeg2ts can contain subtitles. It can contain any arbitrary kind of data, as long as it has its own PID and properly packed in the stream.

They are just included in whatever broadcaster specific format, as another PID in the stream.

At this point however you are exiting MPEG2(ES) and just dealing with raw data which is specific to broadcasting region/etc.

For example I can say for certain subs in japanese broadcasting are sent on a separate PID in the stream.

In U.S. they might be transmitted as closedcaptions or whatnot, using the same method they are put on DVDs.

ac-chan123
20th March 2004, 14:28
For standrad Text see http://www.atsc.org/standards.html and http://le-hacker.org/hacks/mpeg-drafts/is138181.pdf (from 1994).

AC-Chan(Robert Vincenz)

GIR
27th March 2004, 10:32
MPEG-2 Transport Stream Multiplexer (http://www.lilapple.com/products/mp2tsme.htm)
There's a few software TS muxers avaible on this site, not sure of the price and I have not tried the demos, which are limited to 10 secs.

Transport Stream Multiplexers (http://www.logici.com/products/tsm.htm) this site has a few hardware muxers if you happen to own a TV station or two :D

unixfs
28th March 2004, 10:21
VLS and VLC (gpl software available from www.videolan.net) can both produce MPEG-TS streams, and they are very used too, but I don't know if they have some (serious-)limitation.
VLC can also encapsulate mpeg4 in TS.

timecop
28th March 2004, 16:01
someone asked you in another forum and I'll repeat it here,

when you pimp VLC and such, please provide command line parameters or instructions to find these features in the GUI.

Because last time I tried, I couldn't.

unixfs
28th March 2004, 16:08
sorry but I didn't know that someone asked for an example.

Here it is:

vlc orig.mpg --sout '#std{mux=ts,access=file,url=dest.ts}'

saves orig.mpg as dest.ts
Full --sout description is here:
http://www.videolan.net/doc/vlc-user-guide/en/ch04s04.html



For VLS:
vls -d file:dest.ts orig.mpg (orig.mpg must be mpeg1 or mpeg2)

unixfs
28th March 2004, 16:11
When you use VLC's Gui, in the open dialog tick the voice "stream output"
and there choose the desired muxer/codec/saving method.