Recherche avancée

Médias (91)

Autres articles (68)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (2519)

  • fferr requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer [closed]

    5 août 2024, par MERAKLA COM

    I make small app with React. And deploy my app to with cpanel in static site. But i getting this error

    


    [fferr] requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag

    


  • integrate ffmpeg with spring boot

    13 juin 2024, par Parkash Sbd

    I have a react native app much like social media app.Users upload their photos and videos from that app .While uploading I wanna show processing sign with percent and I have RESTful api endpoints written in spring boot and wanna resize media(photos and videos).Is there any easy way to implement it.I have heard of ffmpeg but I don't know how to integrate it with spring boot.
Thanks.

    


  • Unable display blob produced by ffmpeg

    16 avril 2021, par Hikigaya Jie

    My version of ffmpeg for frontend app :

    


      

    • "@ffmpeg/ffmpeg" : "^0.9.7"
    • 


    


    My goal is to have the uploaded video, writes video frames to image files and
I have tried the following code.

    


    import { createFFmpeg, fetchFile } from &#x27;@ffmpeg/ffmpeg&#x27;;&#xA;import { useState } from &#x27;react&#x27;;&#xA;&#xA;const ImageFrame: React.FC = () => {&#xA;    const [videoSrc, setVideoSrc] = useState(&#x27;&#x27;);&#xA;    const [images, setImages] = useState(&#x27;&#x27;);&#xA;    const ffmpeg = createFFmpeg({&#xA;        log: true,&#xA;    });&#xA;&#xA;    const doSomething = async () => {&#xA;        await ffmpeg.load();&#xA;        ffmpeg.FS(&#x27;writeFile&#x27;, &#x27;output%%-%d_%Y-%m-%d_%H-%M-%S.jpg&#x27;, await fetchFile(videoSrc));&#xA;        await ffmpeg.run(&#x27;-i&#x27;, videoSrc, &#x27;-vf&#x27;, &#x27;fps=1&#x27;, &#x27;output%%-%d_%Y-%m-%d_%H-%M-%S.jpg&#x27;);&#xA;        const data = ffmpeg.FS(&#x27;readFile&#x27;, &#x27;output%%-%d_%Y-%m-%d_%H-%M-%S.jpg&#x27;);&#xA;        const url = URL.createObjectURL(new Blob([data.buffer], { type: &#x27;image/jpg&#x27; }));&#xA;&#xA;        setImages(url);&#xA;    };&#xA;    const onChange = (event: any) => {&#xA;        setVideoSrc(event.target.files[0]);&#xA;    };&#xA;    return (&#xA;        <div>&#xA;            <div>&#xA;                <div style="{{">&#xA;                    <input accept="&#x27;video/mp4&#x27;" type="&#x27;file&#x27;" title="&#x27;Upload&#x27;" />&#xA;                    <button>Start</button>&#xA;                </div>&#xA;            </div>&#xA;&#xA;            <div>&#xA;                {images &amp;&amp; <img src="http://stackoverflow.com/feeds/tag/{images}" alt="&#x27;frame&#x27;" width="{250}" style='max-width: 300px; max-height: 300px' />}&#xA;            </div>&#xA;        </div>&#xA;    );&#xA;};&#xA;&#xA;export default ImageFrame;&#xA;&#xA;

    &#xA;

    This is the output I get for displaying the blob.

    &#xA;

    enter image description here

    &#xA;

    This is the log from ffmpeg, for some reason it always says "No such file or directory"

    &#xA;

    enter image description here

    &#xA;