[streaming] Can't multiplex two (or more) inputs to an TS streams
Epelde Gorka
GEpelde at ikerlan.es
Mon Feb 28 16:37:54 CET 2005
Hi to all,
I'm trying to multiplex two (or more) inputs into an TS
stream, but no luck. I'm interested in multiplexing diferente sources
into an TS stream.
I have tried with some mpeg2 files and got no luck. Is it possible?, My
tryes have been following the next example, which i think is for some
kind of DVB, but i thought, that it should work for mpeg2 files.
EXAMPLE
-------
Send parts of a multiple program input stream:
http://www.videolan.org/doc/streaming-howto/en/ch04.html#id2534231
% vlc -vvv multiple_program_input_stream
--sout
'#duplicate{dst=standard{access=udp,mux=ts,url=239.255.12.42},select="pr
ogram=12345",
dst=standard{access=udp,mux=ts,url=239.255.12.43},
select="video,program=1234-2345"}'
I also have done multiple tries with
http://www.videolan.org/doc/streaming-howto/en/ch03.html#id2529709
standard
mux=
This option allows you to set the encapsulation method used for the
resulting stream. This option has to be set.
Available options are:
*
ts: the MPEG2/TS muxer. This the standard muxer used to stream
MPEG 2. This muxer can be used with any access method. Supported codecs
are MPEG 1/2/4, MJPEG, H263, H264, I263, WMV 1/2 and theora for video,
MPEG audio, AAC and a52 for the audio stream.
Item options are: pid-video=<pid> to set the PID of the video
track, pid-audio=<pid> to set the PID of the audio track, pid-spu=<pid>
to set the PID of the subtitle track, pid-pmt=<pid> to set the PID of
the PMT (Program Map Table), tsid=<id> to set the ID of the resulting TS
stream, shaping=<shaping delay in ms> to set the minimum interval during
which the bitrate of the stream will remain constant, for variable
bitrate streams, use-key-frames uses I frames as limits for the shaping
intervals, pcr=<PCR interval in ms> allows to set at which interval
Program Clock References will be sent, dts-delay=<delay in ms> allows to
delay PTS (Presentation Time Stamps) from the DTS (Decoding Time Stamp)
from the given time, crypt-audio allows to enable encryption of the
audio track using the CSA algorithm, csa-ck=<key as a 16 character word>
allows to set the key used for CSA encryption.
Any help is appreciated.
Gorka
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list