Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10384)

  • Video decoding by the online player [closed]

    10 janvier 2024, par rahkarenovin

    I encoded my videos with 32-bit ffmpeg.

    


    I want the video player to decode and then display the video when the user buys it.

    


    My problem :
I don't know how to decode the video so that the player can display it

    


    My player code :

    


    <div class="grid">&#xA;    <main>&#xA;        <div>&#xA;            &#xA;            &#xA;        </div>&#xA;    </main>&#xA;</div>&#xA;&#xA;<code class="echappe-js">&lt;script&amp;#xA;    type=&quot;text/javascript&quot;&amp;#xA;    src=&quot;https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc&quot;&amp;#xA;    crossorigin=&quot;anonymous&quot;&amp;#xA;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.plyr.io/3.5.2/plyr.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script&gt;&amp;#xA;    const source = &amp;#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&amp;#x27;;&amp;#xA;    const player = new Plyr(&amp;#x27;#player&amp;#x27;);&amp;#xA;    var video = document.getElementById(&amp;#x27;player&amp;#x27;);&amp;#xA;    if(Hls.isSupported()) {&amp;#xA;       var hls = new Hls();&amp;#xA;       hls.loadSource(source);&amp;#xA;       hls.attachMedia(video);&amp;#xA;       hls.on(Hls.Events.MANIFEST_PARSED,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }else if (video.canPlayType(&amp;#x27;application/vnd.apple.mpegurl&amp;#x27;)) {&amp;#xA;       video.src = source;&amp;#xA;       video.addEventListener(&amp;#x27;loadedmetadata&amp;#x27;,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }&amp;#xA;&lt;/script&gt;&#xA;

    &#xA;

  • Quickly extract multiple frames from multiple videos

    11 mai 2019, par Werner Lehmann

    I have a folder with videos files and need to extract 2+ frames from each of these, using a bash script on Linux. Currently I am doing this for each video file in a loop :

    ffmpeg -nostdin -loglevel fatal -ss 15 -i "${filename}" -frames:v 1 "${out1}"
    ffmpeg -nostdin -loglevel fatal -sseof -15 -i "${filename}" -frames:v 1 "${out2}"

    This extracts a frame 15s in and another frame 15s from the end. For N video files I need 2N ffmpeg calls. I experimented with -vf select, as was asked here, but this was much slower, especially with the requirement to select frames from the beginning and from the end. Also, I am already using GNU parallel which makes a big difference.

    Performance is actually not too bad. But my question is, can this be improved further ? I am hoping for a way to

    • to extract both frames in one ffmpeg call (faster than two separate calls), or
    • to feed ffmpeg more than one file per call (to reduce process startup overhead)
  • ffmpeg same input as output file (temporary file needed but how ?)

    7 janvier 2021, par tomato planet

    I don't know much about .bat files or ffmpeg and spent the last hour on the internet searching how I can solve my problem, but didn't find anything.&#xA;I want to make .bat file which removes the audio of a video and replaces it with the no-audio version. I already made a folder with my .bat file and ffmpeg and added an option to the context menu to open my .bat file.

    &#xA;

    That's my .bat file currently :

    &#xA;

    ffmpeg -i %1 -an -vcodec copy %1&#xA;

    &#xA;

    But ffmpeg can't overwrite the file it's currently reading. It would be great if somebody helps me how to create a temporary file without the audio, and then replace the input file with the temporary one.

    &#xA;

    Thanks a lot in advance !

    &#xA;