
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (105)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (7062)
-
php ffmpeg convert existing videos to 4k resolution
27 février 2014, par user3361920Hi I have a list of videos placed on the server in a directory. All I want is to convert them to 4k resolution as currently they are in 1920x1080 resolution. FFmpeg library is already existing.
Will this ffmpeg will do the job for me or I need some other library for this ? If ffmpeg will do then please can somebody help me by giving the code in PHP .
Please forgive for asking anything wrong .
Thanks in Advance -
Using ffmpeg to restream youtube videos
2 juin 2020, par ILoveCakeI want to restream 3 youtube videos (each one is a live webcam) in this way : they would run one after the other, but each one runs for only 1 minute. All this in a loop. So my live stream would eventually look like this :
cam1, cam2, cam3, cam1, cam2, cam3, ...
I have tried to used youtube-dl and ffmpeg (these are my preferred command line tools) to download each stream, let it run for 1 minute and restream it. The problem is that I have to start ffmpeg each time. So when it stops and starts again, the live stream stops and starts again (after about 15 seconds). Here is my code (for bash) :



The main script : (FILE is an array with the 3 URLs for the videos)



for URL in "${FILE[@]}"
do
 timeout 1m /usr/local/bin/get_livestream.sh $URL
done





and get_livestream.sh :



youtube-dl -q -o - -- $1 | ffmpeg -re -loglevel warning -hide_banner \
 -i - -s 960x540 -c:v libx264 -b:v 2M -c:a copy \
 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2100k \
 -f flv rtmp://live.twitch.tv/app/<key>
</key>


-
How to crop videos with black frames on top and bottom
14 février 2019, par jennieI want to crop videos with black frames on the bottom and top follow the scale as described in the video : https://youtu.be/QIXgvGF59CM
Can you help me write code using ffmpeg ?