Recherche avancée

Médias (91)

Autres articles (62)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • 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 (12347)

  • Revert "lavu/atomic : add support for the new memory model aware gcc built-ins"

    7 mars 2017, par James Almer
    Revert "lavu/atomic : add support for the new memory model aware gcc built-ins"
    

    This reverts commit faa9d2982969c999ab0e443a226eff116f7f8e4b.

    This change became superfluous when support for C11 atomics was introduced.
    Reverting it will make the removal of this implementation in an upcoming
    merge conflict free.

    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
    • [DH] libavutil/atomic_gcc.h
  • Celery to process task and modify the model fields

    15 juillet 2015, par Robin

    I would like to convert video into mp4 using ffmpeg and celery for the asynchronous task. When user uploads a video, it will be for the original_video and save it. After that I want celery to convert it into a different version for the mp4_720 field. However I am confused on how to apply that logic using celery.

    app.models.py :

    class Video(models.Model):
       title = models.CharField(max_length=75)
       pubdate = models.DateTimeField(default=timezone.now)
       original_video = models.FileField(upload_to=get_upload_file_name)
       mp4_720 = models.FileField(upload_to=get_upload_file_name, blank=True, null=True)
       converted = models.BooleanField(default=False)

    app.views.py :

    def upload_video(request):
       if request.POST:
           form = VideoForm(request.POST, request.FILES)
           if form.is_valid():
               video = form.save(commit=False)
               video.save()

               // Celery to convert the video
               convert_video.delay(video)

               return HttpResponseRedirect('/')
       else:
           form = VideoForm()
       return render(request, 'upload_video.html', {
           'form':form
       })

    app.tasks.py :

    @app.task
    def convert_video(video):

       // Convert the original video into required format and save it in the mp4_720 field using the following command:
       //subprocess.call('ffmpeg -i (path of the original_video) (video for mp4_720)')

       // Change the converted boolean field to True

       // Save

    Basically my question is how to save the converted video in mp4_720. Your help and guidance will be very much appreciated. Thank you.

    ** update **

    What I want that method to do is first convert the video.original_video and then save the converted video in the video.mp4_720 field. If all has been done correctly, change the video.converted to True. How do I define the method to do so ?

  • Revision ac50b75e50 : Use balanced model for intra prediction mode coding This commit replaces the pr

    20 juin 2015, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_entropymode.c


     Modify /vp9/common/vp9_entropymode.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_decodemv.c


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_pickmode.c


     Modify /vp9/encoder/vp9_rd.c


     Modify /vp9/encoder/vp9_rdopt.c



    Use balanced model for intra prediction mode coding

    This commit replaces the previous table based intra mode model
    coding with a more balanced entropy coding system. It reduces the
    decoder lookup table size by 1K bytes. The key frame compression
    performance is about even on average. There are a few points where
    the compression performance is improved by over 5%. Most test
    points are fairly close to the lookup table approach.

    Change-Id : I47154276c0a6a22ae87de8845bc2d494681b95f6