Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (6287)

  • How to transcode .mp4 files using ffmpeg celery rabbitMq in Amazon Linux ?

    11 mars 2017, par Srinivas 25

    I want to transcode .mp4, .flv files by using ffmpeg, celery and rabbitMQ. With the help of these tools i can able to transcode in localhost, where in
    my OS is ubuntu, but i am unable to do the same on AWS Linux for production
    Here is the code i am using to integrate ffmpeg, rabbitMQ and celery to transcode on Amazon Linux

    FFMPEG_PATH = '/usr/bin/ffmpeg'


    CELERY_BROKER_URL = 'amqp://guest:guest@awsuser:5672//'
    CELERY_ACCEPT_CONTENT = 'file'
    CELERY_RESULT_BACKEND = 'rpc://'
    CELERY_TASK_SERIALIZER = 'file'

    celery.py

    from __future__ import absolute_import
    import os
    from celery import Celery
    from afnity.settings import CELERY_BROKER_URL

    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'afnity.settings')


    app = Celery('taskapp',
            broker=CELERY_BROKER_URL,
            include=['taskapp.tasks'])

    app.config_from_object('django.conf:settings', namespace='CELERY')


    if __name__ == '__main__':
    app.start()

    tasks.py

    from .celery import app

    @app.task
    def add()
    return(3+4d)
  • Revision 4048 : On peut choisir une série de médias à mettre en home par défaut et choisir ...

    26 septembre 2010, par kent1 — Log

    On peut choisir une série de médias à mettre en home par défaut et choisir leur tri maintenant ... On incrémente du coup

  • Evolution #4427 : Permettre (via une constante) de passer de 65 536 à 4096 le nombre max de fichie...

    24 janvier 2020, par - Equipement
    1. <span class="CodeRay"><span class="exception">@</span><span class="exception">@</span> -<span class="integer">40</span>,<span class="integer">8</span> +<span class="integer">40</span>,<span class="integer">12</span> <span class="exception">@</span><span class="exception">@</span>
    2.   * <span class="exception">@</span><span class="keyword">return</span> <span class="predefined-type">bool</span>
    3.   */
    4.  <span class="keyword">function</span> <span class="function">ecrire_cache</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$valeur</span>) {
    5. -       <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="integer">2</span>);
    6. -       <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">2</span>, <span class="integer">2</span>);
    7. +  <span class="local-variable">$longueur_d</span> = <span class="integer">2</span>;
    8. +  <span class="keyword">if</span> (<span class="predefined">defined</span>(<span class="string"><span class="delimiter">'</span><span class="content">_CACHE_MAX_4096_FILES</span><span class="delimiter">'</span></span>) <span class="keyword">AND</span> _CACHE_MAX_4096_FILES){
    9. +    <span class="local-variable">$longueur_d</span> = <span class="integer">1</span>;
    10. +  }
    11. +       <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="local-variable">$longueur_d</span>);
    12. +       <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$longueur_d</span>, <span class="integer">2</span>);
    13.         <span class="local-variable">$rep</span> = _DIR_CACHE;
    14.         <span class="local-variable">$rep</span> = sous_repertoire(<span class="local-variable">$rep</span>, <span class="string"><span class="delimiter">'</span><span class="delimiter">'</span></span>, <span class="predefined-constant">false</span>, <span class="predefined-constant">true</span>);
    15.         <span class="local-variable">$rep</span> = sous_repertoire(<span class="local-variable">$rep</span>, <span class="local-variable">$d</span>, <span class="predefined-constant">false</span>, <span class="predefined-constant">true</span>);
    16. <span class="exception">@</span><span class="exception">@</span> -<span class="integer">56</span>,<span class="integer">8</span> +<span class="integer">60</span>,<span class="integer">12</span> <span class="exception">@</span><span class="exception">@</span>
    17.   * <span class="exception">@</span><span class="keyword">return</span> mixed
    18.   */
    19.  <span class="keyword">function</span> <span class="function">lire_cache</span>(<span class="local-variable">$nom_cache</span>) {
    20. -       <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="integer">2</span>);
    21. -       <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">2</span>, <span class="integer">2</span>);
    22. +  <span class="local-variable">$longueur_d</span> = <span class="integer">2</span>;
    23. +  <span class="keyword">if</span> (<span class="predefined">defined</span>(<span class="string"><span class="delimiter">'</span><span class="content">_CACHE_MAX_4096_FILES</span><span class="delimiter">'</span></span>) <span class="keyword">AND</span> _CACHE_MAX_4096_FILES){
    24. +    <span class="local-variable">$longueur_d</span> = <span class="integer">1</span>;
    25. +  }
    26. +       <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="local-variable">$longueur_d</span>);
    27. +       <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$longueur_d</span>, <span class="integer">2</span>);
    28.  
    29. </span>

    Télécharger