Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (50)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (8024)

  • Python : How to clip/trim required part from the video and move the trimmed video file to other directory

    4 avril 2021, par saurabh

    I'm trying to remove duplicate segments from videos from a directory and paste these trimmed videos to other directory.

    


    For example :

    


    I've following directory structure for saving live rtsp stream (each 1 min long) :-

    


    Live_videos
------2021-04-04
      ------stream1
            -------14 36 08.avi( 1 min)
                   14 37 08.avi( Saved only till 14 37 39 mark due to disconnect with stream1 camera)
                   14 38 35.avi( 1 min)
            stream2
            -------14 36 15.avi( 1 min)
                   14 37 15.avi( 1 min)
                   14 38 14.avi( 1 min)


    


    So, the disconnect and reconnect time are 14 37 40 and 14 38 34 respectively which will be sent to some other server and that server will search for videos saved in their machine which contains segments from the given timestamps and sends the video file in following directory structure : -

    


    Edge_videos
-----------2021-04-04
           ----------stream1
                     -------14 36 35.avi
                     -------14 37 35.avi


    


    Now, you can see that the received video files have the required segments from disconnect period as well as duplicate segments which are already saved in Live_videos directory.

    


    How do I remove the duplicate segments from the received videos and move only the required trimmed video file to the Live_videos----> stream1 directory and delete all the files from Edge_videos afterwards.

    


  • Date and segment comparison feature

    31 octobre 2019, par Matomo Core Team — Analytics Tips, Development

    Get a clearer picture with the date and segment comparison feature

    What can you do with it ? What are the benefits ?

    Make informed decisions faster by easily comparing different segments and dates with each other.

    Compare report data for multiple segments next to each other

    Segment comparison feature

    Directly compare the behaviour of visitors from different segments e.g. customers with accounts vs. customers without accounts. Segment comparisons are a powerful way to compare different audience ; learn which ones perform better ; and in what way their actions differ. 

    Compare report data for two time periods next to each other

    Comparing date ranges

    See how your website performs compared to the previous month/week/year. Including seeing trends over those periods. Say, your business always picks up at the same times within a year, or there’s a sag in business for every user segment over this year and the last except one.

    By being able to compare date ranges you are able to get a quick overview of trends and period to period performance. Has a campaign worked better in September than in October ? Get an instant look by having the side-by-side comparison in Matomo.

    What is it capable of ?

    It lets you ask the question, “What is different ?”

    If you look at reports you’ll only see how people behave overall and if you look at specific segments you’ll see how they behave at face value, however, if you compare data together you’ll be quickly informed on what makes them unique. This data is still there when you don’t use the comparison feature, it’s just buried. Comparing data highlights discrepancies and leads to important questions and answers.

    For example, perhaps some class of users have very low engagement on a specific day compared to the rest of your visitors, and perhaps those users are responsible for an outsized proportion of churn. 

    Who could benefit from it, and why ?

    Everyone can benefit from using it (and probably should use it). It’s yours to experiment with ! You shouldn’t feel restricted to only comparing between the current and last period, or having questions before you start comparing. Follow your instincts and see what pops out when data from different segments is laid out next to each other.

    Where can you find it in Matomo ?

    • Segment comparison is activated by the new icon in the segment selector
    Segment comparison feature
    • Date comparison can be found in the calendar section of Matomo
    Date comparison feature
    • The list of active comparisons is visible at the top of the page for all pages that support comparison
    • Comparisons are visible in every report that supports comparing data, and reports that do not support it will display a message saying so

    How do you use it ?

    • To compare segments, click the icon in the segment selector
    • To compare periods, click the ‘compare’ checkbox in the period selector, then select what period you want to compare it against in the dropdown (previous period, previous year, or a custom range)
    • When comparisons are active, view your reports as normal

    Take it away !

    The comparison feature is a new tool from Matomo 3.12.0 that highlights discrepancies and differences in data that can lead to more clarity and understanding, so we’d encourage everyone to use it. 

    Try it out today in your Matomo and see the power behind this new data comparison mode !

  • ffmpeg timestamp information using fps filter isn't aligned with ffprobe

    16 juillet 2018, par Jose.OC

    I’m using ffmpeg to extract images (thumbnails) from a video using the filter fps so that I get an image every 0.5 seconds. This is the command I use :

    ffmpeg -i video.mp4 -f image2 -filter:v fps=1/0.5 -y out_%3d.png

    I want to know the timestamp for these images and I’ve found out that ffmpeg behaves differently than ffprobe.

    First of all, I haven’t found a way to get the timestamps as metadata (log files or whatever) but I got to overlay the timestamp in the images themselves using ffmpeg :

    ffmpeg -i video.mp4 \
    -vf "fps=fps=1/5,drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: text='%{pts\:hms}': x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" \
    out_with_timestamp_%03d.png

    However, using ffprobe you can simulate the use of the same fps filter and ffprobe allows you to get some information from the frames. This command is supposed to simulate the ffmpeg one and provides some metadata where you can extract the timestamps from :

    fprobe -hide_banner \
    -i "movie=video.mp4,fps=fps=1/0.5[out0]" \
    -f lavfi -show_frames -show_entries frame=pkt_pts_time -of csv=p=0

    The problem is that the timestamps that ffmpeg prints into the images are different than the ones that ffprobe gives, and ffprobe ones are wrong while the ones given by ffmpeg are right.
    The timetamps given by ffmpeg are in the middle of the period of time while the ones given by ffprobe are in the very begining of the window.

    Is there any way to extract thumbnails and its timestamp from a video using ffmpeg ?

    You can find all the steps to be able to reproduce this behaviour here :
    https://www.joseoc.com/en/video/ffmpeg/extract-images-from-video/#getting-the-timestamp-for-the-images