Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (112)

  • 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 ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (9817)

  • FFMPEG re-broadcast/proxy MJPEG stream

    10 septembre 2022, par Ollie Pugh

    I have an MJPEG stream coming from an RPI on my home network and have an NGINX acting as a proxy on an EC2.

    


    For the camera access the flow of stream to the user is the following

    


    RPi -> mjpeg-proxy (running on EC2) -> NGINX (running on same EC2) -> user

    


    the point of mjpeg-proxy is to reduce the load on the RPi and only have one stream to the Pi and allow the EC2 to distribute that one stream.

    


    Now this work fine-ish from my PC (on same network as Pi) the streams work perfectly. But when it comes to my phone on roaming data, the stream is super choppy and the latency grows massively (this project needs minimal latency, like sub 300ms).

    


    I can't understand why this would happen ? Because even when running of my local PC its going through the Proxy hosted in the cloud, so its not as if its an advantage to it being local ?

    


    the stream is fine on another device, e.g. my laptop, but thats on the same network as the RPi. But like I said, it shouldn't makea difference as its going through a proxy !

    


    I was wondering if using FFMPEG to re-stream the mjpeg stream would be beneficial as node is notoriously slow. But I don't really want to be writing my own mjpeg-proxy in C++ to speed this all up.

    


    I have looked online for answers to FFMPEG MJPEG proxy and have been very unsuccesful

    


  • FFMediaElement : How to stream from CamLink 4K ?

    15 janvier 2021, par Pedro

    I would like to use Unosquare's FFME library (v4.2.330) to show a live stream from a Cam Link 4K hdmi grabber.Using the following code, however, the media element remains black, even though the media has successfully been opened and no exceptions are raised.

    


        


    private void OnLoaded(object sender, RoutedEventArgs e)
    {
        this.media.Open(new Uri("device://dshow/?video=Cam Link 4K"));
    }

    private void media_MediaInitializing(object sender, Unosquare.FFME.Common.MediaInitializingEventArgs e)
    {
        e.Configuration.PrivateOptions["framerate"] = "50";
        e.Configuration.PrivateOptions["video_size"] = "1920x1080";
        e.Configuration.PrivateOptions["vcodec"] = "rawvideo"; //also tried mjpeg
        e.Configuration.PrivateOptions["pixel_format"] = "yuyv422"; //also tried yuv420p
    }
    
    private void media_MediaFailed(object sender, Unosquare.FFME.Common.MediaFailedEventArgs e)
    {
        log.Error(e.ErrorException);
    }


    


    Using VLC player everything works fine, so I suppose it has something to do with parameters set during MediaInitializing. In order to get the correct parameters I ran ffmpeg -f dshow -i video="Cam Link 4K" which outputs

    


    Input #0, dshow, from 'video=Cam Link 4K':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 50 fps, 50 tbr, 10000k tbn, 10000k tbc


    


    By running ffmpeg -f dshow -pix_fmt yuv420p -i video="Cam Link 4K" -framerate 50 -vcodec mjpeg test.mkv I am able to record everthing into the file.

    


    During startup I am setting Unosquare.FFME.Library.FFmpegDirectory = @"C:\ffmpeg";, where I put the prebuilt binaries and shared libraries for ffmpeg 4.2.1 (win64). Also I made sure my project is targeting x64. Since MediaElement works with regular mp4 files, I am not sure which parameters/settings I am missing.

    


  • Secure and track every change to your Piwik installation with the Activity Log plugin

    14 novembre 2017, par InnoCraft — Plugins

    Are you wondering how your colleagues are using Piwik ? Would you like to know if an unauthorized user got an access to your installation ? Would you like to remember the last actions you performed in Piwik some weeks ago ? At InnoCraft, we developed a plugin called “Activity Log”. With this feature you can easily track and check all major changes to your Piwik websites, for example : user permissions, goals, and funnels. In this article we will show you the different ways you can use it and explain why it is an invaluable plugin.

    Activity log for better security

    The activity log feature has been designed for security. Also referred to as “audit logging” or “audit trail”, with this plugin you will be able to :

    1. detect any suspicious actions
    2. detect hacker attacks
    3. help identify performance problems
    4. see clearly who did what, and when
    5. find out how people are using Piwik within your company

    1 – detect any suspicious actions

    With audit trail you can easily identify if a former employee still has access to your Piwik installation. You will then be able to know when he accessed it for the last time, and what changes she or he performed. If you got hacked, you will be able to find out if the user created, changed, or deleted any website, goals, or did anything else suspicious.

    2 – detect hacker attacks

    When an unregistered user is trying to access your Piwik, each failed login attempt is registered within the Activity Log report.

    3 – help identify performance problems

    Activity Log can help you identify performance problems by registering the sequence of each major action a user performed. For example, if a user updated or installed a third party plugin, and suddenly Piwik is getting performance problems, then it is likely that the plugin update caused it.

    4 – see clearly who did what, and when

    It is always challenging in an organization to know who did what and when. With Activity Log, you will know who were the employee(s) that accessed Piwik, created, updated, or deleted a goal, a funnel, a scheduled report, and much more.

    5- find out how people are using Piwik within your company

    By having a look at how people are using Piwik you will have an overview of how your colleagues use Piwik. For example, you can see who is creating Custom segments to analyse the audience in more details, who is creating funnels to learn where your users drop off. You will then be able to identify who has the knowledge and who needs training.

    Did you know ?

    You can help the Piwik core team make Piwik even better by sharing anonymously how you use Piwik on a day to day basis. You just need to install the following plugin : http://plugins.piwik.org/AnonymousPiwikUsageMeasurement

    What’s in it ?

    Once downloaded and installed from the marketplace, you will be able to access the activity log from the admin panel within the diagnostic section :

    Activity log admin panel

    If you are logged as a super user administrator, you will get an overview and a detailed report about who accessed Piwik and which actions they performed.

    Those reports are critical as they allow the super user to :

    • ensure users are following all documented procedures within your organization such as naming conventions for reports, using the right settings when adding measurables…
    • identify suspicious behavior. As those reports are gathering all major Piwik users activities it is easy to identify non conventional behavior.
    • replay the sequence some users went through in order to fix any potential issues.

    Activity log view report you can access through the admin panel

    So you will see in a second if an unusual user got access to Piwik and the different actions the user performed.
    It is also a good way to see the features that your users are using and identify potential misuse.

    As a regular user or admin, activity log is providing only the historical actions that this user performed :

    Activity log report for non super user

    Actions listed in the log include any changes (add, edit, delete) to the following features (this is a non exhaustive list) :

    • Annotation
    • Custom Alert
    • Custom Dimension
    • Goal
    • Privacy settings
    • Scheduled report
    • Segment
    • User
    • Website

    This is a ideal to remember the actions they previously performed some weeks/months ago.

    Where can I start from here ?

    Activity log is a premium feature you can acquire through the Piwik marketplace. If you want to experience it before purchasing it, you can try it for free on our cloud infrastructure.

    Activity log is just one out of the many great premium features developed by InnoCraft, the company founded by the creators of Piwik. Discover all their special plugins through the premium marketplace.