Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (28)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (3726)

  • avutil/mathematics : speed up av_gcd by using Stein’s binary GCD algorithm

    11 octobre 2015, par Ganesh Ajjanagadde
    avutil/mathematics : speed up av_gcd by using Stein’s binary GCD algorithm
    

    This uses Stein’s binary GCD algorithm :
    https://en.wikipedia.org/wiki/Binary_GCD_algorithm
    to get a roughly 4x speedup over Euclidean GCD on standard architectures
    with a compiler intrinsic for ctzll, and a roughly 2x speedup otherwise.
    At the moment, the compiler intrinsic is used on GCC and Clang due to
    its easy availability.

    Quick note regarding overflow : yes, subtractions on int64_t can, but the
    llabs takes care of that. The llabs is also guaranteed to be safe, with
    no annoying INT64_MIN business since INT64_MIN being a power of 2, is
    shifted down before being sent to llabs.

    The binary GCD needs ff_ctzll, an extension of ff_ctz for long long (int64_t). On
    GCC, this is provided by a built-in. On Microsoft, there is a
    BitScanForward64 analog of BitScanForward that should work ; but I can’t confirm.
    Apparently it is not available on 32 bit builds ; so this may or may not
    work correctly. On Intel, per the documentation there is only an
    intrinsic for _bit_scan_forward and people have posted on forums
    regarding _bit_scan_forward64, but often their documentation is
    woeful. Again, I don’t have it, so I can’t test.

    As such, to be safe, for now only the GCC/Clang intrinsic is added, the rest
    use a compiled version based on the De-Bruijn method of Leiserson et al :
    http://supertech.csail.mit.edu/papers/debruijn.pdf.

    Tested with FATE, sample benchmark (x86-64, GCC 5.2.0, Haswell)
    with a START_TIMER and STOP_TIMER in libavutil/rationsl.c, followed by a
    make fate.

    aac-am00_88.err :
    builtin :
    714 decicycles in av_gcd, 4095 runs, 1 skips

    de-bruijn :
    1440 decicycles in av_gcd, 4096 runs, 0 skips

    previous :
    2889 decicycles in av_gcd, 4096 runs, 0 skips

    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/intmath.h
    • [DH] libavutil/mathematics.c
  • FFMPEG with VP9 + RTSP

    4 janvier 2021, par Jim Jin

    When we use HEVC + RTSP, ffmpeg works fine. The stream is captured by webcam.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v hevc_qsv -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    The output is like :

    &#xA;

    frame=  355 fps= 37 q=-0.0 size=N/A time=00:00:11.27 bitrate=N/A dup=159 drop=0 speed=1.18x&#xA;

    &#xA;

    Then we switch to VP9 + RTSP.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v libvpx-vp9 -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    The fps and speed looks too slow :

    &#xA;

    frame=  263 fps=9.5 q=0.0 size=N/A time=00:00:07.94 bitrate=N/A dup=119 drop=0 speed=0.288x&#xA;

    &#xA;

    Then we use ffplay to play the stream. There are a lot of error messages and the video seems frozen.

    &#xA;

    [vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;[vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available0B f=0/0&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;[vp9 @ 000001c3da86c200] Not all references are available&#xA;[vp9 @ 000001c3dffd5700] Not all references are available&#xA;[vp9 @ 000001c3da8477c0] Not all references are available&#xA;[vp9 @ 000001c3da848240] Not all references are available&#xA;[vp9 @ 000001c3da848e40] Not all references are available&#xA;[vp9 @ 000001c3e01d2fc0] Not all references are available&#xA;[vp9 @ 000001c3e01dd280] Not all references are available&#xA;[vp9 @ 000001c3e01e8980] Not all references are available&#xA;[vp9 @ 000001c3e01f1880] Not all references are available&#xA;

    &#xA;

    Finally, we try hardware VP9 encoder.

    &#xA;

    ffmpeg -f dshow -rtbufsize 100M  -f vfwcap -i "0" -strict experimental -c:v vp9_qsv -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live/test&#xA;

    &#xA;

    It can't work.

    &#xA;

    [swscaler @ 0000021e88df9fc0] deprecated pixel format used, make sure you did set range correctly&#xA;[vp9_qsv @ 0000021e8687df80] Selected ratecontrol mode is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Low power mode is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current frame rate is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current picture structure is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current resolution is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] Current pixel format is unsupported&#xA;[vp9_qsv @ 0000021e8687df80] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!&#xA;

    &#xA;

    So, how can we deal with VP9 + RTSP successfully ?

    &#xA;

  • How to get your Piwik plugin translated in many languages ?

    8 septembre 2015, par Stefan Giehl — Community, Development, Plugins

    About a year ago we introduced the Piwik Marketplace to make it easy for developers to share their plugins with all Piwik users.

    As Piwik is currently available in 54 languages we would love to have as many plugins as possible available in at least a few of those languages.

    Currently most plugins on the Marketplace are only available in English and sometimes some other languages. To improve this situation, we offer plugin developers the possibility to use the power of our translators community to get their plugins translated.

    Some plugin developers are already using this service and some very popular plugins like BotTracker or CustomOptOut have already been translated in more than 10 languages !

    Getting translations for your plugin

    As long as you are developing an open source plugin hosted on Github, you may get in touch with us (translations@piwik.org) in order to get your plugin translated by the Piwik translators community.

    You will need an account on Transifex.com. If you use Transifex with a social login, please ensure to set a password in your account settings. This will be required for fetching new translations into your plugin repository.

    Importing your plugin’s strings in the translation platform

    While doing the initial setup for your plugin, we will import your english translation file (en.json) in your Github plugin repository and we will configure an auto-update for this file. Source strings on Transifex will automatically synchronise with your plugin repository. When you change any string in your en.json translation file, the updated English strings will automatically be imported in Transifex.

    How to fetch your plugins translations into your repository

    As soon as we have set up your plugin within our Piwik project on Transifex and there are new translations available, you will be able to update your plugin translations using the Piwik console. You will need a locally installed Piwik with development mode enabled, and your plugin installed. To update the translations go to the Piwik directory on your development box and execute the following command :

    ./console translations:update -u {YourTransifexUserName} -p {YourTransifexPassword} -P {YourPluginName}

    We are looking forward to seeing your Piwik plugins available in more languages ! For more information, check out our Translations plugin developer guide.

    Happy hacking,