Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (46)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (6634)

  • Python librosa NoBackendError even though ffmpeg is installed

    11 avril 2020, par Slavko Kovačević

    I recently installed librosa (package I've been using for a while on different PC) on my new PC with Windows 10 running. After that I've downloaded latest static version of ffmpeg and copied it to C: and added it to the Path. Tested ffmpeg and it works like a charm ! For python I am using Anaconda environment and after starting Jupyter Notebook and running librosa.load(path, sr = None) I've got

    



     in <module>&#xA;----> 1 audio = librosa.load(pathToJson)&#xA;&#xA;~\anaconda3\envs\tf_gpu\lib\site-packages\librosa\core\audio.py in load(path, sr, mono, offset, duration, dtype, res_type)&#xA;    117 &#xA;    118     y = []&#xA;--> 119     with audioread.audio_open(os.path.realpath(path)) as input_file:&#xA;    120         sr_native = input_file.samplerate&#xA;    121         n_channels = input_file.channels&#xA;&#xA;~\anaconda3\envs\tf_gpu\lib\site-packages\audioread\__init__.py in audio_open(path, backends)&#xA;    114 &#xA;    115     # All backends failed!&#xA;--> 116     raise NoBackendError()&#xA;&#xA;NoBackendError:&#xA;</module>

    &#xA;&#xA;

    strange isn't it ? Then I went all over the internet, doing whatnot trying to fix it and then I've got an idea to run my line of code inside anaconda command interface and it WORKS ?? How is this possible ? It is the same environment.

    &#xA;&#xA;

    python&#xA;Python 3.7.7 (default, Mar 23 2020, 23:19:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32&#xA;Type "help", "copyright", "credits" or "license" for more information.&#xA;>>> import librosa&#xA;>>> librosa.load(&#x27;test.wav&#x27;)&#xA;(array([-0.00027   , -0.00039953, -0.0003659 , ..., -0.16393574,&#xA;       -0.17814247,  0.        ], dtype=float32), 22050)&#xA;

    &#xA;&#xA;

    I did a lot of testing and I really prefer my Jupyter so any help would be appreciated. I tried the following : I've added C:\ffmpeg\bin and C:\ffmpeg to my Path for both User and System Variables. After that I've made specific variables for ffmpeg and ffmpeg_bin for both User and System Variables. No luck. After that I've tried installing ffmpeg using conda, without success. The last thing I've tested is this :

    &#xA;&#xA;

    import audioread&#xA;audioread.ffdec.FFmpegAudioFile(&#x27;test.wav&#x27;)&#xA;

    &#xA;&#xA;

    and that works. Thanks

    &#xA;

  • Unknown V4L2 pixel format equivalent for yuvj420p

    23 mars 2020, par c10ud

    I am trying to pipe a mp4 video located in Videos/video.mp4 to a virtual webcam device located at /dev/video0.

    I tried running :
    ffmpeg -re -i Videos/video.mp4 -map 0:v -f v4l2 /dev/video0
    and I keep getting the following error :

    [video4linux2,v4l2 @ 0x5580cf270100] Unknown V4L2 pixel format equivalent for yuvj420p
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Error initializing output stream 0:0 --
    Conversion failed!

    Full log :

    ffmpeg version 4.2.2-1+b1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9 (Debian 9.2.1-28)
     configuration: --prefix=/usr --extra-version=1+b1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Videos/video.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2020-03-23T04:24:01.000000Z
       com.android.version: 8.1.0
     Duration: 00:01:00.14, start: 0.000000, bitrate: 20048 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1920x1080, 19898 kb/s, SAR 1:1 DAR 16:9, 29.43 fps, 29.58 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         rotate          : 270
         creation_time   : 2020-03-23T04:24:01.000000Z
         handler_name    : VideoHandle
       Side data:
         displaymatrix: rotation of 90.00 degrees
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
       Metadata:
         creation_time   : 2020-03-23T04:24:01.000000Z
         handler_name    : SoundHandle
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    [video4linux2,v4l2 @ 0x5580cf270100] Unknown V4L2 pixel format equivalent for yuvj420p
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Error initializing output stream 0:0 --
    Conversion failed!

    The desired result is that the mp4 video is seen by apps that try to view the webcam. I am running this on a desktop without a webcam or video interface, which is why I am using /dev/video0

  • Why Matomo is the top Google Analytics alternative

    17 juin, par Joe

    You probably made the switch to Google Analytics 4 (GA4) when Google stopped collecting Universal Analytics (UA) data in July 2023. Up to that point, UA had long been the default analytics platform, despite its many limitations. 

    This was mostly because everyone loved its free nature and simple setup. A Google account was all you needed — even a free legacy G-Suite account worked perfectly. Looking at the analytics for just about any website was easy.

    That all changed with GA4, which addressed many of UA’s shortcomings by introducing a completely new way to model website data. Unfortunately, this also meant you couldn’t transfer historical data from UA into GA4, leading to more criticism. 

    Then there’s the added cost. GA4 is still free, but its limited functionality encourages you to upgrade to the enterprise version, Google Analytics 360 (GA360). Sure, you get lots of great functionality, less data sampling, and longer data retention periods, but it comes at a hefty price — $50,000 per year, to be exact.

    There are other options, though, and Matomo Analytics is one of the best. It’s an open-source, privacy-centric platform that offers advanced features of GA360 and more. 

    In this article, we’ll compare GA4, GA360, and Matomo and give you what you need to make an informed decision.

    Google Analytics 4 in a nutshell

    Google Analytics 4 is a great tool to use to start learning about web analytics. But soon enough, you’ll likely find that GA4 doesn’t quite cover all of your needs. 

    For example, it can’t provide a detailed view of user experiences, and Google doesn’t offer dedicated support or onboarding. There are other shortcomings, too.

    Data sampling

    Google only processes a selected sample of website activity rather than every individual data point. Rather than looking at the whole picture, it sets a threshold and selects a [hopefully] representative sample for analysis. 

    This inevitably creates gaps in data. Google attempts to fill them in using AI and machine learning, inferring the rest from data patterns. Since the results rely on assumptions and estimates, they aren’t always precise.

    In practical terms, this means that the accuracy of GA4 analysis will likely decline as website traffic increases.

    A graphic illustration of how data sampling works

    (Image source)

    Data collection limits

    GA4’s 25 million monthly events limit seems like a lot, but they add up quickly. 

    All user interactions are recorded as events, including :

    • Session start : User visits the site.
    • Page view : User loads a page (tracked automatically).
    • First visit : User accesses the site for the first time.
    • User engagement : User stays on a page for a set time period.
    • Scroll : User scrolls past 90% of the page (enhanced measurement).
    • Click : User clicks on any element (links, buttons, etc.).
    • Video start/complete : User starts or completes a video (enhanced measurement).
    • File download : User downloads a file (enhanced measurement).

    For context, consider a website averaging 50 events per session per user. If every user logs on every third day, on average, you’ll need 10,000 individual visitors a month to reach that 25 million. But that’s not the problem. 

    The problem is that collection limits in GA4 affect your ability to capture, secure, and analyse customer data effectively.

    Customisation

    GA4 users also face configuration limits that restrict their customisation options. For example : 

    • Audience limits : Since only 100 audiences are allowed, it’s necessary to combine or optimise segments rather than track too many small groups. 
    • Retention limits : Data retention is limited to only 14 months, so external storage solutions may be necessary in situations where historical data needs to be preserved.
    • Conversion events : GA4 will only track up to 30 conversion events, so it’s best to focus on high-value interactions (e.g., purchases and lead form submissions). 
    • Event-scoped dimensions : Since e-commerce operations are limited to 50 event-scoped dimensions, they need to carefully consider custom dimensions and key metrics. This makes it important to be selective about which product details to track (color, size, discount code, etc.).

    Data privacy

    GA4 isn’t GDPR-compliant out of the box. In fact, Google Analytics 4 is banned in seven EU countries because they believe the way it collects and transfers data violates GDPR.

    Data privacy regulations may or may not be a big concern, depending on where your customers are. However, if some are in the UK or any of the 30 countries that make up the European Economic Area (EEA), you must comply with the General Data Protection Regulation (GDPR). 

    It tells your customers that you don’t respect their data if you don’t. It can also get very expensive.

    Limited attribution models

    Attribution models track how different marketing touchpoints lead to a conversion (such as a purchase, sign-up, or lead generation). They help businesses understand which marketing channels and strategies are most effective in driving results.

    GA4 supports only two of the six standard attribution models previously supported in Universal Analytics. Organisations wanting data-driven or last-click attribution models will find them in Google Analytics. But they’ll need to look elsewhere if they’re going to use any of these models :

    • First click attribution
    • Linear attribution
    • Time decay attribution
    • Position-based attribution (u-shaped)

    GA360 isn’t a solution either

    Fundamentally, GA360 is the same product as GA4, without the above limits and restrictions. For companies that pay $50,000 (or more) each year, the only changes involve how much data is collected, how long it stays and data sampling thresholds.

    Above all, the GDPR-compliance issue remains. That can be a real problem for organisations with operations that collect personal data in the EEA or the UK.

    And the problem could soon be much bigger than just those 31 countries. Many countries currently implementing data privacy laws are modelling their efforts on GDPR, which may rule out both GA4 and GA360.

    Image of user customising an Matomo report and view

    What makes Matomo the top alternative ?

    No data limits

    One way to overcome all these challenges is to switch to Matomo Analytics. 

    There’s no data sampling and no data collection limits whatsoever with on-premise implementation. Matomo also supports all six attribution models, is open source and fully customisable and complies with GDPR out of the box. 

    Imagine trying to change your business strategy or marketing campaigns if you’re not confident that your data is reliable and accurate.

    It’s no secret that data sampling can negatively affect the accuracy of the data, and inaccurate data can lead to poor decision-making.

    With Matomo, there are no limits. We don’t restrict the size of containers within the Tag Manager nor the number of containers or tags within each container. You have more control over your customers’ data. 

    And you get to make your decisions based on all that data. That’s important because data quality is critical for high-impact decisions. 

    Open source

    Open-source software allows anyone to inspect, audit, and improve the source code for security and efficiency. That means no hidden data collection, faster bug fixes, and no vendor lock-in. As a bonus, these things make complying with data privacy laws and regulations easier.

    Matomo can also be modified in any way, which provides unlimited customisation possibilities. There’s also a very active developer community around Matomo, so you don’t have to make changes yourself — you can hire someone who has the technical knowledge and expertise. They can : 

    • Modify tracking scripts for advanced analytics
    • Create custom attribution models, tracking methods and dashboards
    • Integrate Matomo with any system (CRM, eCommerce, CMS, etc.)

    Data ownership

    Matomo’s open-source nature also means full data ownership. No third parties can access the data, and there’s no risk of Google using that data for ads or AI training. Furthermore, Matomo follows privacy-first tracking principles, meaning that there’s :

    • No third-party data sharing
    • Full user consent control
    • Support for cookie-less tracking
    • IP Anonymisation, by default
    • Do Not Track (DNT) support

    All of that underlines the fact that Matomo collects, stores, and tracks data 100% ethically.

    On-premise and cloud-based options

    You can use the Matomo On-Premise web analytics solution if local data privacy laws require that you store data locally. Here’s a helpful tip : many of them do. However, this might not be necessary. 

    Due to GDPR, several countries recognise the EEA as an acceptable storage location for their citizens’ data. That means servers hosted in any of those 30 countries are already compliant in terms of data location. 

    Alternatively, you could embrace modernity and choose Matomo Cloud — our servers are also in Europe. While GA4 and GA360 are cloud-based, Google’s servers are in the US, and that’s a big problem for GDPR.

    Image of a map of Europe overlaid with the universal symbol for data storage.

    Comprehensive analytics

    If you need a sophisticated web analytics platform that offers full control of your data and you have privacy concerns, Matomo is a solid choice. 

    It has built-in behavioural analytics features like HeatmapsScroll Depth and Session Recording. These tools allow you to collect and analyse data without relying on cookies or resorting to data sampling.

    Those standout features can’t be found in GA4 or GA360. Google also doesn’t offer an on-premise solution.

    The one area where Matomo can’t compete with Google Analytics is in its tight integration with the Google ecosystem : Google Ads, Gemini and Firebase. 

    Key things to consider before switching to Matomo

    There are pros and cons to switching from GA4 (or even GA360) to Matomo. That’s because no software is perfect. There are always tradeoffs somewhere. With Matomo, there are a few things to consider before switching :

    • Learning curve. Matomo is a full-featured analytics platform with many advanced features (session replay, custom event tracking, etc.). That can overwhelm new users and take time to understand well enough to maximise the benefits.
    • Technical resources. Choosing a Matomo On-Premise solution requires technical resources, such as a server and skills.
    • Third-party integration. Matomo provides pre-built integration tools for about a hundred platforms. However, it’s open source, so technical resources are required. On the plus side, it does make it possible to add to the list of APIs and connectors.

    Head-to-head : GA4 vs GA360 vs Matomo

    It’s always helpful to look at how different products stack up in terms of features and capabilities :

    GA4GA360Matomo
    Data ownership  
    Event-based data
    Session-based data  
    Unsampled data  
    Real-time data
    Heatmaps  
    Session recordings  
    A/B testing  
    Open source  
    On-premise hosting  
    Data privacySubject to Google’s data policiesSubject to Google’s data policiesGDPR, CCPA compliant ; full control over data storage
    Custom dimensionsYes (limited in free version)Yes (higher limits)Yes (unlimited in self-hosted)
    Attribution modelsLast click, data-drivenLast click, data-driven, advanced Google Ads integrationLast click, first click, linear, time decay, position-based, custom
    Data retentionUp to 14 months (free)Up to 50 monthsUnlimited (self-hosted)
    IntegrationsGoogle Ads, Search Console, BigQuery (limited in free version)Advanced integrations (Google Ads, BigQuery, Salesforce, etc.)100+ integrations (Google Ads, WordPress, Shopify, etc.)
    BigQuery exportFree (limited to 1M events/day)Free (unlimited)Paid add-on (via plugin)
    Custom reportsLimited customisationAdvanced customisationFully customisable
    ScalabilitySuitable for small to medium businessesDesigned for large enterprisesScalable without limits (self-hosted or cloud)
    Ease of useSimple, requires onboardingSteeper learning curveFlexible, setup-intensive.
    PricingFreePremium (starts at $50,000/year)Free open-source (self-hosted) ; Cloud starts at $29/month

    So, is Matomo the right solution for you ?

    That’d be a ‘yes’ if you want a Google Analytics alternative that ticks all these boxes :

    • Complies natively with privacy laws and regulations
    • Offers real-time data and custom event tracking
    • Enables a deeper understanding of user behaviour
    • Allows you to fine-tune user experiences
    • Provides full control over your customers’ data
    • Offers conversion funnels, session recordings and heatmaps
    • Has session replay to trace user interactions
    • Includes plenty of readily actionable insights

    Find out why millions of websites trust Matomo

    Matomo is an easy-to-use, all-in-one web analytics tool with advanced behavioural analytics functionality.

    It’ll also help you future-proof your business because it supports compliance with global privacy laws in 162 countries. With an ethical alternative like Matomo, you don’t need to risk your business or customers’ private data.

    It’s not just about avoiding fines. It’s also about building trust with your customers. That’s why you need a privacy-focused, ethical solution like Matomo. 

    See for yourself : download Matomo On-Premise today, or start your 21-day free trial of Matomo Cloud (no credit card required).