Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (76)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6645)

  • Video encoding and decoding by the player during online playback [closed]

    10 janvier 2024, par rahkarenovin

    I made a player to stream the video.

    


    I want to do 32-bit encoding on the video with the help of ffmpeg.
so that the video will only play in my player.

    


    The problems I have :

    


      

    1. I want to put my 32-bit password in the player, the player will check this password while playing the video, if the password is the same, the video will be played.

      


    2. 


    3. I don't know how to decode the video with the below player.

      


    4. 


    


    What code is needed ? What command can I use to decode the video ?

    


    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;

  • Node Media Server not stream when i try to pass the argument "transpose=1" to ffmpeg

    28 mai 2020, par joao.jlf4

    I'm using node-media-server to stream to instagram, and i need to rotate the original vídeo, to be portrait. I know that there is a flag on ffmpeg called transpose (there is rotate too), but when i pass it on node_relay_session.js on 24 line at the argv array, it returns me a "[Relay end]" on console, and it does'nt stream. When I remove the transpose flag from argv array it backs to stream normaly. Here is my config to nms :

    &#xA;&#xA;

    import NodeMediaServer from &#x27;node-media-server&#x27;;&#xA;import removeBarOfRtmpUrl from &#x27;./utils/removeBarRtmpUrl&#x27;;&#xA;import path from &#x27;path&#x27;;&#xA;import { remote } from &#x27;electron&#x27;;&#xA;&#xA;export default function(data) {&#xA;&#xA;const streams = data.map(stream => ({&#xA;endpoint: removeBarOfRtmpUrl(stream.endpoint),&#xA;key: stream.key,&#xA;}))&#xA;&#xA;const config = {&#xA;rtmp: {&#xA;port: 1935,&#xA;chunk_size: 60000,&#xA;gop_cache: true,&#xA;ping: 30,&#xA;ping_timeout: 60&#xA;},&#xA;http: {&#xA;port: 8000,&#xA;allow_origin: &#x27;*&#x27;&#xA;},&#xA;relay: {&#xA;// C:\Users\Usuario\Desktop\multistream\node_modules.bin\ffmpeg.exe&#xA;ffmpeg: path.join(remote.app.getPath(&#x27;appData&#x27;), &#x27;..&#x27;, &#x27;Local&#x27;, &#x27;Programs&#x27;, &#x27;multistream&#x27;, &#x27;app&#x27;, &#x27;ffmpeg&#x27;, &#x27;bin&#x27;, &#x27;ffmpeg.exe&#x27;),&#xA;tasks: streams.map(stream => ({&#xA;app: &#x27;live&#x27;,&#xA;mode: &#x27;push&#x27;,&#xA;edge: ${stream.endpoint}/${stream.key},&#xA;&#xA;  }))&#xA;},&#xA;};&#xA;&#xA;const nms = new NodeMediaServer(config);&#xA;return nms;&#xA;}&#xA;&#xA;// {&#xA;// app: &#x27;live&#x27;,&#xA;// mode: &#x27;push&#x27;,&#xA;// edge: &#x27;rtmp://a.rtmp.youtube.com/live2/keyyoutube&#x27;,&#xA;// },```&#xA;

    &#xA;

  • Android native runtime fails to load symbols even though they are actually found in the loaded .so files

    25 octobre 2017, par Gopinath

    I have compiled ffmpeg v3.4 using NDK v15.2 and I’m creating a wrapper lib called ffmpeg-jni.

    static {
       try {
           System.loadLibrary("avutil");
           System.loadLibrary("avcodec");
           System.loadLibrary("avformat");
           System.loadLibrary("swscale");
           System.loadLibrary("avfilter");
           System.loadLibrary("ffmpeg-jni"); // Exception here line#101
           loadedLibraries = true;
       } catch (Throwable e) {
           e.printStackTrace();
       }
    }

    Below is the exception thrown when loading my wrapper library.

    10-24 11:12:13.819 21499-21499/com.myeglu.android.canary.staging W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_register_all" referenced by "/data/app/com.myeglu.android.canary.staging-2/lib/arm/libffmpeg-jni.so"...

    But, to my surprise, this function is defined in libavformat.so, which loaded successfully ; This is clear from the nm tool outputthat the av_register_all() function is defined (T) in libavformat.so

    Here is a link of all the pre-built libraries that are troubling to make peace at runtime. (There are a few other libraries as well apart from the ffmpeg libs)

    https://drive.google.com/drive/folders/0B20ExoMyOP_UeDhNdmwzc2tjR3M?usp=sharing

    Somebody help me understand what I could be missing in this case. Thanks for your time.