
Recherche avancée
Autres articles (20)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4847)
-
Icecast to Youtube Live w/ Track Meta data
22 novembre 2018, par eusidI am using ffmpeg to stream a still image along with my Icecast stream to youtube. I would like to give the artists credit by displaying their names on the image or perhaps even using a visualizer type thing.
I am curious how people have solved this issue to get the meta data on the image, or even use a visualizer in the past. I want to do this headlessly from my server so I don’t have to run OBS or something on my desktop. I would hope to not have to reinvent the wheel, but if you could point me in the right direction I’ll build the wheel if asking for a completed wheel gets me down votes.
How is this typically solved ? Mainly getting the text on the image and the stream updating with the new image. I could write something with pillow to do this perhaps. Not sure if it would work.
-
How to stream 24/7 on youtube (audio + video) with FFMPEG
29 septembre 2023, par Carter510I plan to create a 24/7 stream with a video and a musical background which is located in a
/Playlist
folder.
I would like the music playlist to be played randomly and if a piece of music is corrupted or cannot be played, the program moves on to the next one.

The problem is that with my command every time the music changes the stream stops.
Any suggestions ?


#!/bin/bash

VBR="4500k"
FPS="30"
QUAL="superfast"

YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
KEY="XXXX-XXXX-XXXX-XXXX"

VIDEO_SOURCE="fireplace.mkv"
AUDIO_FOLDER="/home/administrateur/Documents/Youtube/Playlist"

while true; do
 # Joue la vidéo en boucle
 ffmpeg -re -stream_loop -1 -i "$VIDEO_SOURCE" \
 -thread_queue_size 512 -i "$(find "$AUDIO_FOLDER" -type f -name "*.mp3" | shuf -n 1)" \
 -map 0:v:0 -map 1:a:0 \
 -map_metadata:g 1:g \
 -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
 -acodec libmp3lame -ar 44100 -threads 6 -qscale:v 3 -b:a 320000 -bufsize 512k \
 -f flv "$YOUTUBE_URL/$KEY"
done



I would like the
fireplace.mkv
video to play without interruption, for the music to be chosen randomly without ever stopping. And if one of the songs cannot be played, it is skipped.

-
Stream to youtube from xvfb using ffmpeg and x11grab
13 décembre 2017, par Ivan SergeevI want to make stream from virtual display to youtube via ffmpeg.
I’m using this code :#! /bin/bash
BITRATE="2500k"
FPS="30"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
YOUTUBE_KEY="..."
SOURCE="./test.mp4"
export DISPLAY=44
sudo xvfb-run -a -n 44 -l -s "-screen 0, 1280x720x24" google-chrome -start-maximized https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif --no-sandbox >/dev/null &
ffmpeg -threads 0 -y -v verbose -re \
-f x11grab -video_size 1280x720 -i :44 \
-vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r $FPS -g $(($FPS * 2)) -b:v $BITRATE -bufsize 512k \
-acodec libmp3lame -ar 44100 -threads 0 -crf 25 -b:a 712000 -bufsize 512k \
-f flv "$YOUTUBE_URL/$YOUTUBE_KEY"And I don’t receive any errors, but youtube cannot start stream(
In my log :
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 4 fps=0.0 q=17.0 size= 72kB time=00:00:00.50 bitrate=1186.9kbits/s
frame= 6 fps=5.9 q=17.0 size= 106kB time=00:00:00.93 bitrate= 931.2kbits
frame= 8 fps=5.3 q=17.0 size= 141kB time=00:00:01.36 bitrate= 846.4kbits/s
frame= 11 fps=5.4 q=16.0 size= 188kB time=00:00:02.00 bitrate= 771.9kbits/s
frame= 13 fps=5.2 q=15.0 size= 217kB time=00:00:02.43 bitrate= 730.5kbits/s
frame= 15 fps=5.0 q=14.0 size= 241kB time=00:00:02.86 bitrate= 687.2kbits/s
frame= 18 fps=5.1 q=14.0 size= 270kB time=00:00:03.53 bitrate= 625.2kbits/s
frame= 20 fps=4.9 q=15.0 size= 294kB time=00:00:03.96 bitrate= 608.3kbits/setc.
However, if I do stream from file, but not x11grab stream is starting normal.
What I’m doing wrong ?
Any ideas, guys, please)