
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (62)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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. -
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 (10150)
-
Ubuntu 16.04 python installing 3rd party module ffmpeg-3.0.2
3 juin 2016, par vanoccupantherHave tried installing this package multiple times. Initially I installed it to a directory where I am running scripts that call it but I get an error message "ImportError : No module named ’ffmpeg’".
I then tried putting it in one of my python paths listed in sys.path and again I got the same message.
I then opened .bashrc and added the home directory path and still got the same error message when I ran my script.
import sys
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import ffmpeg
from PIL import Image
img = sys.argv[1] # ignore this
im = Image.open(img) # ignore this
imarray = np.array(im) # ignore this
ffmpeg -i ('flame.avi') -f image2 -c:v mjpeg ('image-%d.jpg')
avconv -i ('flame.avi') -vsync ('1') -r ('100') ('image%03d.tif')I’m really not sure where to go, what are my options here ? And what am I doing that is glaringly wrong ?
-
The formula runs text, from bottom to top, it does not end when there are still letters
27 février 2019, par MonsoI have 1 txt file. In the file there is a word, but my formula "y=h-40*t" has a problem, it does not end when the text runs out, the text is not over but it has ended, I want to speed 40 and size The word 120, can you help me find the correct recipe ? Thanks
ffmpeg -loop 1 -y -i a.jpg -i b.mp3 vf "drawtext="fontsize=120:fontfile=arial.ttf:textfile=1.txt:y=h-40*t""
scale=852x480 setsar=1:1 -vcodec libx264 -b:v 1000k -preset superfast 3.mp4 -
FFMPEG - live stream with dynamic content
6 octobre 2019, par ArturekI’m trying to create a live stream with changing data in real-time on youtube.
Let’s say I want to show the current Bitcoin price in real-time. For instance, using python and sending requests to some public APIs, I can very easily get current prices of Bitcoin. But I have no idea how to create such a live stream, which will be automatically updated with fresh data.
I know that I can use ffmpeg to stream on youtube, but how would I change the content of my stream ? I know how to create an image every n seconds with the current price, but then I don’t know how to update my live stream with this image.
# To make sure you know what I mean, I created a basic sample.
import requests
import json
import time
createYtLiveStream()
while(True):
response = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json').json()
price = response['bpi']['USD']['rate']
# Create an image with Bitcoin price inside
img = convertTextToPng(price)
# Update my live stream with this new image (I don't know how to do it)
updateYtLiveStream(img)
time.sleep(20)I want to do it on Ubuntu. Can you tell me how can I do it, please ?
Thanks.