Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (60)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5618)

  • FFmpeg.wasm - retrieve video metadata with node js

    29 octobre 2022, par Hugo TH

    I want to retrieve metadata from a converted video using FFmpeg web assembly package.
I tried to extract a metadata.txt file to my current directory but nothing was return from my command

    


    in my index.js file :

    


    const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg')

const ffmpeg = createFFmpeg({ log: true })
await ffmpeg.load()

await ffmpeg.run('-i', "myvideo.avi'", '-f', 'ffmetadata', 'metadata.txt')


    


    I got error :

    


    Output file is empty, nothing was encoded.

    


    Is this kind of command available on this wasm package ? Found nothing relevant on their documentation and I want to avoid the global FFmpeg installation

    


  • Creating a video from data of server-side script

    8 mars 2016, par Peter Leupold

    My plan is to display the data that a server-side script generates in a video displayable on my web page. So far my approach is the following :

    1. A three dimensional integer array in a C script is use to accumulate the image data. Dimensions are width, breadth and color (R, G and B).
    2. The array is written to a ppm-file.
    3. The next picture is accumulated and written and so on.
    4. With ffmpeg a script merges the ppm-files to a mp4-video.

    Basically this works, but of course faster would be nicer. I would appreciate proposals for fundamentally different approaches as well as help on the following details :

    • Is there a file format simple as ppm that uses the HEX code for colors instead of triplets ? This would reduce the size of my array as well a the number of write operations.
    • Do I loose much time if I print every single value to the file with an fprintf operation instead of accumulating lines into a string ? Or do compilers optimize this kind of sequences of writes ?
  • How can I get a thumbnail from a video that a user has uploaded to my server ?

    27 novembre 2013, par user3041398

    I'm working on a video sharing website where people can upload their own videos and I want the most recent uploads to be shown on the index page, but not as videos but thumbnails, so that when you click on the thumbnail you get to the video page. You guys all know how youtube's index looks/works — that's what I'm trying to simulate.

    I read about ffmpeg but it seems to me it would only work if you have ffmpeg installed on your computer. I want this to be an automated process though without the user having to first install something on their pc.
    Is there a way I can code this ? Or do i have to use some kind of framework or CMS ? Could this problem be solved by simply getting ffmpeg hosting (example) ?
    If there is no manual way to do this in php, is there way using python ?

    Fyi, my website is written in php and i use jwplayer to stream the videos.
    Please note that I want to get a thumbnail from a video that's been uploaded on my server and not a youtube or vimeo thumbnail.