Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (48)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (9636)

  • 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