Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (39)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

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

Sur d’autres sites (7184)

  • Discord JS dispatcher goes immediately on finish

    2 juillet 2021, par JonJon

    I experienced some issues with my Discord bot. I want to play a mp3-file in a voice channel. But the dispatcher goes immediately on status 'finish' and the song doesn't play. There are no errors. First I thought that ffmpeg might be the problem. But ffmpeg seems to work fine. Then I tried reinstalling nodejs. This didn't work out as well. The code can't be the problem as well, because it worked fine last week.
Has anyone an idea ?
Code :

    


    

    

    const Discord = require('discord.js');
const client = new Discord.Client();

client.login('token');

client.on('message', async msg =>{
    if(msg.content === 'play'){
        msg.reply('playing');
        const connection =  await msg.member.voice.channel.join();

        const player = connection.play('musik.mp3');

        player.on('finish', () => {
            msg.member.voice.channel.leave();
        });
    }
});

    


    


    



  • Matomo SSO options and why is it useful ?

    8 novembre 2017, par Matomo Core Team — Plugins

    Bored with typing again and again different logins and passwords for each service you have access to ? Would you like to add hundreds or thousands of users with different roles to your Matomo (Piwik) at once ? Would you like to save time and effort of managing your users while increasing the security in your business ? Guess what, Matomo has come up with great features to do just that.

    But what is a SSO ?

    Before introducing you to new Matomo (Piwik) features, let me explain what a SSO is.
    SSO is the acronym for Single Sign On. As its name suggests this authentication process allows a user to access multiple applications with one set of login credentials.

    Advantages of using a SSO are numerous :

    • improving security, for example when an employee is leaving your company, how can you check that all his credentials have been removed ?
    • reducing employees time-wasters such as having to enter logins/passwords each time.
    • providing a centralized database for administrators. They can then easily manage permissions of all employees saving them heaps of time.
    • reduces support costs related to authentication / accounts management.

    In order to provide SSO options, two Matomo (Piwik) plugins have been developed and are available on the marketplace :

    SAML

    SAML stands for “Security Assertion Markup Language”, it is a standard in order to exchange authentication and authorization between an identity provider (OneLogin, Okta, Ping Identity, ADFS, Google, Salesforce, SharePoint…) and a service provider.
    An identity provider is an online service that authenticates users on the Internet by using security tokens.

    Are you wondering if your business or organization is using any of these providers ? We recommend to ask your operations team or sysadmin.

    At InnoCraft, we developed a plugin in order to allow SSO with SAML for Matomo (Piwik). It can ensure consistent access control across the enterprise and external providers, potentially reducing support costs related to authentication and accounts management.

    The installation process is straightforward. All you need is to get the SAML premium feature from the marketplace. Once installed, you will access the SAML configuration interface through the admin where you can configure various settings :

    • SAML Status
    • Identity Provider (Entity ID, SSO endpoint info, Public x509 certificate)
    • Just-in-time provisioning and Mapping attributes
    • Access Synchronization
    • Advanced settings

    From there you will need to follow our detailed documentation to have it up and running :
    https://matomo.org/docs/login-saml/.
    Once finished, you will then be able to use SAML to authenticate to your Matomo (Piwik) account :

    As all premium features, SAML is eligible to a 30-day period money back guarantee, so do not hesitate to have it a try.

    LDAP

    LDAP stands for Lightweight Directory Access Protocol. As its names implies LDAP is a directory, hosted on a server, which organizes the data about people in your company.
    Thanks to the LDAP plugin, Matomo (Piwik) can be connected to your LDAP infrastructure and then use all its power in order to give each individual an access with different rights according to their needs.

    Let’s say that you have 1,000 employees within a company and they all need right now an access to the analytics reports in Matomo (Piwik) with different roles. This is what LDAP can do.

    Moreover if your business or organization is already using LDAP, we recommend using the LDAP connector for Matomo (Piwik) for better security, to stop wasting time of your users and sysadmins, and to reduce the costs related to account management.

    You understood it well. LDAP is a plugin which saves a LOT of time within an organization. Here is a preview of the settings part :

    LDAP has been developed by the Matomo (Piwik) core team and is available as a Free plugin on the marketplace.

    If you are surprised by the possibilities that Matomo (Piwik) is offering in terms of plugins, the good news is that many other plugins are waiting for you on the marketplace. Check out our premium marketplace which offers state-of-the-art plugins to get the most out of Matomo.

    And if you are a developer feel free to create your own plugin, a detailed documentation is available at : https://developer.matomo.org/guides/getting-started-part-1.

  • ffmpeg stream Raspberry pi

    2 décembre 2020, par Matt85

    I use a rasberry pI4 with usb camera to stream on our server in rtmp

    


    we would like to use the native resolution of the cam

    


    I use video4linux and ffmpeg

    


    here the formats you see :

    


    [video4linux2, v4l2 @ 0x17641c0] Compressed : mjpeg : Motion-JPEG : 1600x1200 3264x2448 2592x1944 2048x1536 1280x960 1024x768 800x600 640x480 320x240 1600x1200
[video4linux2, v4l2 @ 0x17641c0] Raw : yuyv422 : YUYV 4 : 2 : 2 : 1600x1200 3264x2448 2592x1944 2048x1536 1280x960 1024x768 800x600 640x480 320x240 1600x1200

    


    this are the result supported by the usb cam in 2 formats (YUY and MJPEG)

    


    our server accepts incoming RTMP

    


    we would like to stream in RTMP at 1280x960 with output at 20fps (supported for mjpeg)

    


    what is the correct string we need to use in ffmpeg

    


    we tried many variations, but the frame rate is not correct it comes out very low.

    


    the string we use is this :

    


    # ! /bin/bash
ffmpeg
    
-f v4l2 -i /dev/video0
    
-c : v libx264 -pix_fmt yuv420p -preset ultrafast -b 3000k -g 40 -b : v 2000k
    
-bufsize 512k
    
-threads 1 -qscale 0
    
-r 20
    
-s 1280x960
    
-f flv rtmp ://login:password@xxx.xxx.xxx.xxx:1935/xxxx/xxxx

    


    comes out at 10 / 12fps

    


    and gives us this :

    


    Please use -b : a or -b : v, -b is ambiguous
Please use -q : a or -q : v, -qscale is ambiguous

    


    Help from the most experienced of ffmpeg, thanks