
Recherche avancée
Autres articles (90)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11556)
-
How to bybass any site that restrict multiple live streaming broadcast on a single account ? [closed]
4 août 2024, par kino pizdecI am looking for a working way to use 1 video.mp4 input for 1 site, for 1 account, but broadcast in several output, for example, to different rtmp servers or stream keys. Something similar is seen on YouTube, where 1 channel has many live streams.


I want to do the same, but for another site that offers the following connection options :


- 

- rtmp server and stream key
- Real webcam
- OBS Virtual webcam








I've seen it's possible. People stream up to 4 streams simultaneously on 1 account with 1 video. The question is how.


I have been tormenting the chat GPT for several days and trying different options for writing code for ffmpeg, but I have not been able to achieve more than 2 streams at the same time. I have already managed to make 2 streams at the same time twice, but I have completely forgotten how to do this, because I am constantly trying new code configurations in ffmpeg.


Here is code that I use to attempt to solve my issue.


@echo off
setlocal EnableDelayedExpansion

set "VIDEO_FILE=E:\MegaStream\VIDEO.mp4"

set "streams="
for /f "delims=" %%a in (stream_config.txt) do (
 set "streams=!streams! -f flv %%a"
)

:loop
start /b ffmpeg.exe ^
-re ^
-stream_loop -1 ^
-i "!VIDEO_FILE!" ^
-c:v libx264 ^
-preset veryfast ^
-tune zerolatency ^
-b:v 4000k ^
-maxrate 4400k ^
-bufsize 8000k ^
-pix_fmt yuv420p ^
-g 60 ^
-keyint_min 60 ^
-sc_threshold 0 ^
-r 30 ^
-c:a aac ^
-b:a 96k ^
-ar 44100 ^
-threads 4 ^
-x264opts "nal-hrd=cbr:force-cfr=1" ^
-max_muxing_queue_size 1024 ^
-map 0:v:0 -map 0:a:0 !streams!
-loglevel debug

echo Streaming... Press 'Q' to quit or 'R' to restart.
:input
choice /c QR /n >nul
if errorlevel 2 (
 taskkill /F /IM ffmpeg.exe >nul 2>&1
 echo Restarting stream...
 goto loop
) else if errorlevel 1 (
 taskkill /F /IM ffmpeg.exe >nul 2>&1
 echo Quitting...
 exit /b
)
goto input 



Plus config file with 2 separate lines :
rtmp server 1 / stream key 1
rtmp server 2/ stream key 1


I play a lot with config file and code. I edited them differently so many times so once it worked and site played my 2 stream simultaneously but now I struggle with consistent solution. Would love to hear any guesses on how to bypass these rules.
P.s.
I'm already advised many times on ethitcs and usage of this method, so I'm concerned thanks.


What does not work :


- 

- Launching 2 copies of OBS with different servers and stream keys gives an error
- Plugin for multistreaming OBS
- Using 2 devices, site says "You already have a streaming sesssion" and offers to finish first to start second








-
Evolution #2158 (Résolu) : Régler le fuseau horaire dans l’identité du site.
7 mai 2017, par guytarr °Du coup après discussion, le plugin faisant le job et étant documenté, on ferme.
-
Révision 17365 : reparer la determination de l’adresse du site a l’installation (guy cesaro) :
11 mars 2011, par cedric -on mutualise ce code dans inc/config (ou il etait auparavant) mais dans une fonction dediee