Recherche avancée

Médias (91)

Autres articles (106)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6898)

  • Usage with FFMPEG on a vServer ?

    28 février 2020, par MaxChri

    Heyo !

    I’m just setting up a video platform for a small project. So far a user is able to upload a video in any common format. The video will be converted using FFMPEG.

    ffmpeg -i input.mp4 -vcodec h264 -acodec aac -strict -2 output.mp4

    At the moment I’m testing all the stuff on my 3€ testserver which is actually pretty slow. But imagine, a 10 seconds 60fps full hd video takes like 6 minutes of converting. I think I’m not able to run this configurations on a live version. :D

    My current test setup :
    vCPU 1x (Events per second : 175)

    So my question is, which cpu should I use ? I searched for a server on hetzner. The setup with dedicated vCPU is especially declared for video converting. But the cpu benchmark is not much better with 600 events per second while the price is around 20€.

    What do I need to convert a 10 min video (full hd 60fps) in just 1-2 minutes ? My budget should be around 30€/m.

  • FFMPEG - live stream with dynamic content

    6 octobre 2019, par Arturek

    I’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.

  • Youtube live stream with dynamic content

    6 octobre 2019, par Arturek

    I’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 ?

    # 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']

     updateYtLiveStream(price)

     time.sleep(20)

    I want to do it on Ubuntu. Can you tell me how can I do it, please ?
    Thanks.