Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (65)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (9192)

  • Error during use of ffmpeg for the joining of images to form a video file

    19 juin 2022, par Commoner

    I am trying to join a sequence of images (*.png) using ffmpeg. The filenames of the images are in the following format : recon_0001.png,  recon_0002.png, ... , recon_0100.png. I would like to join the images sequentially (i.e. recon_0001.png being the first frame, recon_0002.png the second frame and so on.)

    



    After looking at the following link : Python : Make a video using several .png images , I tried to implement my task using the following code :

    



    from __future__ import division
import cv2
import os
import matplotlib.pyplot as plt
from pylab import pcolor, show, colorbar, xticks, yticks
import numpy as np

if(1):
    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4


    



    But, I get the following error :

    



    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4
               ^
SyntaxError: invalid syntax


    



    What am I missing here ? I am new to the use of ffmpeg and I will really appreciate any help.

    


  • GDPR compliance for Matomo’s Premium Features like Heatmaps & Session Recording, Form Analytics, Media Analytics & co

    27 avril 2018, par InnoCraft

    The General Data Protection Regulation (EU) 2016/679, also referred to as RGPD in French, Datenschutz-Grundverordnung, DS-GVO in German, is fast-approaching. It is now less than 30 days until GDPR applies to most businesses around the world on 25th May 2018. If you haven’t heard of this new regulation yet, I recommend you check out our GDPR guide which we continue to expand regularly to get you up to speed with it.

    GDPR compliance in Matomo

    We are currently adding several new features to Matomo to get you GDPR ready. You will have for example the possibility to delete and export data for data subjects, delete and anonymize previously tracked data, anonymize the IP address and location, ask for consent, and more. A beta version with these features is already available. We will release more blog posts and user guides about these features soon and just recently published a post on how to avoid collecting personal information in the first place soon.

    If you are still using Piwik, we highly recommend you update to a recent version of Matomo as all versions of Piwik will NOT be GDPR compliant.

    GDPR compliance for premium features

    InnoCraft, the company of the makers of Matomo, are offering various premium features for your self-hosted Matomo so you can be sure to make the right decisions and continuously grow your business. These features are also available on the cloud-hosted version of Matomo.

    If you are now wondering how GDPR applies to these features, you will be happy to hear that none of them collect any personal information except for possibly Heatmaps & Session Recording and the WooCommerce integration. All of them also support all the new upcoming GDPR features like the possibility to export and delete data. It is important that you update your Matomo Premium Features to the latest version to use these features.

    Making Heatmaps & Session Recording GDPR compliant

    We have added several new features to make it easy for you to be GDPR compliant and in many cases you might not even have to do anything. Some of the changes include :

    • Keystrokes (text entered into form fields) are no longer captured by default.
    • You may enable the capturing of keystrokes, and all keystrokes will be anonymized by default.
    • You may whitelist certain form fields to be recorded in plain text. However, fields that likely contain personal or sensitive information like passwords, phone numbers, addresses, credit card details, names, email addresses, and more will be always anonymized to protect user privacy. (this has always been the case but we have now included many more fields).

    How personal information may still be recorded

    Nevertheless, Heatmaps and Session Recordings may still record personal or sensitive information if you show them as part of the regular website as plain text (and not as part of a form field). The below example shows an email address for a paypal account as well as a name and VAT information as a regular content.

    To anonymize such information, simply add a data-matomo-mask attribute to your website :

    <span data-matomo-mask>example@example.com</span>

    You can read more about this in the developer guide “Masking content on your website”.

    WooCommerce Integration

    The WooCommerce integration may record an Order ID when a customer purchases something on your shop. As the Order ID is an identifier which could be linked with your shop to identify an individual, it may be considered as personal information. Matomo now offers an option to automatically anonymize this Order ID so it is no longer considered as personal information. To enable this feature, log in to your Matomo and go to “Administration => Anonymize Data”.

    GDPR compliance for third party plugins on the Matomo Marketplace

    The Matomo Marketplace currently features over 80 free plugins. Over 50 of them are compatible with the latest Matomo 3.X version and most of them should support Matomo’s new GDPR features out of the box. If you are concerned by GDPR and are not sure if a third party plugin stores any personal information, we highly recommend you ask the developer of this plugin about the compliance.

    You can find a link to the plugin’s issue tracker by going to a plugin page and then clicking on “Github” on the bottom right.

    If you are a plugin developer, please read our developer guide “GDPR & How do I make my Matomo plugin compliant”.

    The post GDPR compliance for Matomo’s Premium Features like Heatmaps & Session Recording, Form Analytics, Media Analytics & co appeared first on Analytics Platform - Matomo.

  • how can I get the length of an video in order to validate django form before upload can begin ?

    20 juin 2018, par GetItDone

    I have an app running on heroku that allows users to upload videos, then I use ffmpeg to preform 3 tasks using celery and redis-to-go :

    1) Check the format and if it isn't already mp4, convert it to mp4.
    2) Extract a 3 minute clip, in mp4 format
    3) Grab an image from the video

    The problem is that I want to verify the video length before the video is uploaded and the three tasks are run since I want to make sure all videos are at least 15 minutes, and if not I want to raise a ValidationError. So when validating the form, I want to do something like this :

    def clean(self, *args, **kwargs):        
       data = super(ContentTypeRestrictedVideoField, self).clean(*args, **kwargs)

       file = data.file
       try:
           content_type = file.content_type
           main, extension = content_type.split('/')
           if content_type in self.content_types:
               if file._size > self.max_upload_size:
                   raise forms.ValidationError(_('Please keep filesize under %s. Current filesize %s') % (filesizeformat(self.max_upload_size), filesizeformat(file._size)))
               if VIDEO_LENGTH < MINIMUM_LENGTH:
                   raise forms.ValidationError(_('Please make sure video file is at least %s. Current video length %s') % (MINIMUM_LENGTH, VIDEO_LENGTH)
           else:
               raise forms.ValidationError(_('File type is not supported. File must be mov, flv, avi, mpeg, wmv, or mp4.'))
       except AttributeError:
           pass        

       return data

    What could I do for VIDEO_LENGTH and MINIMUM_LENGTH ? I read that ffprobe could be used for getting the duration, but it isn’t available with the buildpack I am using and I am very inexperienced. I can’t just validate file size because it can vary greatly depending on numerous factors. Anyone have any solution as to what I could try ? Thanks