Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (37)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5221)

  • How to measure the performance of a newsletter (or any email) with Matomo

    19 décembre 2017, par InnoCraft

    To be able to grow your business, it is crucial to track all your marketing efforts. This includes all newsletters and emails that you share with people outside of your business. Otherwise, you won’t be able to know which of your daily efforts are yielding results.

    Are you wondering if it is possible to track the performance of an emailing campaign in Matomo (Piwik) efficiently ? Would you like to know if it is technically easy ? No worries, here is a “How to” tutorial showing you how easily you can track an emailing in Matomo properly.

    Different tracking levels for different needs

    There are many things that you may be interested to track, for example :

    1. How many users opened your email
    2. How many users interacted with the links in your email
    3. How many users interacted on your website through your email

    Let’s have a look at each of these levels.

    Step 1 – Tracking email and newsletter openings in Matomo

    Tracking email openings requires to add an HTML code to your newsletter. It works through what we call a tracking pixel, a tiny image of 1×1 that is transparent so the user will not be able to see it.
    In order to install it, here is an example of what this code looks like :

    <img src="https://piwik.example.com/piwik.php?idsite=YOUR_PIWIK_WEBSITE_ID&rec=1&bots=1&url=https%3A%2F%2Fexample.com%2Femail-opened%2Fnewsletter_XYZ&action_name=Email%20opened&_rcn=internal%20email%20name&_rck=newsletter_XYZ" style="border:0;” alt="" />

    The Matomo tracking pixel explained

    The above URL is composed of the following URL parameters which are part of our Tracking API :

    • idsite : Corresponds to the ID of the website you would like to track.
    • rec : You need to have rec=1 in order for the request to be actually recorded.
    • bots : Set it to 1 to include all the connections made to this request, bots included.
    • url : corresponds to the URL you would like to display in Matomo (Piwik) every time the email is opened.
    • action_name : This is the page name you would like to be tracked when the email is opened.
    • _rcn : The name you would like to give to your campaign.
    • _rck : The keyword you may like to use in order to summarize the content of your newsletter.

    You may have noticed some special characters here such as “%20”, “%2F”. That’s because the URL is encoded. We strongly recommend you to do so in order for your tracking not to break. Many tools are available on the web in order to encode your URLs such as https://www.urlencoder.org/.

    If you would like to access the previous tracking code easily, keep in mind that you can always find the tracking code generator within the “Matomo admin panel → Tracking code” :

    You can find more information about it on our guide at : How do I track how many users open and read my newsletter emails (using a pixel / beacon) ?

    As a result, the information will be pushed as following for any user who opens your email :

    To not bias your regular page views on your website with newsletter openings, we recommend tracking newsletter openings into a new website.

    Tracking even more data : the user ID example

    You can go deeper in your URL tracking by inserting other parameters such as the user id if you have this information within your emailing database. One of the main benefit of tracking the User ID is to connect data across multiple devices and browsers for a given user.

    You only need to add the following parameter &uid=XXX where XXX equals the dynamic value of the user ID :

    Make sure that UID from your emailing provider is the same as the one used on your website in order for your data to be consistent.

    Important note : some email providers are loading email messages by default which results in an opening even if the user did not actually open the email.

    Step 2 – Measure the clicks within your emailing

    Tracking clicks within an email lets you know with which content readers interacted the most. We recommend tracking all links in all your emails as a campaign, whether it is a newsletter, a custom support email, an email invoice, etc. You might be surprised to see which of your emails lead to conversions and if they don’t, try to tweak those emails, so they might in the future.

    Tracking clicks This works thanks to URL campaign tracking. In order to perform this action, you will need to add Matomo (Piwik) URL parameters to all your existing link URLs :

    • Website URL : for example “www.your-website.com”.
    • Campaign name : for example “pk_campaign=emailing”. Represents the name you would like to give to your campaign.
    • Campaign keyword : for example “pk_keyword=name-of-your-article”. Represents the name you would like to give to your content.
    • Campaign source : for example “pk_source=newsletter”. Represents the name of the referrer.
    • Campaign medium : for example “pk_medium=email”. Represents the type of referrer you are using.
    • Campaign content : for example “pk_content=title”. Represents the type of content.

    You can find more information about campaign url tracking in our “Tracking marketing campaigns with Matomo” guide.

    Here is a sample showing you how you can differentiate some links in a newsletter, all pointing to the same URL :

    Once you have added these URL parameters to each of your link, Matomo (Piwik) will clearly indicate the referrer of this specific campaign when a user clicks on a link in the newsletter and visits your website.

    Important note : if you do not track your campaigns, it will result in a bad interpretation of your data within Matomo (Piwik) as you will get webmail services or direct entries as referrer instead of your newsletter campaign.

    Step 3 – Measure emailing performances on your website

    Thanks to Matomo (Piwik) URL campaign parameters, you can now clearly identify the traffic brought through your emailing. You can now specifically isolate users who come from emails by creating a segment :

    Once done, you can either have a look at each user specifically through the visitor log report or analyze it as a whole within the rest of the reports.

    You can even measure your return on investment directly if goals have been defined. In order to know more about how to track goals within Matomo (Piwik).

    Did you like this article ?

    If you enjoyed reading this article, do not hesitate to share it around you. Moreover, if there are any topics you would like to write us about in particular, just drop us an email and we will be more than happy to write about it.

    The post How to measure the performance of a newsletter (or any email) with Matomo appeared first on Analytics Platform - Matomo.

  • How to measure the performance of a newsletter (or any email) with Piwik

    19 décembre 2017, par InnoCraft — Community

    To be able to grow your business, it is crucial to track all your marketing efforts. This includes all newsletters and emails that you share with people outside of your business. Otherwise, you won’t be able to know which of your daily efforts are yielding results.

    Are you wondering if it is possible to track the performance of an emailing campaign in Piwik efficiently ? Would you like to know if it is technically easy ? No worries, here is a “How to” tutorial showing you how easily you can track an emailing in Piwik properly.

    Different tracking levels for different needs

    There are many things that you may be interested to track, for example :

    1. How many users opened your email
    2. How many users interacted with the links in your email
    3. How many users interacted on your website through your email

    Let’s have a look at each of these levels.

    Step 1 – Tracking email and newsletter openings in Piwik

    Tracking email openings requires to add an HTML code to your newsletter. It works through what we call a tracking pixel, a tiny image of 1×1 that is transparent so the user will not be able to see it.
    In order to install it, here is an example of what this code looks like :

    <img src="https://piwik.example.com/piwik.php?idsite=YOUR_PIWIK_WEBSITE_ID&rec=1&bots=1&url=https%3A%2F%2Fexample.com%2Femail-opened%2Fnewsletter_XYZ&action_name=Email%20opened&_rcn=internal%20email%20name&_rck=newsletter_XYZ" style="border:0;” alt="" />

    The Piwik tracking pixel explained

    The above URL is composed of the following URL parameters which are part of our Tracking API :

    • idsite : Corresponds to the ID of the website you would like to track.
    • rec : You need to have rec=1 in order for the request to be actually recorded.
    • bots : Set it to 1 to include all the connections made to this request, bots included.
    • url : corresponds to the URL you would like to display in Piwik every time the email is opened.
    • action_name : This is the page name you would like to be tracked when the email is opened.
    • _rcn : The name you would like to give to your campaign.
    • _rck : The keyword you may like to use in order to summarize the content of your newsletter.

    You may have noticed some special characters here such as “%20”, “%2F”. That’s because the URL is encoded. We strongly recommend you to do so in order for your tracking not to break. Many tools are available on the web in order to encode your URLs such as https://www.urlencoder.org/.

    If you would like to access the previous tracking code easily, keep in mind that you can always find the tracking code generator within the “Piwik admin panel → Tracking code” :

    You can find more information about it on our guide at : How do I track how many users open and read my newsletter emails (using a pixel / beacon) ?

    As a result, the information will be pushed as following for any user who opens your email :

    To not bias your regular page views on your website with newsletter openings, we recommend tracking newsletter openings into a new website.

    Tracking even more data : the user ID example

    You can go deeper in your URL tracking by inserting other parameters such as the user id if you have this information within your emailing database. One of the main benefit of tracking the User ID is to connect data across multiple devices and browsers for a given user.

    You only need to add the following parameter &uid=XXX where XXX equals the dynamic value of the user ID :

    Make sure that UID from your emailing provider is the same as the one used on your website in order for your data to be consistent.

    Important note : some email providers are loading email messages by default which results in an opening even if the user did not actually open the email.

    Step 2 – Measure the clicks within your emailing

    Tracking clicks within an email lets you know with which content readers interacted the most. We recommend tracking all links in all your emails as a campaign, whether it is a newsletter, a custom support email, an email invoice, etc. You might be surprised to see which of your emails lead to conversions and if they don’t, try to tweak those emails, so they might in the future.

    Tracking clicks This works thanks to URL campaign tracking. In order to perform this action, you will need to add Piwik URL parameters to all your existing link URLs :

    • Website URL : for example “www.your-website.com”.
    • Campaign name : for example “pk_campaign=emailing”. Represents the name you would like to give to your campaign.
    • Campaign keyword : for example “pk_keyword=name-of-your-article”. Represents the name you would like to give to your content.
    • Campaign source : for example “pk_source=newsletter”. Represents the name of the referrer.
    • Campaign medium : for example “pk_medium=email”. Represents the type of referrer you are using.
    • Campaign content : for example “pk_content=title”. Represents the type of content.

    You can find more information about campaign url tracking in our “Tracking marketing campaigns with Piwik” guide.

    Here is a sample showing you how you can differentiate some links in a newsletter, all pointing to the same URL :

    Once you have added these URL parameters to each of your link, Piwik will clearly indicate the referrer of this specific campaign when a user clicks on a link in the newsletter and visits your website.

    Important note : if you do not track your campaigns, it will result in a bad interpretation of your data within Piwik as you will get webmail services or direct entries as referrer instead of your newsletter campaign.

    Step 3 – Measure emailing performances on your website

    Thanks to Piwik URL campaign parameters, you can now clearly identify the traffic brought through your emailing. You can now specifically isolate users who come from emails by creating a segment :

    Once done, you can either have a look at each user specifically through the visitor log report or analyze it as a whole within the rest of the reports.

    You can even measure your return on investment directly if goals have been defined. In order to know more about how to track goals within Piwik.

    Did you like this article ?

    If you enjoyed reading this article, do not hesitate to share it around you. Moreover, if there are any topics you would like to write us about in particular, just drop us an email and we will be more than happy to write about it.

  • FFMPEG ALSA xrun crash

    13 décembre 2017, par Liam Martens

    I’m running a YouTube RTMP stream using FFMPEG with x11grab and an alsa loopback device but sometimes after let’s say 20 hours there is an ALSA xrun and then the ffmpeg command crashes, but I’m not sure why or how this happens. (mind you the ffmpeg command does not run continuously it gets restarted automatically every so often, but the xrun makes the command crash causing the stream to go offline sometimes because a crash restart is not fast enough)

    I’m using thread_queue_size and I’ve even manually compiled ffmpeg with a higher ALSA BUFFER SIZE, but the issue appears to persist still. Besides this I’ve also scoured many posts with people having similar issues but these never really seem to end up resolved.

    This is the stream command

    ffmpeg -loglevel verbose -f alsa -thread_queue_size 12288 -ac 2 -i hw:Loopback,1,0 \
            -probesize 10M -f x11grab -field_order tt -thread_queue_size 12288 -video_size 1280x720 -r 30 -i :1.1 \
           -c:v libx264 -c:a libmp3lame -shortest -tune fastdecode -tune zerolatency \
           -crf 26 -pix_fmt yuv420p -threads 0 -maxrate 2500k -bufsize 2500k -pass 1 -af aresample=async=1 \
           -movflags +faststart -flags +global_header -preset ultrafast -r 30 -g 60 -b:v 2000k -b:a 192k -ar 44100 \
           -f flv -rtmp_live live rtmp://a.rtmp.youtube.com/live2/{KEY}

    Log excerpt

    ffmpeg version N-89463-gc7a5e80 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
     configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gpl --enable-libmp3lame --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libtheora --enable-postproc --enable-pic --enable-pthreads --enable-shared --disable-stripping --disable-static --enable-vaapi --enable-libopus --enable-libfreetype --enable-libfontconfig --enable-libpulse --disable-debug
     libavutil      56.  5.100 / 56.  5.100
     libavcodec     58.  6.103 / 58.  6.103
     libavformat    58.  3.100 / 58.  3.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  7.100 /  7.  7.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, alsa, from 'hw:Loopback,1,0':
     Duration: N/A, start: 1513163617.594224, bitrate: 1536 kb/s
       Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Input #1, x11grab, from ':1.1':
     Duration: N/A, start: 1513163617.632434, bitrate: N/A
       Stream #1:0: Video: rawvideo, 1 reference frame (BGR[0] / 0x524742), bgr0(top first), 854x480, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
    Parsing...
    Parsed protocol: 0
    Parsed host    : a.rtmp.youtube.com
    Parsed app     : live2
    RTMP_Connect1, ... connected, handshaking
    HandShake: Type Answer   : 03
    HandShake: Server Uptime : 0
    HandShake: FMS Version   : 4.0.0.1
    HandShake: Handshaking finished....
    RTMP_Connect1, handshaked
    Invoking connect
    HandleServerBW: server BW = 2500000
    HandleClientBW: client BW = 10000000 2
    HandleChangeChunkSize, received: chunk size change to 256
    RTMP_ClientPacket, received: invoke 240 bytes
    (object begin)
    Property:
    Property:
    Property:
    (object begin)
    Property: 3,5,3,824>
    Property:
    Property:
    (object end)
    Property:
    (object begin)
    Property:
    Property:
    Property:
    Property:
    Property:
    (object begin)
    Property:
    (object end)
    (object end)
    (object end)
    HandleInvoke, server invoking <_result>
    HandleInvoke, received result for method call <connect>
    Invoking releaseStream
    Invoking FCPublish
    Invoking createStream
    RTMP_ClientPacket, received: invoke 21 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    (object end)
    HandleInvoke, server invoking <onbwdone>
    Invoking _checkbw
    RTMP_ClientPacket, received: invoke 29 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property:
    (object end)
    HandleInvoke, server invoking &lt;_result>
    HandleInvoke, received result for method call <createstream>
    Invoking publish
    RTMP_ClientPacket, received: invoke 73 bytes
    (object begin)
    Property:
    Property:
    Property: NULL
    Property:
    (object begin)
    Property:
    Property:
    (object end)
    (object end)
    HandleInvoke, server invoking <onstatus>
    HandleInvoke, onStatus: NetStream.Publish.Start
    Stream mapping:
     Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
     Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [graph 0 input from stream 1:0 @ 0x5607d087e060] w:854 h:480 pixfmt:bgr0 tb:1/30 fr:30/1 sar:0/1 sws_param:flags=2
    [auto_scaler_0 @ 0x5607d087d800] w:iw h:ih flags:'bicubic' interl:0
    [format @ 0x5607d087ed40] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
    [auto_scaler_0 @ 0x5607d087d800] w:854 h:480 fmt:bgr0 sar:0/1 -> w:854 h:480 fmt:yuv420p sar:0/1 flags:0x4
    [swscaler @ 0x5607d0880260] Warning: data is not aligned! This can lead to a speed loss
    [libx264 @ 0x5607d08684e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x5607d08684e0] profile Constrained Baseline, level 3.1
    [libx264 @ 0x5607d08684e0] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=2 lookahead_threads=2 sliced_threads=1 slices=2 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=26.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1500 vbv_bufsize=1500 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
    [graph_1_in_0_0 @ 0x5607d091c840] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
    [Parsed_aresample_0 @ 0x5607d0916b40] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:s16p r:44100Hz
    Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/{KEY}':
     Metadata:
       encoder         : Lavf58.3.100
       Stream #0:0: Video: h264 (libx264), 1 reference frame ([7][0][0][0] / 0x0007), yuv420p(top coded first (swapped)), 854x480, q=-1--1, 1000 kb/s, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc58.6.103 libx264
       Side data:
         cpb: bitrate max/min/avg: 1500000/0/1000000 buffer size: 1500000 vbv_delay: -1
       Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p, delay 1105, 192 kb/s
       Metadata:
         encoder         : Lavc58.6.103 libmp3lame
    frame=   29 fps=0.0 q=17.0 size=     146kB time=00:00:00.94 bitrate=1267.3kbits/s speed=1.86x    
    frame=   44 fps= 44 q=18.0 size=     168kB time=00:00:01.46 bitrate= 942.4kbits/s speed=1.45x    
    frame=   60 fps= 40 q=16.0 size=     191kB time=00:00:01.96 bitrate= 794.8kbits/s speed= 1.3x    
    ...
    frame= 2740 fps= 30 q=17.0 size=    7993kB time=00:01:31.32 bitrate= 717.0kbits/s speed=   1x    
    frame= 2755 fps= 30 q=18.0 size=    8013kB time=00:01:31.82 bitrate= 714.9kbits/s speed=   1x    
    [alsa @ 0x5607d084d7e0] ALSA buffer xrun.
    </onstatus></createstream></onbwdone></connect>