Recherche avancée

Médias (91)

Autres articles (74)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (12057)

  • Why do you need analytics for your WordPress ?

    7 avril 2020, par Joselyn Khor — Analytics Tips, Plugins

    Not many people know this, but having a WordPress analytics tool gives you a competitive advantage. It’s also essential to the growth of your website. For many businesses, websites are the main driver of revenue and sales. In the case of blogs, it’s your first chance to make a lasting impression.

    Now, maybe you’ve heard of Google Analytics or even the privacy-friendly alternative, Matomo Analytics, but have never tried them ? These are analytics platforms that help you understand your website traffic and visitors. (You can find these platforms as plugins in the WordPress directory !)

    They’re important because the insights you get help you determine what changes to make to improve your website. Without them you could face a tougher time figuring out what’s working, what the issues are (and solving them before they get out of hand), and making sure you’re taking your website in the right direction. 

    WordPress analytics gives you an understanding of what’s actually going on.

    How does a WordPress analytics plugin benefit your website ?

    What this means for you is getting a toolkit to learn how to get more sales or followers and subscribers (aka conversions in analytics terms). 

    By getting insights into user behaviour, content performance, and how you can optimise your website, you can reach more of your goals, like increasing sales or growing your audience.

    A WordPress analytics tool helps you get more traffic to your site

    You get a range of features which tell you which acquisition channels are working for you like – social media, search engines, and other websites mentioning you. This helps you make an informed decision on where to focus energies (or spend) to get more of the ideal people coming through to your website. 

    Increase traffic with wordpress analytics

    Example : Looking through your acquisition channels and seeing that Reddit drives a lot of traffic through to your website. Since this channel seems to be working for you, you could then spend more time on Reddit posts to increase traffic.

    But getting more traffic isn’t all there is to it. Once they land on your site, you want them to stay for a little longer so they are intrigued by what you’re offering. Be it a product, or awesome content.

    Which leads us to …

    Increasing engagement by learning about visitor behaviour

    When you get a solid number of visitors on your website, it’s good to then learn about how they behave on your site. A WordPress analytics tool helps with engagement since you’re seeing what’s appealing to them, and what isn’t.

     Increasing engagement is good for a few reasons. 

    • You end up speaking the language of your readers. 
    • You can make a difference with the information you’re putting out. 
    • You get loyal customers and believers in your organisation. 

    With more engaged visitors, you can build trust with them and eventually be able to convince them that your product, service, or blog is needed in their lives.

    WordPress analytics entry pages

    Example : Looking through entry and exit pages to see what first impression is making them stay, and what impression is making them leave. This helps you redirect efforts to give your website a better chance of getting visitors to stay longer.

    Improving your content and engagement can lead to more conversions

    After you get visitors engaged, it’s time to convert. 

    Whether you have an ecommerce site or freelance blog, you’ll need to know how to boost conversions. This simply means getting people to achieve more of the actions you’re wanting them to take on your site. Like subscribing to your newsletter or adding items to a cart.

    With conversion optimization features, you’re finding out how well your website is designed to get buyers through a journey to conversion. 

    Funnels for WordPress analytics

    Example : Say you’ve created a newsletter sign up page, but you’re not getting as many sign ups as you’d like. With a web analytics tool, you can look into it further. A funnels feature could tell you how they’re getting to that page. If people can’t find your page, that could be reason for low conversion rates. Or, maybe you are getting people landing on this page, but you can’t tell why they’re not signing up. Try setting up a heatmap to see how far they’re scrolling down your page to the sign up section. Through these conversion optimization features, you can make tweaks that significantly improve conversions.

    So, how does the Matomo Analytics for WordPress plugin help with all of this ?

    Matomo Analytics for WordPress is a free web analytics plugin that gives you access to all the features mentioned above, right in your own WordPress dashboard. It’s completely free to use and is handy for users of all skill levels. From beginners right through to advanced analysts. 

    You get to move through all the stages to increase traffic, increase engagement, and convert. By using Matomo for WordPress, you put yourself in a better position to track all the needed data from your WordPress website. 

    You have this toolkit to improve your website for free, with a few clicks ! 

    By getting useful insights like visitors, acquisitions, bounce rates etc. you gain a new perspective on how to improve your website so it’s better at doing what you created it to do. Getting these insights also means giving yourself the confidence to do what’s best for your website in a data-driven way. 

    With all this knowledge, you can be competitive, or grow enough that you’re leaving your competitors in the dust. 

  • I am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower

    8 mai 2020, par Ajax

    I am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower. The picture of my player and video source will increase with the time difference. The video are not synchronized. I'm pulling on the local area network。
The longer it is played, the more the picture of the video source will be. The more it cannot automatically return to the real-time picture like MediaCode's hardware decoding.The decoded picture is in slow motion, and it will freeze after a while.。What causes this ? How can i optimize it。
this is my code

    



    2020-5-8/Problem has been solved

    


  • ffmpeg : how to correctly program input framerate calculation, given desired video length duration and output framerate ?

    19 septembre 2015, par user89

    Let us say that I have n pictures named as imgXY.png (where XY represent the numbers 0 to n-1, properly padded with zeros).

    From these, I would like to create a video that is t seconds long, that has an (output) framerate R.

    I want to figure out what the input framerate should be, so I do the following calculation :

    • time spent per frame : t_per_frame = t/n

    • input framerate : 1/t_per_frame = n/t

    However, when I then try to create a movie using the following command :

    ffmpeg -framerate n/t -i img%02d.png -r 30 test_output.mp4

    I don’t get a movie that is t seconds long, and only two of the frames end up getting displayed. Why is this the case ?

    The following questions were unhelpful :

    How to successfully use ffmpeg to convert images into videos

    Turning images into videos with ffmpeg

    I think I am misunderstanding what is meant by input framerate, and what is meant by output framerate. Could you help clarify ? I am using a Python script to call ffmpeg, as documented here : http://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-python-using-ffmpeg/

    Here’s the output from the following manually executed command :

    ffmpeg -framerate 24/5 -i img%02d.png -c:v libx264 -r 30 -pix_fmt yuv420p test_output.mp4

    ffmpeg version N-75204-g314bc20 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-opencl --enable-zlib
     libavutil      55.  2.100 / 55.  2.100
     libavcodec     57.  1.100 / 57.  1.100
     libavformat    57.  0.100 / 57.  0.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6.  1.100 /  6.  1.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.100 /  2.  0.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, image2, from 'img%02d.png':
     Duration: 00:00:00.42, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgb24(pc), 800x400, 4.80 tbr, 4.80 tbn, 4.80 tbc
    File 'test_output.mp4' already exists. Overwrite ? [y/N] y
    [libx264 @ 0000000004f16ba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0000000004f16ba0] profile High, level 3.0
    [libx264 @ 0000000004f16ba0] 264 - core 148 r2597 e86f3a1 - H.264/MPEG-4 AVC cod
    ec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 r
    ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
    _ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
    p=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 dec
    imate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b
    _adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=
    25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.
    60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'test_output.mp4':
     Metadata:
       encoder         : Lavf57.0.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 800x40
    0, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.1.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=   12 fps=0.0 q=-1.0 Lsize=       3kB time=00:00:00.33 bitrate=  62.2kbits
    /s dup=10 drop=0
    video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ove
    rhead: 60.557274%
    [libx264 @ 0000000004f16ba0] frame I:1     Avg QP:10.12  size:   566
    [libx264 @ 0000000004f16ba0] frame P:3     Avg QP:18.10  size:    62
    [libx264 @ 0000000004f16ba0] frame B:8     Avg QP:13.75  size:    22
    [libx264 @ 0000000004f16ba0] consecutive B-frames:  8.3%  0.0% 25.0% 66.7%
    [libx264 @ 0000000004f16ba0] mb I  I16..4: 99.4%  0.0%  0.6%
    [libx264 @ 0000000004f16ba0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0
    %  0.0%  0.0%  0.0%    skip:99.9%
    [libx264 @ 0000000004f16ba0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0
    %  0.0%  direct: 0.0%  skip:99.9%  L0:37.5% L1:62.5% BI: 0.0%
    [libx264 @ 0000000004f16ba0] 8x8 transform intra:0.0% inter:0.0%
    [libx264 @ 0000000004f16ba0] coded y,uvDC,uvAC intra: 0.6% 0.0% 0.0% inter: 0.0%
    0.0% 0.0%
    [libx264 @ 0000000004f16ba0] i16 v,h,dc,p: 96%  0%  4%  0%
    [libx264 @ 0000000004f16ba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 36%  2%  2%
    3%  3%  5%  1%
    [libx264 @ 0000000004f16ba0] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 0000000004f16ba0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0000000004f16ba0] ref P L0: 50.0% 50.0%
    [libx264 @ 0000000004f16ba0] kb/s:18.50