Код: Выделить всё
new tv1 broadcast enabled loop
setup tv1 input "/home/limitsfrombonus.flv"
setup tv1 output #transcode{vcodec=FLV1,acodec=mpga,ab=128,venc=ffmpeg{hurry-up}}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:8080/stream1.flv}
setup tv1 option --loop
setup tv1 option --sout-keep
setup tv1 option --http-caching=30000
new tv2 broadcast enabled loop
setup tv2 input "/home/promo.flv"
setup tv2 input "/home/dxp_intro.flv"
setup tv2 output #transcode{vcodec=FLV1,acodec=mpga,ab=128,venc=ffmpeg{hurry-up}}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:8080/stream.flv}
setup tv2 option --http-caching=30000
setup tv2 option --sout-keep
setup tv2 option --loop
Код: Выделить всё
<h1>StreamTV-1</h1>
<br>
<a
href="http://dxp.ru:8080/stream.flv"
style="display:block;width:704px;height:480px"
id="player">
</a>
<br>
<script>
flowplayer("player", "flowplayer-3.2.9.swf");
</script>
<h1>StreamTV-2</h1>
<br>
<a
href="http://dxp.ru:8080/stream1.flv"
style="display:block;width:704px;height:480px"
id="player2">
</a>
<br>
<script>
flowplayer("player2", "flowplayer-3.2.9.swf");
</script>
все работает, но.. плееры останавливают воспроизведение в конце ЛЮБОГО файла, несмотря на то, что потоки зациклены ( а нужно, чтобы плееры непрерывно показывал все ролики (они все заloopлены)
подскажите, может есть какое-нибудь решение?
с уважением.