Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

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 (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (9115)

  • Revision 8c8381d543 : Enable all-zero coeff block index for sub8x8 blk This commit makes zcoeff_blk c

    30 octobre 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_rdopt.c



    Enable all-zero coeff block index for sub8x8 blk

    This commit makes zcoeff_blk cache the case where the entire block
    is quantized to be zero (without applying zero-forcing) in the rate-
    distortion optimization loop, and skip the forward DCT, quantization,
    inverse DCT, and reconstruction process in the encode_block stage.

    It now works for all the block sizes, including sub8x8 blocks.

    Change-Id : I5ae60a9c436ba3637d11666733554bec4580ef98

  • how to allow a worker to run a ffmpeg command on heroku for my python/django app ?

    10 mars 2013, par GetItDone

    I've been stuck trying to figure this out for weeks. I previously asked a similar question found here but I never got any replies. I really cannot find any good documentation anywhere. All I need to do is use a worker (don't care what worker have django-celery and rq installed) to convert a file to flv when it is uploaded from a form. I was able to get this done easily locally, but after over a week I haven't been able to get it to work no matter what I have tried. I tried adding a tasks.py file for celery, or a worker.py file for rq, and I have no idea what else (if anything) needs to be done, such as in my settings.py or Procfile. My procfile looks like :

    web: gunicorn lftv.wsgi -b 0.0.0.0:$PORT
    celeryd: celery -A tasks worker --loglevel=info
    worker: python worker.py

    My requirements.txt showing what I have installed looks like this :

    Django==1.4.3
    Logbook==0.4.1
    amqp==1.0.6
    anyjson==0.3.3
    billiard==2.7.3.19
    boto==2.6.0
    celery==3.0.13
    celery-with-redis==3.0
    distribute==0.6.31
    dj-database-url==0.2.1
    django-celery==3.0.11
    django-s3-folder-storage==0.1
    django-storages==1.1.6
    gunicorn==0.16.1
    kombu==2.5.4
    pil==1.1.7
    psycopg2==2.4.5
    python-dateutil==1.5
    pytz==2012j
    redis==2.7.2
    requests==1.1.0
    rq==0.3.2
    six==1.2.0
    times==0.6

    The only thing relevant in my settings.py are as follows :

    BROKER_BACKEND = 'django'
    BROKER_URL = #For this I copy/pasted the code from my redistogo add-on from heroku. Not sure if correct
    BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 1800}

    Without trying to take up too much more space, my tasks.py looks like this :

    import subprocess

    @task
    def ffmpeg_conversion(input_file):
       converted_file = subprocess.call(input_file)
       return converted_file

    I use S3 to store my static and media files, and the upload works (adding uploads to my bucket), however no matter what I try the conversion never will. Is there a good tutorial for absolute beginners ? I followed the heroku redis tutorial, celery docs, rq docs, and whatever else I can find, and got the examples to work, but the worker will not execute the command from my view. For example one of the many things I tried :

    ...
    ffmpeg = "ffmpeg -i %s -acodec mp3 -ar 22050 -f flv -s 320x240 %s" % (sourcefile, targetfile)
    ffmpegresult = ffmpeg_conversion.delay(ffmpeg)
    ...

    or using rq

    ...
    q = Queue(connection=conn)
    result = q.enqueue(ffmpeg_conversion, ffmpeg)
    ...

    I seems like it should be simple, however I am completely self-taught and have never deployed a project whatsoever, and there just doesn't seem to be any good documentation or tutorial available for what I am trying to do. I can't judge whether I am completely off and completely missing something significant or relatively close to getting this to work. I really do appreciate any input whatsoever, this is driving me nuts. Thanks in advance.

  • Red5 live stream - huge delay on localhost

    23 janvier 2013, par user1958067

    I m running Red5 1.0.0 RC1, with JW Player and ffmpeg on Linux Mint14

    There is a huge delay while streaming, even when everythings happening on my machine/localhost.

    I do following steps :

    1. FFmpeg : ffmpeg -i 'http://localhost:port' rtmp://localhost/oflaDemo/live.flv

    2. Red5 : TCPnoDelay ist set to true.

    3. JW Player : Bufferlength is set to 0. Also tried 2 and 3.

     :

       <code class="echappe-js">&lt;script type=&amp;#39;text/javascript&amp;#39;&gt;<br />
        jwplayer(&amp;#39;mediaspace&amp;#39;).setup({<br />
       &amp;#39;flashplayer&amp;#39;: &amp;#39;player.swf&amp;#39;,<br />
       &amp;#39;file&amp;#39;: &amp;#39;live&amp;#39;,<br />
       &amp;#39;type&amp;#39;: &amp;#39;rtmp&amp;#39;,<br />
       &amp;#39;streamer&amp;#39;: &amp;#39;rtmp://localhost/oflaDemo&amp;#39;,<br />
       &amp;#39;controlbar&amp;#39;: &amp;#39;none&amp;#39;,<br />
       &amp;#39;autostart&amp;#39;: &amp;#39;true&amp;#39;,<br />
       &amp;#39;bufferlength&amp;#39;: &amp;#39;3&amp;#39;,<br />
       &amp;#39;width&amp;#39;: &amp;#39;640&amp;#39;,<br />
       &amp;#39;height&amp;#39;: &amp;#39;380&amp;#39;<br />
     });<br />
    &lt;/script&gt;

    The delay is something between 7-10 seconds !
    This all is happening on and from localhost, so bandwith shouldnt be the issue.