
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (112)
-
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 ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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.
Sur d’autres sites (10333)
-
doc/libav-merge : remove line about aac_adtstoasc
24 mai 2017, par James Almer -
ffmpeg is adding an extra new line into a box
4 août 2017, par newbie123I’m overlaying weather data over my webcam stream. I put a background box filter, but the padding between the text and the box is uneven. There is "a new line" of extended box bellow the text.
Why is that ? There are no empty lines in a text file I’m providing to ffmpeg. Here is my code for the ffmpeg :
ffmpeg \
-f lavfi -i anullsrc \
-rtsp_transport tcp \
-i "$SOURCE" \
-vcodec libx264 -pix_fmt yuv420p -preset ultrafast -g 20 -b:v 1000k \
-vf "drawtext="fontfile=${FONT}":textfile=${textfile}:x=5:y=55:reload=1: \
fontcolor=white:fontsize=${FONTSIZE}:box=1:boxborderw=5:boxcolor=black@0.5" \
-threads $THREADS -bufsize 512k \
-f flv "$YOUTUBE_URL/$KEY"EDIT :
I found out what the problem was. I was using printf "%s\n" "$variable1" "$variable2" to create a text file. Printf %s\n automatically prints each variable into a new line. The solution was to print the last variable without the new line. Code example :
#!/bin/sh
LC_CTYPE=en_US.utf8
# Get APRS weather data from aprs.fi
wxstation="S55MA-10"
name="Juršče, Pivka"
# Basic weather data
temp="$(wget -q https://aprs.fi/weather/a/${wxstation} -O - | grep Temperature | egrep '[-+]?([0-9]*\.[0-9]+|[0-9]+)' -o)"
humidity="$(wget -q https://aprs.fi/weather/a/${wxstation} -O - | grep Humidity | egrep '[-+]?([0-9]*\.[0-9]+|[0-9]+)' -o)"
wind="$(wget -q https://aprs.fi/weather/a/${wxstation} -O - | grep Wind | egrep '[-+]?([0-9]*\.[0-9]+|[0-9]+)' -o | sed -n -e 2p)"
rain="$(wget -q https://aprs.fi/weather/a/${wxstation} -O - | grep Rain | egrep '[-+]?([0-9]*\.[0-9]+|[0-9]+)' -o | sed -n -e 1p)"
# Telemetry
radioactivity="$(wget -q https://aprs.fi/telemetry/a/${wxstation} -O - | grep Radioactivity | egrep '[-+]?([0-9]*\.[0-9]+|[0-9]+)' -o | sed -n -e 5p)"
printf "%s\n" "$name" "Temperature: ${temp}\°C" "Humidity: ${humidity}\%" "Wind: ${wind} m/s" "Rain: ${rain} mm/h"
printf "Radioactivity: ${radioactivity} uSv/h" -
Is there a way to create linear Live Stream with php ? [closed]
30 avril 2022, par RedoneI need to create a linear live stream system with php i don't know from where i have to start,
i want to create channels and every channel have .m3u8 link created based on the channel name
and inside each channel there will be a multiple .m3u8 links from vimeo


So i want to know how i can create this kind of .m3u8 format ?
And how can i make the created file schedulable and make programms like tv channels ?
And if there is any open-source project like this concept
Thank you