
Recherche avancée
Autres articles (94)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (8899)
-
Opencv Videocapture fails to read http url videos
16 mars 2019, par Purav ZumkhawalaI want to read HTTP URL videos in my Ubuntu system without downloading them. I can do this in windows OS but when I try to run the same code in Ubuntu using the same opencv VideoCapture method it fails to get any frames.
Why is this so ?
I have used same opencv version in both Ubuntu and Windows, can anyone guide me towards a workaround, a tutorial using which I can compile opencv and stream url videos or any other library that supports this functionality in Ubuntu ?
I have tried almost everything but with no productive result which has led me to finally ask this as a question.
opencv build information :
OpenCV modules:
To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python3 python_bindings_generator stitching video videoio
Disabled: world
Disabled by dependency: -
Unavailable: java js python2 ts
Applications: -
Documentation: NO
Non-free algorithms: NO
GUI:
QT: YES (ver 4.8.7 EDITION = OpenSource)
QT OpenGL support: NO
GTK+: NO
VTK support: NO
Media I/O:
ZLib: /lib64/libz.so (ver 1.2.3)
JPEG: /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.35)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
HDR: YES
SUNRASTER: YES
PXM: YES
PFM: YES
Video I/O:
DC1394: NO
FFMPEG: YES
avcodec: YES (ver 58.21.104)
avformat: YES (ver 58.17.101)
avutil: YES (ver 56.18.102)
swscale: YES (ver 5.2.100)
avresample: NO
GStreamer: NO
v4l/v4l2: linux/videodev2.h
Parallel framework: pthreads
Trace: YES (with Intel ITT)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)
OpenCL: YES (no extra features)
Include path: /io/opencv/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python 3:
Interpreter: /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
Libraries: libpython3.6m.a (ver 3.6.5)
numpy: /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
packages path: lib/python3.6/site-packages
Python (for build): /opt/python/cp36-cp36m/bin/python
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Install to: /io/_skbuild/linux-x86_64-3.6/cmake-install -
PHP readfile on a file which is increasing in size
13 février 2013, par Sathiya SundaramIs it possible to use PHP readfile function on a remote file whose size is unknown and is increasing in size ? Here is the scenario :
I'm developing a script which downloads a video from a third party website and simultaneously trans-codes the video into MP3 format. This MP3 is then transferred to the user via readfile.
The query used for the above process is like this :
wget -q -O- "VideoURLHere" | ffmpeg -i - "Output.mp3" > /dev/null 2>&1 &
So the file is fetched and encoded at the same time.
Now when the above process is in progress I begin sending the output mp3 to the user via readfile. The problem is that the encoding process takes some time and therefore depending on the users download speed readfile reaches an assumed EoF before the whole file is encoded, resulting in the user receiving partial content/incomplete files.My first attempt to fix this was to apply a speed limit on the users download, but this is not foolproof as the encoding time and speed vary with load and this still led to partial downloads.
So is there a way to implement this system in such a way that I can serve the downloads simultaneously along with the encoding and also guarantee sending the complete file to the end user ?
Any help is appreciated.
EDIT :
In response to Peter, I'm actually using fread(read readfile_chunked) :<?php
function readfile_chunked($filename,$retbytes=true) {
$chunksize = 1*(1024*1024); // how many bytes per chunk
$totChunk = 0;
$buffer = '';
$cnt =0;
$handle = fopen($filename, 'rb');
if ($handle === false) {
return false;
}
while (!feof($handle)) {
//usleep(120000); //Used to impose an artificial speed limit
$buffer = fread($handle, $chunksize);
echo $buffer;
ob_flush();
flush();
if ($retbytes) {
$cnt += strlen($buffer);
}
}
$status = fclose($handle);
if ($retbytes && $status) {
return $cnt; // return num. bytes delivered like readfile() does.
}
return $status;
}
readfile_chunked($linkToMp3);
?>This still does not guarantee complete downloads as depending on the users download speed and the encoding speed, the EOF() may be reached prematurely.
Also in response to theJeztah's comment, I'm trying to achieve this without having to make the user wait..so that's not an option.
-
Piwik is now Matomo – Announcement
9 janvier 2018, par Matomo Core TeamYou may be surprised to read this announcement, but no stress, take a deep breath, nothing big is going to happen, it is just our name that is changing and here are the reasons why.
Why are we changing from Piwik to Matomo ?
“After an epic 10 year journey creating and perfecting the best open digital analytics solution, we felt it was a good time to refresh our brand to reflect how far we have come and to reaffirm our vision :
To create, as a community, the leading international open source digital analytics platform, that gives every user full control of their data.”Matthieu Aubry, creator of Piwik
As projects evolve, so do names. After 10 years of Piwik and the amazing achievement of building the top open source analytics software that gives every user full control of their data, we are now looking forward to the next chapter. Thus, Piwik, the community project, will now become Matomo. The only change is our name, everything else stays the same.
This will allow users to take a fresh look at what we’ve become today and acknowledging all of the community’s hard work over the past 10 years. In addition, we also want our name to be unique, ensuring that it is not shared with any other company to remove any possible confusion or affiliations. Piwik is already used on over 1 million websites and with Matomo, we hope to reach our maximum potential.
With the strong focus on privacy worldwide and the upcoming privacy regulations about to be legislated in Europe, it is clear that we were on the right mission from the very beginning. With the upcoming big release Matomo 4.0 planned for this year, new privacy protections will bring users the tools to be compliant with the GDPR privacy laws. And Matomo will grow in line with these regulations, with a very clear and focused vision.
Changing our name is an exciting opportunity for us, and we hope you love the name Matomo as much as we do.
Matomo FAQs
So what is going to change for me ?
Well, basically nothing, the name will change but the values stay the same : Matomo (Piwik) will continue to be free and always will be.
Also the same people stay behind the project. We are motivated more than ever to take this project to the next level.
Why not keep the name Piwik ?
For a few reasons, one of which is to ensure that Matomo does not/will not share its name with any other businesses unlike Piwik. We also want to protect the Matomo brand and for it to remain the open source community project name forever.
Where does the name Matomo come from ?
We loved the name Piwik and were looking for something that sounded just as good ! Initially we wanted to have an acronym based on key terms, such as Free, Open Source and Privacy, but none really fit us perfectly.
Until we found Matomo ! Easily pronounced in all languages. Short enough to remember. Concise. And best of all… Matomo means honesty in Japanese. Which aligns with one of our key values – transparency.
We love the name Matomo and hope you do too.
What is the vision of Matomo ?
We have come a long way in those 10 years ! However, our mission statement remains the same :
“To create, as a community, the leading international open source digital analytics platform, that gives every user full control of their data.”
Matomo provides a range of amazing and innovative features, allowing you to get a 360 view of your visitors. These insights are invaluable to help understand behavior, keep track of goals, and increase conversion rates and revenue.
Who will deliver Matomo professional services ?
Any company who wishes to. The only exception is that no companies will be allowed to have the name Matomo.
Our company providing professional services is and will remain InnoCraft.
Where can I follow the Matomo project ?
Our new website will be matomo.org (automatically redirected from Piwik.org)
Follow our new Twitter : twitter.com/matomo_org
Github : github.com/matomo-org
Facebook : facebook.com/Matomo.org
Linkedin : linkedin.com/company/matomo/
If you are already following us on social media, you will be kept up to date with Matomo automatically as all social media accounts will be redirected.
How should I pronounce Matomo ?
If you’re wondering how to say ‘Matomo’, you can find out by clicking play :
Where can I see a demo of Matomo ?
Where can I download Matomo first release ?
(Matomo 3.3.0 will be released in the next few days)
What is the new logo ?
Check it out below.
Matomo trademark Policy
Matomo is an internationally registered trademark of Matthieu Aubry, Founder of Piwik (now Matomo).
Information about how to use the name Matomo (and logo) can be found here : matomo.org/trademark/
What are the next big steps ?
We will keep it simple for our valued users. As it is just a name change, the only thing you will notice is that the Piwik brand will gradually be replaced on the websites you are used to seeing the name on. The first version of Matomo will be available in just a few days for download. The software version numbers stay the same : the next release after Piwik 3.2.1 will be Matomo 3.3.0.
All our public HTTP APIs and Tracking SDKs will continue working normally. As you can imagine, there is a lot of work and complexity behind slowly updating all the SDKs and keeping backwards compatibility, so our renaming project will take a few weeks to complete.
The Matomo trademark will later be transferred into the Matomo foundation, a non-profit that will be dedicated to promoting and ensuring access to Matomo and our related open source projects in perpetuity.
Thank you
Thank you for continuing to support our project, alongside our 20+ Matomo core team members and more than 500 contributors.
Please help to spread the word about this announcement by sharing it with friends or or colleagues who may benefit from using Matomo Analytics !
The post Piwik is now Matomo – Announcement appeared first on Analytics Platform - Matomo.