Hi all,

Is it possible to use Liquidsoap for video streams with a "silence 
detect"?  For example:
* Live Stream: aac audio + x264 video
* Backup Stream: mp3 audio (from icecast via a different liquidsoap 
machine) + some sort of picture overlay

Via the magic of one of the output functions, I would then stream live 
when the stream is available and if not revert back to audio + the overlay?

I don't know if it helps, but without the silence detect I can already 
do this with ffmpeg on a per stream basis as follows (there is a hard 
cut while I stop one stream and start the other):

ffmpeg -re -loop 1 -i overlay.png -vn -re -i 
http://local_icecast:8000/stream -f flv -r 25 -codec:v libx264 -b:v 512k 
-g 60 -level 3.0 -codec:a aac -b:a 128k -ar 44100 -ac 2 -strict 
experimental -vf "movie=overlay.png [watermark]; [in][watermark] 
overlay=0:0 [out]" "rtmp://streamingprovider.com/mount_point"

I don't necessarily need liquidsoap to stream to the rtmp provider, if I 
could get some sort of local stream I should be able to get ffmpeg to 
take that and push to the provider instead but it would be nice to bring 
it all into one program.

I appreciate that this is not straight forward but if anyone has any 
advice, it would help.

-- 
Wayne Merricks
The Voice Asia


------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to