Despite success in one area, I am now disappointed to realise that although Icecast can run a script when a source connects and/or disconnects, it doesn?t seem able to do this for listeners. Although the actual source is a SAT>IP server that stops streaming and frees up the tuners when no more listeners (like Icecast does with relays) and Icecast will stop streaming when no more listeners, the required intermediate transcoding process knows nothing of all this. I was under the impression that Icecast could run scripts at the suitable times and I planned to write the script to handle this, starting and stopping an ffmpeg process doing the transcoding. But for this to work, I have to know when the first listener connects and when the last listener disconnects. Anyone with deeper knowledge of Icecast suggest how I could achieve that? Ken G i l l e t t _/_/_/_/_/_/_/_/
I just transcode in opam/liquidsoap. https://necta.it-flash.de for mobile devices ;) -------- Original Message -------- Subject: [Icecast] Transcoding Date: 2021-05-09 17:04 From: Ken Gillett <kengroups at icloud.com> To: Icecast streaming server user discussions <icecast at xiph.org> Reply-To: Icecast streaming server user discussions <icecast at xiph.org> Despite success in one area, I am now disappointed to realise that although Icecast can run a script when a source connects and/or disconnects, it doesn?t seem able to do this for listeners. Although the actual source is a SAT>IP server that stops streaming and frees up the tuners when no more listeners (like Icecast does with relays) and Icecast will stop streaming when no more listeners, the required intermediate transcoding process knows nothing of all this. I was under the impression that Icecast could run scripts at the suitable times and I planned to write the script to handle this, starting and stopping an ffmpeg process doing the transcoding. But for this to work, I have to know when the first listener connects and when the last listener disconnects. Anyone with deeper knowledge of Icecast suggest how I could achieve that? Ken G i l l e t t _/_/_/_/_/_/_/_/ _______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast -- MfG, Christian 'flash2'Fladung ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..-_/ /--'_.' ,' (il),-'' (li),' ((!.-' o_) >>> eoo Hey! My Name IS NEO. Trinity : Hello Neo. Neo : How do you know that name? Trinity ... https://lab.spacecourt.org/sesamstra__e_-_ernie_als_friseur_-_ernie___bert_3_mal-nbixe6tbxq4.mp4 *lufthol* => https://lab.spacecourt.org/mr._hankey_-_der_kreislauf_des_kot_s-ejrfmak01ie.mp4
I guess you mean something like on-demand transcoding? I don't get your purpose right ;-) -------- Original Message -------- Subject: [Icecast] Transcoding Date: 2021-05-09 17:04 From: Ken Gillett <kengroups at icloud.com> To: Icecast streaming server user discussions <icecast at xiph.org> Reply-To: Icecast streaming server user discussions <icecast at xiph.org> Despite success in one area, I am now disappointed to realise that although Icecast can run a script when a source connects and/or disconnects, it doesn?t seem able to do this for listeners. Although the actual source is a SAT>IP server that stops streaming and frees up the tuners when no more listeners (like Icecast does with relays) and Icecast will stop streaming when no more listeners, the required intermediate transcoding process knows nothing of all this. I was under the impression that Icecast could run scripts at the suitable times and I planned to write the script to handle this, starting and stopping an ffmpeg process doing the transcoding. But for this to work, I have to know when the first listener connects and when the last listener disconnects. Anyone with deeper knowledge of Icecast suggest how I could achieve that? Ken G i l l e t t _/_/_/_/_/_/_/_/ _______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast -- Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0 Warning: Cannot modify header information - headers already sent in Unknown on line 0 MfG, Christian 'flash2'Fladung ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..-_/ /--'_.' ,' (il),-'' (li),' ((!.-' o_) >>> eoo Hey! My Name IS NEO. Trinity : Hello Neo. Neo : How do you know that name? Trinity ... => https://dragonfly.it-flash.de/modules/coppermine/albums/userpics/10000/normal_t001_282129.jpg => https://lab.spacecourt.org/bob_marley_vs._funkstar_deluxe_-_sun_is_shining.mp3 https://dragonfly.it-flash.de/uploads/forums/ice_mc_-_take_away_the_colour.mp3