Hello,
I'm trying to create a combined stream with the bridge-in/bridge-out as follows;
new channel1 broadcast enabled
setup channel1 input "sa.m2v"
setup channel1 output #duplicate{dst=bridge-out{id=1},select=video}
new channel2 broadcast enabled
setup channel2 input "sa.aiff"
setup channel2 output #bridge-in:standard{mux=ts,access=udp,url=239.255.12.43}
control channel1 play
control channel2 play
This results in the following;
[00000274] main stream output debug: stream=`duplicate'
[00000275] main private debug: looking for sout stream module: 1 candidate
[00000275] stream_out_duplicate private debug: creating 'duplicate'
[00000275] stream_out_duplicate private debug: * adding `bridge-out{id=1}'
[00000274] main stream output debug: stream=`bridge-out'
[00000277] main private debug: looking for sout stream module: 1 candidate
[00000277] main private debug: set sout option: sout-bridge-out-id to 1
[00000200] main module debug: using sout stream module "stream_out_bridge"
[00000275] stream_out_duplicate private debug: * apply selection video
[00000207] main module debug: using sout stream module "stream_out_duplicate"
[00000273] main input debug: `sa.m2v' gives access `' demux `' path `sa.m2v'
[00000273] main input debug: creating demux: access='' demux='' path='sa.m2v'
[00000281] main demuxer debug: looking for access_demux module: 2 candidates
[00000273] main input debug: creating access '' path='sa.m2v'
[00000284] main access debug: looking for access2 module: 5 candidates
[00000284] vcd access debug: trying .cue file: sa.cue
[00000273] main input debug: thread 1100520368 (input) created at priority 0 (src/input/input.c:230)
[00000288] main input debug: set input option: sout to #bridge-in:standard{mux=ts,access=udp,url=239.255.12.43}
[00000288] main input debug: waiting for thread completion
[00000288] main input debug: thread 1102949296 (input) created at priority 0 (src/input/input.c:230)
[00000289] main stream output debug: stream=`bridge-in'
[00000290] main private debug: looking for sout stream module: 1 candidate
[00000289] main stream output debug: stream=`standard'
[00000291] main private debug: looking for sout stream module: 1 candidate
[00000291] main private debug: set sout option: sout-standard-mux to ts
[00000291] main private debug: set sout option: sout-standard-access to udp
[00000291] main private debug: set sout option: sout-standard-url to 239.255.12.43
[00000291] stream_out_standard private debug: creating `udp/ts://239.255.12.43'
[00000291] stream_out_standard private debug: extention is 43
[00000291] stream_out_standard private debug: extention -> mux=(null)
[00000291] stream_out_standard private debug: using `udp/ts://239.255.12.43'
[00000293] main private debug: looking for sout access module: 1 candidate
[00000295] main private debug: looking for network module: 1 candidate
[00000036] main module debug: using network module "ipv4"
[00000036] main module debug: unlocking module "ipv4"
[00000295] main private debug: thread 1105083312 (sout write thread) created at priority 0 (udp.c:293)
[00000293] access_output_udp private debug: udp access output opened(239.255.12.43:1234)
[00000065] main module debug: using sout access module "access_output_udp"
[00000291] stream_out_standard private debug: access opened
[00000297] main private debug: looking for sout mux module: 1 candidate
[00000297] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000012] main module debug: using sout mux module "mux_ts"
[00000289] main stream output debug: muxer support adding stream at any time
[00000291] stream_out_standard private debug: mux opened
[00000198] main module debug: using sout stream module "stream_out_standard"
[00000201] main module debug: using sout stream module "stream_out_bridge"
[00000288] main input debug: `sa.aiff' gives access `' demux `' path `sa.aiff'
[00000288] main input debug: creating demux: access='' demux='' path='sa.aiff'
[00000298] main demuxer debug: looking for access_demux module: 2 candidates
[00000288] main input debug: creating access '' path='sa.aiff'
[00000299] main access debug: looking for access2 module: 5 candidates
[00000299] vcd access debug: trying .cue file: sa.cue
[00000299] access_file access debug: opening file `sa.aiff'
[00000152] main module debug: using access2 module "access_file"
[00000301] main private debug: pre buffering
[00000301] main private debug: received first data for our buffer
[00000301] main private debug: prebuffering done 1408981 bytes in 0s - 219766 kbytes/s
[00000288] main input debug: creating demux: access='' demux='' path='sa.aiff'
[00000302] main demuxer debug: looking for demux2 module: 38 candidates
[00000302] aiff demuxer debug: chunk fcc=COMM size=18
[00000302] aiff demuxer debug: COMM: channels=2 samples_frames=2019840 bits=16 rate=48000
[00000302] aiff demuxer debug: chunk fcc=SSND size=8079368
[00000302] aiff demuxer debug: SSND: (offset=0 blocksize=0)
[00000288] main input debug: selecting program id=0
[00000139] main module debug: using demux2 module "aiff"
[00000304] main packetizer debug: looking for packetizer module: 17 candidates
[00000252] main module debug: using packetizer module "packetizer_copy"
[00000288] main input debug: stream out mode -> no decoder thread
[00000288] main input debug: starting in synch mode
[00000288] main input debug: `sa.aiff' successfully opened
[00000284] access_file access debug: opening file `sa.m2v'
[00000152] main module debug: using access2 module "access_file"
[00000336] main private debug: pre buffering
[00000336] main private debug: received first data for our buffer
[00000336] main private debug: prebuffering done 1408981 bytes in 0s - 212503 kbytes/s
[00000273] main input debug: creating demux: access='' demux='' path='sa.m2v'
[00000337] main demuxer debug: looking for demux2 module: 38 candidates
[00000350] main packetizer debug: looking for packetizer module: 17 candidates
[00000253] main module debug: using packetizer module "packetizer_mpegvideo"
[00000273] main input debug: selecting program id=0
[00000115] main module debug: using demux2 module "mpgv"
[00000351] main packetizer debug: looking for packetizer module: 17 candidates
[00000253] main module debug: using packetizer module "packetizer_mpegvideo"
[00000273] main input debug: stream out mode -> no decoder thread
[00000273] main input debug: starting in synch mode
[00000273] main input debug: `sa.m2v' successfully opened
[00000350] packetizer_mpegvideo packetizer debug: Size 720x576 fps=25.000
[00000351] packetizer_mpegvideo packetizer debug: Size 720x576 fps=25.000
[00000274] main stream output debug: adding a new input
[00000275] stream_out_duplicate private debug: duplicated a new stream codec=mpgv (es=0 group=0)
[00000277] stream_out_bridge private debug: bridging out input codec=mpgv id=1 pos=0
[00000275] stream_out_duplicate private debug: - added for output 0
[00000289] main stream output debug: adding a new input
[00000297] main private debug: adding a new input
[00000297] mux_ts private debug: adding input codec=s16b pid=68
[00000297] main private error: cannot add this stream
[00000304] main packetizer error: cannot create packetizer output (s16b)
Anyone know what I can do about it?
Thanks