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

Laurent Aimar fenrir at via.ecp.fr
Mon Oct 10 16:24:37 PDT 2005


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)

-- 
fenrir


More information about the live-devel mailing list