Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (25)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

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

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (3547)

  • FFMPEG creating mp3 with "Junk" at the end

    13 juillet 2022, par Johnaras

    I have a web application which converts WebM files to mp3 using FFMPEG.js in the Client-Side. Once the mp3 conversion finishes, users are prompted to download their file.

    


    Lately, I realized that a lot of mp3 files which I tried to converted have a different duration value than the original WebM file. The duration is usually longer. For instance, a WebM file with duration of 2:16 gets converted to an mp3 file with a duration of 2:29. Once the player reaches at 2:16 it just goes back to the start.

    


    I have tried to open the file in Audacity but it keeps saying that this MP3 file seems to be "Malformed".

    


    I also tried to use MP3val and it says the file has junk at the end.

    


    Code Snippets :

    


    const worker = new Worker("/ffmpeg-worker-mp4.js");
import { fetchFile } from "@ffmpeg/ffmpeg"; // https://www.npmjs.com/package/@ffmpeg/ffmpeg

const convertSong = async (title, id, bitrate) => {
    setProgress("Initializing...")
    ffmpegVars = [title]
    
    worker.postMessage({
      type: "run",
      arguments: ["-i", `input.webm`, "-c:a", "libmp3lame",  "-vn", "-ab", `${bitrate ? bitrate : 256}k`, "-ar", "44100", "-f", "mp3", `output.mp3`],
      MEMFS: [{ name: "input.webm", data: await fetchFile(`/api/download/stream?video=${id}`) }]
    });
}

convertSong(data.title, data.id, data.bitrate)


    


    I'm literally willing to pay anyone who helps me fix this.

    


  • How to "extend" aws docker base image (.net core from scratch) by ... libs/ubuntu/ffmpeg ?

    26 avril 2022, par Nigrimmist

    i would like to use AWS Lambda through the image containers using .net core 3.1 and it is works fine for me in simplest code case. But i stucked with next scenario :

    


    By default, aws provide base image with .net core with aws libs based on "from scratch". So as i know, it minimal Linux that does not contains even package manager.

    


    I need to work with ffmpeg in the code, but to do it i need to install few packages and ... fmpeg. I have working code on image

    


    FROM mcr.microsoft.com/dotnet/runtime:3.1-bionic


    


    It is ubuntu with .net core runtime. But what is the right strategic in case of AWS Lambda image ? How can i ... merge them ?.

    


    Have few ideas, but not sure :

    


      

    1. use as is FROM public.ecr.aws/lambda/dotnet:core3.1 and try to install package manager, all depenendencies to use ffmpeg and so on ?
    2. 


    3. Use mcr.microsoft.com/dotnet/runtime:3.1-bionic, somehow add required by amazon dependencies (how ? download content and attach from local ?) and configure it to run in Lambda runtime ?
    4. 


    5. ... ?
    6. 


    


    Will be glad to hear where is the solution here. Thanks !

    


  • libavutil/hwcontext_qsv : Align width and heigh when download qsv frame

    6 avril 2022, par Wenbin Chen
    libavutil/hwcontext_qsv : Align width and heigh when download qsv frame
    

    The width and height for qsv frame to download need to be
    aligned with 16. Add the alignment operation.
    Now the following command works :
    ffmpeg -hwaccel qsv -f rawvideo -s 1920x1080 -pix_fmt yuv420p -i \
    input.yuv -vf "hwupload=extra_hw_frames=16,format=qsv,hwdownload, \
    format=nv12" -f null -

    Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavutil/hwcontext_qsv.c