[Live-devel] How can I stream vob files but make the output is transport stream

Ross Finlayson finlayson at live555.com
Tue Oct 11 02:09:37 PDT 2005


At 06:24 AM 10/10/2005, you wrote:
>On Sat, Oct 08, 2005, Ross Finlayson wrote:
> > I suspect that the problem is that the 'strean type' in the output
> > Transport Stream is not properly being set for AC-3 audio.  Note the
> > code at lines 109-116 of
> > "liveMedia/MPEG2TransportStreamMultiplexor.cpp".  The last branch of
> > this "if" statement is supposed to set the 'stream type' for
> > non-MPEG-audio to 0x81, but I don't know for sure if this is correct
> > (because I've never actually dealt with MPEG Transport Streams that
> > contain AC-3 (rather than MPEG) audio).
>
>  For AC-3 it depends if you create ATSC or DVB stream.
>
>ATSC: stream_type: 0x81 with a 'registration descriptor' "AC-3"
>DVB : stream_type: 0x06 with a AC-3 descriptor (0x6a)
>
>(Both use 0xbd stream_id)

OK, because DVB seems to be more commonly used (at least, by users of 
this code), I'll change the stream_type to 0x06 in future versions of the code.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list