
Recherche avancée
Autres articles (99)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (8239)
-
ffmpeg smooth scroll in smooth loop [closed]
22 décembre 2024, par Igor ScherbickijI need help creating code for
ffmpeg
. I have a picture with dimensionsx000*1080
(the length will be more than 1920, but it depends on the picture). I want to scroll it endlessly and seamlessly (the picture repeats)

i write this code, who work but have freezes

ffmpeg -loop 1 -i sr_innernet.png -vf "scroll=horizontal=0.0004,crop=1920:1080:0:0,format=yuv420p" -r 120 -t 10 output.mp4


After this i googled other method, who can make it smoothly. but this method no works with looping(image scrolled once)


ffmpeg -r 1 -loop 1 -t 61 -i sr_innernet.png -filter_complex "color=white:s=1920x1080, fps=fps=60[bg];[bg][0]overlay=x='-t*120':shortest=1[video]" -preset ultrafast -map [video] output.mp4



I tried to combine these two methods. I also asked the AI, but all the answers did not suit me. Using if else in the code causes the image to jump when it reaches a certain limit. some combinations scrolled the image seamlessly, but the height of the displayed part was several times less than 1080.


i need have videostream who

- scroll image in loop

- have smooth(use white background with frequency 60 fps)

AI recommended freaky recommendation with if else statements, or other variants with overlay, but all them dont suit me. thats or have end of picture(i see white screen after scroll picture) or just jumping image


-
Synchronizing screencasting (ffmpeg) and capturing from the webcam (OpenCV)
24 avril 2013, par lyubaAs from my previous questions, I am trying to build a simple eye tracker. Decided to start from a Linux version (run Ubuntu).
To complete this task one should organize screencasting and webcam capturing in such way that frames from both streams exactly match each other and there is the same number of frames in each of them totally.
Screencasting fps fully depends on the camera's fps, so each time we get the image from the webcam we can potentially grab a screen frame and stay happy. However, all the tools for the fast screencasting, like ffmpeg, for example, return the .avi file as the result and require the fps already known to be started.
From the other side, tools like Java+Robot or ImageMagick seem to require around 20ms to return the .jpg screenshot, which is pretty slow for the task. But they may be requested right after each time the webcam frame is grabbed and provide the needed synchronization.
So the sub-questions are :
- Does the USD camera's frame rate vary during a single session ?
- Are there any tools which provide fast screencasting frame by frame ?
- Is there any way to make ffmpeg push a new frame to the .avi file only when program initiates this request ?
For my task I may either use C++ or Java.
I am, actually, an interface designer, not the driver programmer, and this task seems to be pretty low-level. I would be grateful for any suggestion and tip !
-
5 questions you should ask yourself before defining a custom alert in Matomo
24 janvier 2018, par InnoCraftIn Matomo, you can create Custom Alerts to automatically be notified of important changes on your website or app. They are a great way to save time, but they also spam your mailbox quickly. Defining good custom alerts takes therefore time and requires some preparations. Here are recommendations on what you should focus on to only get the right alerts at the right time.
There are several questions you should ask yourself before you define a custom alert :
- Do you really want to be alerted ? If the answer is no, then do not use this feature.
- What is the level of this alert ? Not important, interesting, highly critical… if it is not highly critical, do not define an alert for this. Probably the emailing report or custom reports feature will be a better fit.
- How would you like to be alerted ? SMS, email, sound, homing pigeon (unfortunately we do not support this feature at that time). If you are looking at your emails once a week, then defining a daily email alert won’t make sense.
- How would you like the alert to be named ? Give your alert the most explicit name, that’s the first information you will see when you get alerted.
- What will be the next step once the alert is triggered ? If you cannot find any action once the alert is triggered, then probably an alert doesn’t make sense.
Once those questions are answered, you can start configuring custom alerts. There are many alerts you can define but as just mentioned, which alerts you should create always depends on your goals and what is critical to you, or your business. Let’s look at some custom alerts that we see quite often.
No visit
One of the easiest custom alert to define. You probably want to be alerted if your website did not receive any visit. As this alert is highly critical, you will want to receive an e-mail, even an SMS. This alert will trigger only if the number of visits is below 1 on a daily basis :
Here the action we will take is to have a look at the website in order to see if it is still live. If the site still works, we will look at the tracking code in order to see if the website is still correctly tracked or not.
Convinced of this custom alert ? Let’s look at another example.
Target achieved
Let’s say you gave a goal to one of your employee to reach a specific threshold in terms of conversions. You can then define a custom alert in order to inform you when the threshold has been reached.
You can simply do this with an alert saying “Target achieved by Franck” where number of conversions equals the number of actions you defined with him. It takes you only a minute to define something you would have missed otherwise.
Here the actions we can think of are either to congratulate Franck or to ask him what is going wrong if the target is not achieved.
Did you know that you can also take advantage of Matomo premium features to define custom alerts ? Let’s see one of them.
Lost SEO ranking
If you are using the Search Engine Keyword Performance premium feature, there are really interesting combinations you can use to create custom alerts.
For example, you can be notified when a specific keyword lost or reached a position :You will be alerted when your website is losing some positions within the search engine results for specific keywords. Here the action we could take is to investigate why we lost a position on Google for this keyword.
There are many custom alert combinations waiting for you out there. Why not giving them a try ? If you have any questions, feel free to ask them on the Matomo forums.
The post 5 questions you should ask yourself before defining a custom alert in Matomo appeared first on Analytics Platform - Matomo.