
Recherche avancée
Autres articles (63)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7879)
-
How to livestream a webcam to YouTube with FFmpeg ?
6 juillet 2023, par pkokI want to send the livestream of my webcam to YouTube. I can follow YouTube's guide up to step 8. "Stream Connection" tells me there is "No data" and the button "Go Live" remains unclickable. A screenshot of this situation can be seen at






As encoding software, I was planning on using FFmpeg because it can run from the target platform, a Raspberry Pi with Raspbian. A USB webcam supported by
video4linux2
is used.


FFmpeg's wiki shows that streaming a file can be done with the following :



ffmpeg -re -i input.mkv \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv rtmp://live.twitch.tv/app/<stream key="key">
</stream>



I modified this command in the following ways :
1. It takes the video stream from the webcam with
-f v4l2 -i /dev/video0
.
2. It does not broadcast any audio with-an
.
3. It broadcasts to YouTube's RTMP server,rtmp://a.rtmp.youtube.com/live2/<stream key="key"></stream>



The final version of the command is now :



RTMP_URL="rtmp://a.rtmp.youtube.com/live2"
STREAM_KEY="secr-etse-cret-secr"
OUTPUT=$RTMP_URL/$STREAM_KEY
ffmpeg -re -f v4l2 -i /dev/video0 \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -an \
-f flv $OUTPUT




When I run this command, I would expect that "Stream connection" would change to something else than "No data" after a few seconds, but that does not happen.



I have tried recording the stream to a local file with :



ffmpeg -re -f v4l2 -i /dev/video0 \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -an \
-f flv test.flv




This worked fine. That demonstrates to me that the issue is with getting the video stream accepted by YouTube.


-
How to extract part of audio using youtube-dl ?
2 janvier 2019, par Vishesh SharmaI am using windows 10 and I would like to know how to extract part of the audio from youtube videos using the cmd.
-
FFMPEG stop live stream to Youtube
12 janvier 2021, par Louis HudsonI have a problem...FFMPEG starts live streaming at Youtube live and arround 20 to 40 seconds it stop to recording.
My terminal print :




Delay between the first packet and last packet in the muxing queue
is 10008000 > 10000000 : forcing output