Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (50)

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

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

Sur d’autres sites (6071)

  • As part of my program that I am writing I am using ffmpeg. I am debugging. Why would ffmpeg run slower on a GPU than a CPU when doing mp4 compression ? [closed]

    6 mai 2023, par user875234

    I'm running it on modern equipment with latest drivers. I use it to compress video files, like so :

    


    ffmpeg -i 20230502_200913.mp4 -vcodec libx265 -crf 28 -vf "scale=trunc(iw/10)*2:trunc(ih/10)*2" output.mp4


    


    that command runs in 160 seconds on the CPU. but if I use the GPU, like so :

    


    ffmpeg -hwaccel cuda -i 20230502_200913.mp4 -vcodec libx265 -crf 28 -vf "scale=trunc(iw/10)*2:trunc(ih/10)*2" output.mp4


    


    it actually takes 280 seconds. And again, these are same era CPU and GPU. I can see it uses 100% of the GPU when running on the GPU but only 50% of the CPU when running on the CPU. I expected it to run much faster on the GPU than the CPU.

    


    Am I missing something ?

    


  • FFmpeg : How to convert vertical/horizontal video (any size) with black sides, to 1080x1350 vertical video with blurred background sides/bottom-top

    12 octobre 2023, par devweb

    i've been trying to make a ffmpeg 'filter_complex' code to make what i need but i can't, i've used some codes here on stack but non works for what i need, each is like for a different size/dimension.
I'm trying to make videos like Instagram posts (tallest allowed) : 1080 x 1350

    


    Bassically, horizontal videos with blurred sides or bottom-top.

    


    Any help will be awesome, thanks !

    


    This is the principal which i tried

    


    Something like this :

    


    Example 1
Example 2

    


    Here some codes i tried to worked with and changing stuff :
filter_complex='[0:v]scale=1080*2:1350*2,boxblur=luma_radius=min(h\\,w)/20:luma_power=1:chroma_radius=min(cw\\,ch)/20:chroma_power=1[bg];[0:v]scale=-1:1080[ov];[bg][ov]overlay=(W-w)/2:(H-h)/2,crop=w=1080:h=1350'

    


    filter_complex='[0:v]scale=ih*5/4:-1,crop=h=iw*4/5,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'

    


    filter_complex='[0:v]scale=1080:1350,setsar=1,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'

    


  • How to record part of the Activity (ex : Linear layout ,relative layout) and export as a video ?

    22 avril 2019, par Elangovan S

    i want record a video from particular view. the example I have video view inside of my relative layout and text view, and I apply some animation to text view finally I want to record video both video view and text view and make a video. i tried ffmpeg continuously taking screenshot every frame and make a video but its not smooth , take too much time. is there any way to achieve this ? help me with this.