Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7549)

  • ffmpeg is not creating screenshot from video

    1er décembre 2014, par hitesh

    I need to create a screen shot from video,

    I have followed this tutorial to do the intial setup

    1) I downloaded the ffmpeg from here -[
    http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.

    2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and phpinfo() shows that ffmpeg has been installed.

    3) Then I tried this to find out whether it is working or not,

    It worked successfully

    4) Next I followed this video tutorial here , but for some reason video thumbnails are not created.

    Not able to find the problem, I don’t see any error also.

    below is my code

    /**
    * FFMPEG-PHP Test Script
    *
    * Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
    * See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
    */
    error_reporting(1);
    error_reporting(E_ALL ^ E_NOTICE);
    // Check if the ffmpeg-php extension is loaded first
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    // Determine the full path for our video
    $vid = realpath('./videos/myvideo.mp4');
    $videosize = filesize($vid);
    $remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';

    //ffmpeg

    $ffmpeg = dirname(__FILE__) . "\bin\\ffmpeg";
    $imageFile = "1.png";
    $image2 = "2.png";
    $size = "120x90";
    $getfromsecond = 7;
    $cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
    $cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
    if(!shell_exec($cmd)){
       echo "Thumbnail created";
    }else{
       echo "Error Creating thumbnail";
    }

    if(!shell_exec($cmd2)){
       echo "Thumbnail for remote url was created";
    }else{
       echo "Error Creating thumbnail for remote url ";
    }

     OUTPUT
       Thumbnail created
       Thumbnail for remote url was created

    Please help me solve this issue.

  • Setting getChannelData causing socket.io to crash in web audio

    6 novembre 2014, par Brad.Smith

    I’m having an issue where whenever I transcode an audio file and send the audio buffer to the client via socket.io to be played by web audio my connection dies as soon as I perform

    source.buffer.getChannelData(0).set(audio);

    I’m assuming that this isn’t a Socket.IO problem and that I’m only seeing the Socket.IO issue as a result of the real problem. In the client I’m piping the audio file into stdin of ffmpeg and listening to stderr of ffmpeg to determine when it’s safe to send the buffer. The client is receiving the buffer and is doing everything properly until the line stated above. Here is some sample test code to reproduce the issue.

    Server side :

    var express = require('express');
    var http = require('http');
    var spawn = require('child_process').spawn;

    var app       = express();
    var webServer = http.createServer(app);
    var io        = require('socket.io').listen(webServer, {log: false});

    app.use(express.static(__dirname + '/public'));

    app.get('/', function(req, res){
       res.send(
       "<code class="echappe-js">&lt;script src='http://stackoverflow.com/socket.io/socket.io.js'&gt;&lt;/script&gt;

    \n"+
    "&lt;script&gt;var socket=io.connect('http://127.0.0.1:3000');&lt;/script&gt;\n"+
    "&lt;script src='http://stackoverflow.com/webaudio_file_cli.js'&gt;&lt;/script&gt;"
    ) ;
    ) ;
    webServer.listen(3000) ;

    io.sockets.on(’connection’, function(webSocket)

    var disconnect = ’0’ ;
    var count = 0 ;
    var audBuf = new Buffer([]) ;

    if (disconnect == ’0’)
    console.log(’new connection...’) ;

    var inputStream = spawn(’wget’, [’-O’,’-’,’http://www.noiseaddicts.com/samples/4353.mp3’]) ;

    var ffmpeg = spawn(’ffmpeg’, [
    ’-i’, ’pipe:0’, // Input on stdin
    ’-acodec’, ’pcm_s16le’, // PCM 16bits, little-endian
    ’-ar’, ’24000’, // Sampling rate
    ’-ac’, 1, // Mono
    ’-f’, ’wav’,
    ’pipe:1’ // Output on stdout
    ], stdio : [’pipe’,’pipe’,’pipe’]) ;

    inputStream.stdout.pipe(ffmpeg.stdin) ;

    ffmpeg.stdout.on(’data’, function(data)
    audBuf = Buffer.concat([audBuf,data]) ;
    ) ;

    ffmpeg.stderr.on(’data’, function(data)
    var _line = data.toString(’utf8’) ;
    if (_line.substring(0,5) == ’size=’ && _line.indexOf(’headers :’) > -1)
    console.log(’completed...’) ;
    webSocket.emit(’audio’,audBuf) ;

    ) ;

    webSocket.on(’disconnect’, function()
    console.log(’disconnecting...’) ;
    disconnect=1 ;
    ) ;
    ) ;

    Client side (webaudio_file_cli.js) :

    window.AudioContext = window.AudioContext || window.webkitAudioContext;
    var context = new AudioContext();
    var source = context.createBufferSource();

    var audioStack = [], audio = [];

    socket.on('audio', function(data) {
       playAudio(data);
    });

    function playAudio(data) {
       // playback starting...
       audioStack = Int16Array(data);
       for (var i = 0; i &lt; audioStack.length; i++) {
           audio[i] = (audioStack[i]>0)?audioStack[i]/32767:audioStack[i]/32768; // convert buffer to within the range -1.0 -> +1.0
       }

       var audioBuffer = context.createBuffer(1, audio.length, 24000);
       source.buffer.getChannelData(0).set(audio);
       source.buffer = audioBuffer;
       source.connect(context.destination);
       source.start(0);
    }
  • Introducing Crash Analytics for Matomo

    30 août 2023, par Erin — Community, Plugins

    Bugs and development go hand in hand. As code matures, it contends with new browser iterations, clashes with ad blockers and other software quirks, resulting in the inevitable emergence of bugs. In fact, a staggering 13% of all pageviews come with lurking JavaScript errors.

    Monitoring for crashes becomes an unrelenting task. Amidst this never-ending effort to remove bugs, a SurveyMonkey study unveils a shared reality : a resounding 66% of individuals have encountered bug-ridden websites.

    These bugs lead to problems like malfunctioning shopping carts, glitchy checkout procedures and contact forms that just won’t cooperate. But they’re not just minor annoyances – they pose a real danger to your conversion rates and revenue.

    According to a study, 58% of visitors are inclined to abandon purchases as a result of bugs, while an astonishing 75% are driven to completely abandon websites due to these frustrating experiences.

    Imagine a website earning approximately 25,000 EUR per month. Now, factor in errors occurring in 13% of all pageviews. The result ? A potential monthly loss of 1,885 EUR.

    Meet Crash Analytics

    Driven by our vision to create an empowering analytics product, we’re excited to introduce Crash Analytics, an innovative plugin for Matomo On-Premise that automatically tracks bugs on your website.

    Crash Analytics for Matomo Evolution Graph
    View crash reports by evolution over time

    By offering insights into the precise bug location and the user’s interactions that triggered it, along with details about their device type, browser and more, Crash Analytics empowers you to swiftly address crashes, leading to an improved user experience, higher conversion rates and revenue growth.

    Soon, Crash Analytics will become available to Matomo Cloud users as well, so stay tuned for further updates and announcements.

    Say goodbye to lost revenue – never miss a bug again

    Even if you put your website through the toughest tests, it’s hard to predict every little hiccup that can pop up across different browsers, setups and situations. Factors such as ad blockers, varying internet speeds for visitors and browser updates can add an extra layer of complexity.

    When these crashes happen, you want to know immediately. However, according to a study, only 29% of surveyed respondents would report the existence of the site bug to the website operator. These bugs that go unnoticed can really hurt your bottom line and conversion rates, causing you to lose out on revenue and leaving your users frustrated and disappointed.

    Crash detail report in Crash Analytics for Matomo
    Detailed crash report

    Crash Analytics is here to bridge this gap. Armed with scheduled reporting (via email or texts) and automated alert functionalities, you gain the power to instantly detect bugs as they occur on your site. This proactive approach ensures that even the subtlest of issues are brought to your attention promptly. 

    With automated reports and alerts, you can also opt to receive notifications when crashes increase or ignore specific crashes that you deem insignificant. This keeps you in the loop with only the issues that truly matter, helping you cut out the noise and take immediate action.

    Forward crash data

    Easily forward crash data to developers and synchronise the efforts of technical teams and marketing experts. Track emerging, disappearing and recurring errors, ensuring that crash data is efficiently relayed to developers to prioritise fixes that matter.

    Eemerging, disappearing and recurring crashes in Crash Analytics for Matomo
    Track emerging, disappearing and recurring bugs

    Plus, your finger is always on the pulse with real-time reports that offer a live view of crashes happening at the moment, an especially helpful feature after deploying changes. Use annotations to mark deploys and correlate them with crash data, enabling you to quickly identify if a new bug is linked to recent updates or modifications.

    Crash data in real time
    Crash data in real time

    And with our mobile app, you can effortlessly stay connected to your website’s performance, conveniently accessing crash information anytime and anywhere. This ensures you’re in complete control of your site’s health, even when you’re on the move.

    Streamline bug resolution with combined web and crash analytics

    Crash Analytics for Matomo doesn’t just stop at pinpointing bug locations ; it goes a step further by providing you with a holistic perspective of user interactions. Seamlessly combining Matomo’s traditional and behavioural web analytics features—like segments, session recordings and visitor logs—with crash data, this integrated approach unveils a wealth of insights so you can quickly resolve bugs. 

    For instance, let’s say a user encounters a bug while attempting to complete a purchase on your e-commerce website. Crash Analytics reveals the exact point of failure, but to truly grasp the situation, you delve into the session recordings. These recordings offer a front-row seat to the user’s journey—every click and interaction that led to the bug. Session recordings are especially helpful when you are struggling to reproduce an issue.

    Visits log combined with crash data in Matomo
    Visits log overlayed with crash data

    Additionally, the combination of visitor logs with crash data offers a comprehensive timeline of a user’s engagement. This helps you understand their activity leading up to the bug, such as pages visited, actions taken and devices used. Armed with these multifaceted insights, you can confidently pinpoint the root causes and address the crash immediately.

    With segments, you have the ability to dissect the data and compare experiences among distinct user groups. For example, you can compare mobile visitors to desktop visitors to determine if the issue is isolated or widespread and what impact the issue is having on the user experience of different user groups. 

    The combination of crash data with Matomo’s comprehensive web analytics equips you with the tools needed to elevate user experiences and ultimately drive revenue growth.

    Start in seconds, shape as needed : Your path to a 100% reliable website

    Crash Analytics makes the path to a reliable website simple. You don’t have to deal with intricate setups—crash detection starts without any configuration. 

    Plus, Crash Analytics excels in cross-stack proficiency, seamlessly extending its capabilities beyond automatically tracking JavaScript errors to covering server-side crashes as well, whether they occur in PHP, Android, iOS, Java or other frameworks. This versatile approach ensures that Crash Analytics comprehensively supports your website’s health and performance across various technological landscapes.

    Elevate your website with Crash Analytics

    Experience the seamless convergence of bug tracking and web analytics, allowing you to delve into user interactions, session recordings and visitor logs. With the flexibility of customising real-time alerts and scheduled reports, alongside cross-stack proficiency, Crash Analytics becomes your trusted ally in enhancing your website’s reliability and user satisfaction to increase conversions and drive revenue growth. Equip yourself to swiftly address issues and create a website where user experiences take precedence.

    Start your 30-day free trial of our Crash Analytics plugin today, and stay tuned for its availability on Matomo Cloud.