Recherche avancée

Médias (91)

Autres articles (81)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (11796)

  • stream mp4 video with node fluent-ffmpeg

    28 février 2016, par rchristian

    I’m trying to create video stream server and client with node fluent-ffmpeg, express and ejs. And a haven’t solve this for a while.
    What I want to do is to play video beginning by certain time.
    The following codes make it with Safari browser on windows but with others it makes a loop of a few seconds or it says

    video format not supported

    server code (run.js) :

    app.get('/video', function(req, res) {

     //define file path,time to seek the beegining and set ffmpeg binary
     var pathToMovie = '../videos/test.mp4';
     var seektime = 100;
     proc.setFfmpegPath(__dirname + "/ffmpeg/ffmpeg");


     //encoding the video source
     var proc = new ffmpeg({source: pathToMovie})
            .seekInput(seektime)
            .withVideoBitrate(1024)
            .withVideoCodec('libx264')
            .withAspect('16:9')
            .withFps(24)
            .withAudioBitrate('128k')
            .withAudioCodec('libfaac')
            .toFormat('mp4');

     //pipe
            .pipe(res, {end: true});
    });

    client code (index.ejs) :

     

     
       <video>
         <source src="video/" type="video/mp4"></source>
       </video>
     

    Help please. I searched everywhere solution but I didn’t find

  • Anomalie #4736 (Fermé) : nouveau date picker et la modalbox ou les crayons dans le public

    16 avril 2021, par tofulm -

    Merci pour le nouveau datepicker.

    Pour faire fonctionner le datepicker dans le public, j’ai ajouté l’inclure dans inclure/head.html pour l’avoir sur toutes les pages :

    <span class="CodeRay">[(#INCLURE{fond=formulaires/dateur/inc-dateur})]
    </span>

    Seulement, le datepicker s’initialise seulement si dans la page, il y a un input.date ou .heure
    https://git.spip.net/spip/spip/src/commit/21097aece89c1bcb9fed25a3ce0a1effdc792c49/prive/formulaires/dateur/inc-dateur.html#L105

    Si sur une page il ne contient pas un input.date et que l’on appelle un modalbox ou un crayon avec un input.date, la datepicker n’est pas activé.

    Pour palier provisoirement, j’ai forcé l’initialisation du datepicker à la suite de l’INCLURE dans inclure/head.html

    Y aurait il une solution plus propre

  • How to use ffmpeg and javascript for user to add input box inside of a video

    23 janvier 2016, par Donalda Donalda

    I work on my website and the problem i faces is that i cant find a working way to get the chance for a user to drag an input box and set it into video specifying duration for the item.

    so i have a video and a textbox and my problem is when i grag the box i want it to stck to the video and stay there.

    Code is here :

       
       
       
       <code class="echappe-js">&lt;script&gt;<br />
           function allowDrop(ev) {<br />
               ev.preventDefault();<br />
           }<br />
    <br />
           function drag(ev) {<br />
               ev.dataTransfer.setData(&quot;text&quot;, ev.target.id);<br />
           }<br />
    <br />
           function drop(ev) {<br />
               ev.preventDefault();<br />
               var data = ev.dataTransfer.getData(&quot;text&quot;);<br />
               ev.target.appendChild(document.getElementById(data));<br />
           }<br />
       &lt;/script&gt;