Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (65)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • 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 (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (8802)

  • Revision 1c39998e39 : Add vp9_int_pro_col_neon. BUG=https://code.google.com/p/webm/issues/detail?id=1

    15 juillet 2015, par Frank Galligan

    Changed Paths :
     Modify /test/vp9_avg_test.cc


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/encoder/arm/neon/vp9_avg_neon.c



    Add vp9_int_pro_col_neon.

    BUG=https://code.google.com/p/webm/issues/detail?id=1023

    Change-Id : I212a1d67b23ce3b5ce08800de369b25b9e375e7d

  • Empty error object produced by ffprobe in Google Cloud Function

    20 septembre 2023, par willbattel

    Update : After more digging I found an open GitHub issue where others appear to be encountering the same behavior.

    



    


    I have a Google Cloud Function (2nd gen) in which I am trying to use ffprobe to get metadata from a video file stored in a Google Cloud Storage bucket. It is my understanding that I can generate a signed url and, by passing that directly to ffprobe, avoid loading the entire video file into memory. I generate a signed url and pass it to ffprobe, and then parse the output like so :

    


    import ffmpeg from 'fluent-ffmpeg'
import ffprobeStatic from 'ffprobe-static'

async function getVideoData(srcFile: File) {
    const [signedUrl] = await srcFile.getSignedUrl({
        action: 'read',
        expires: (new Date()).getMilliseconds() + 60_000,
    })

    const videoData: ffmpeg.FfprobeData = await new Promise((resolve, reject) => {
        ffmpeg.setFfprobePath(ffprobeStatic.path)
        ffmpeg.ffprobe(signedUrl, (err, data) => {
            if (err) {
                reject(err)
            }
            else {
                resolve(data)
            }
        })
    })

    return videoData
}


    


    This code works (with the same signed URL) locally on my macOS machine, but does not when deployed in a 2nd generation Google Cloud Function. In the latter case, data is undefined and err is {}.

    


    My main question is how to properly use ffprobe in 2nd gen Google Cloud Functions. I have tried to research this but documentation on ffmpeg/ffprobe on GCP is sparse. I'm also trying to figure out exactly why the error object err is empty...it's not very helpful 😅

    


    Additional info :

    


      

    • Environment : Google Cloud Functions 2nd Gen
    • 


    • Runtime : Node 20
    • 


    • "ffprobe-static" : "3.1.0",
    • 


    • "fluent-ffmpeg" : "2.1.2"
    • 


    


    Thanks in advance.

    


  • How to encrypt webm file using Clear Key to play with Google's Shaka Player ?

    23 janvier 2017, par Nam Pham

    I’m developing a small system which will be used to streaming protected content over the web with MSE/EME API.

    This is some tools I’m using :

    I can create .webm file and package them using shaka-packager into mpd file in order to feed to shaka-player. But following by the Clear Key section in the Shaka docs I have to encrypt webm file require pair of KeyId and Key.
    By using webm_crypt, I can created encrypted content by follow this document on 2.2.7 but I have no idea how to get the key pairs for the shaka-player DRM system.