Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (56)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6018)

  • ffmpeg - convert movie AND show original input (as resized picture-in-picture, top-left corner) in the final output file

    2 octobre 2019, par raven

    this is my first post on this forum, so please be gentle in case I accidentally do trip over any forum rules that I would not know of yet :).

    I would like to apply some color-grading to underwater GoPro footage. To quicker gauge the effect of my color settings (trial-and-error, as of yet), would like to see the original input video stream as a PIP (e.g., scaled down 50%), in the top-left corner of the converted output movie.

    I have one input movie that is going to be color graded. The PIP should use the original as an input, just a scaled-down version of it.

    I would like to use ffmpeg’s -filter_complex option to do the PIP, but all examples I can find on "-filter_complex" would use two already existing movies. Instead, I would like to make the color-corrected stream an on-the-fly input to "-filter_complex", which then renders the PIP.

    Is that doable, all in one go ?

    Both the individual snippets below work fine, I now would like to combine these and skip the creation of an intermediate color-graded video. Your help combining these two steps into one single process is greatly appreciated !

    Thanks in advance,
    raven.

    [existing code snippets (M$ batch files)]

    ::declarations/defines::
    set "INPUT="
    set "TMP="
    set "OUTPUT="
    set "FFMPG="
    set "QU=9" :: quality settings

    set "CONV='"0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1
    0 -1 0:0 -1 0 -1 5 -1 0 -1 0'"" :: sharpening convolution filter

    ::color-grading part::
    %FFMPG% -i %INPUT% -vf convolution=%CONV%,colorbalance=rs=%rs%:gs=%gs%:bs=%bs%:rm=%rm%:gm=%gm%:bm=%bm%:rh=%rh%:gh=%gh%:bh=%bh% -q:v %QU% -codec:v mpeg4 %TMP%

    ::PIP part::
    %FFMPG% -i %INPUT% -i %TMP% -filter_complex "[1]scale=iw/3:ih/3
    [pip]; [0][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10" -q:v
    %QU% -codec:v mpeg4 %OUTPUT%

    [/existing code]
  • The new GDPR data protection regulation and potential consequences on Piwik

    7 septembre 2017, par Piwik Core Team — About, Privacy

    GDPR is a new data protection related regulation in Europe. GDPR stands for General Data Protection Regulation.

    The purpose of this European regulation is to strengthen and unify data protection for all individuals within the European Union. This also includes entities outside Europe willing to do business with European citizens. GDPR is a set of processes you need to follow within your organization to protect the privacy of European citizens.

    GDPR will start to apply in May 2018. It is recognized to be dissuasive because of the potential penalty of up to 4% of the yearly turnover, in case of infringement.

    Many articles have been written about GDPR including our previous article. Few of them are explaining how it will affect web analytics vendors : this is what this article is about.

    Am I really impacted by GDPR if I am a Piwik user ?

    As Piwik can collect personal data, the answer is yes. Piwik analytics data is impacted by the GDPR.

    As GDPR is a general concept, we decided from the official guidelines to assume what will be the potential consequences on the use of Piwik.

    There are 2 potential scenarios we can identify :

    • 1 – You are collecting personal data with Piwik
    • 2 – You are not collecting personal data with Piwik

    1 – Personal data collection with Piwik

    According to GDPR : IP addresses, cookies, UserID are personal data.

    IP addresses are personal data, so you will have to anonymize them unless you receive explicit consent from the visitor. Please view the following article in order to learn : how can I anonymize IP addresses in Piwik ?

    According to GDPR, cookies are personal data too. But as all cookies are not created equal it may be possible that some need to require user consent whereas other not. Whatever will be the final decision, you can learn about the first-party cookies created by Piwik and how to disable all tracking cookies in Piwik ?

    User ID, you are impacted if the User ID you assign is specific to an individual or if you can cross the User ID data further and find back the individual personal data.

    Any extra personal data you may collect with Piwik, it could be for example : first names, family names, e-mail address… You are able to collect such data using custom dimensions, custom variables…

    What are the rules I have to comply with ?

    By collecting personal data, you will have to respect EU citizens rights, which include :

    • The possibility for them to view the data you collected on them
    • The possibility to rectify some data concerning them
    • The possibility to delete their data when they request about it

    As you can imagine, for the first obligation, you will have to export all the data. So if a user is requesting it, you will have to export the data linked to his IP address(es). It can be easily exported as a .csv file for example.
    In order to do that, just create a segment according to the IP address of the user who requested it and then export the “Visitor log” report.
    If the personal data is not linked with the IP address but other attributes such as User ID or a custom dimension, you can provide the same data export by using the segment function and filtering on the personal data field.

    The data edit and deletion process on Piwik is a bit trickier as it currently requires administration system skills. We are planning to develop a new plugin for GDPR compliance (which will be available for free on the Marketplace). This plugin will let you edit and easily delete data of a particular user. Currently you can delete a specific user’s data by accessing the Piwik database and directly delete the different records for this specific user.

    2 – You are not collecting personal data with Piwik

    Unfortunately it is not because you do not collect personal data that you will not be affected by GDPR.
    The details of GDPR are not confirmed yet and GDPR could involve enabling the DoNotTrack setting by default on all browsers.
    Yes, you read it well, by default, unless the internet user uncheck this option, Piwik respecting DoNoTrack would not be able to track any user. If one needed to collect data anyway, Piwik Log Analytics and server-side tracking can be considered.

    If you need help regarding how to set up your Piwik installation in order to be GDPR compliant :

    Do you have a Piwik experience you would like to share with the community ? Please share it with us by contacting Piwik core team.

  • Moviepy has issues when concatenating ImageClips of different dimensions

    22 mars 2021, par Lysander Cox

    Example of the issues : https://drive.google.com/file/d/1WxfYtDTD0kc_4WQzzvB6QXkZWo-e2Vuk/view?usp=sharing

    


    Here's the code that led to the issue :

    


    def fragmentConcat(comment, filePrefix):
    finalClips = []
    dirName = filePrefix + comment['id']
    vidClips = [mpy.VideoFileClip(dirName + '/' + file) for file 
                in natsorted(os.listdir(dirName))]
    
    finalClip = mpy.concatenate_videoclips(vidClips, method = "compose")
    finalClips.append(finalClip)
    
    if 'replies' in comment:
        for reply in comment['replies']:
            finalClips += fragmentConcat(reply, filePrefix)
            
    return finalClips

def finalVideoMaker(thread):
    fragmentGen(thread)
    filePrefix = thread['id'] + '/videos/'

    #Clips of comments and their children being read aloud.
    commentClips = []

    for comment in thread['comments']:
        commentClipFrags = fragmentConcat(comment, filePrefix)
        commentClip = mpy.concatenate_videoclips(commentClipFrags, method = "compose")
        commentClips.append(commentClip)

        #1 second of static to separate clips.
        staticVid = mpy.VideoFileClip('assets/static.mp4')
        commentClips.append(staticVid)

    finalVid = mpy.concatenate_videoclips(commentClips)
    finalVid.write_videofile(thread['id'] + '/final.mp4')


    


    I'm certain that these issues appear somewhere in here, because the individual video "fragments" (which are concatenated here) do not exhibit the issue with the clip I showed.

    


    I have tried adding and removing the method = "compose" parameter. It does not seem to have an affect. How can I resolve this ? Thanks.