Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (61)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8398)

  • FFMpeg - Static Blurred Background Image

    21 avril 2020, par John Doe

    I have an ffmpeg command which takes a concat list of images and creates a slideshow, each image slowly zooming out for 10 seconds, then slaps a transparent overlay image ontop and adds music.

    



    This works fine, but I am currently stretching the input images to fit the 1920x1080 resolution. Would it be possible to create a static blurred+stretched background of the image whilst the original image is infront with the zoom effect intact ?

    



    Here's the code :

    



    ffmpeg -y -hide_banner -safe 0 -f concat -i "concat.txt" -i "overlay.png" -i "music.mp3" -filter_complex "[0]scale=3840x2160,zoompan=z='if(lte(zoom,1.0),1.25,max(1.001,zoom-0.0012))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':fps=20:d=200:s=1920x1080[p];[p][1]overlay, drawtext=fontfile=Heathergreen.otf:text=TEXT:fontcolor=black:fontsize=62:x=135:y=940, drawtext=fontfile=voxbox.ttf:text='TEXT':fontcolor=white:fontsize=70:x=120:y=885[outv]" -map "[outv]" -map 2:a -pix_fmt yuv420p -c:v libx264 -x264-params keyint=80:scenecut=0 -c:a aac -aspect 16:9 -preset veryfast -shortest -movflags faststart -fflags genpts -r 20 "output.mp4"


    



    Here's the effect I need, but with the front image zooming out, as in the code above.
blurred background effect

    



    I've had success using -filter_complex "[0]scale=-1:1080[in];[0]scale=1920:1080,boxblur=10:10,setsar=1[bg];[bg][in]overlay=(W-w)/2:(H-h)/2" for similar jobs but I can't seem to integrate it with this code. I'd really appreciate some help here.

    



    Thanks.

    


  • swscale/aarch64 : use multiply accumulate and shift-right narrow

    9 décembre 2019, par Sebastian Pop
    swscale/aarch64 : use multiply accumulate and shift-right narrow
    

    This patch rewrites the innermost loop of ff_yuv2planeX_8_neon to avoid zips and
    horizontal adds by using fused multiply adds. The patch also uses ld1r to load
    one element and replicate it across all lanes of the vector. The patch also
    improves the clipping code by removing the shift right instructions and
    performing the shift with the shift-right narrow instructions.

    I see 8% difference on an m6g instance with neoverse-n1 CPUs :
    $ ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf bench=start,scale=1024x1024,bench=stop -f null -
    before : t:0.014015 avg:0.014096 max:0.015018 min:0.013971
    after : t:0.012985 avg:0.013013 max:0.013996 min:0.012818

    Tested with `make check` on aarch64-linux.

    Signed-off-by : Sebastian Pop <spop@amazon.com>
    Reviewed-by : Clément Bœsch <u@pkh.me>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libswscale/aarch64/output.S
  • swscale : aarch64 : Optimize the final summation in the hscale routine

    20 avril 2022, par Martin Storsjö
    swscale : aarch64 : Optimize the final summation in the hscale routine
    

    Before : Cortex A53 A72 A73 Graviton 2 Graviton 3
    hscale_8_to_15_width8_neon : 8273.0 4602.5 4289.5 2429.7 1629.1
    hscale_8_to_15_width16_neon : 12405.7 6803.0 6359.0 3549.0 2378.4
    hscale_8_to_15_width32_neon : 21258.7 11491.7 11469.2 5797.2 3919.6
    hscale_8_to_15_width40_neon : 25652.0 14173.7 12488.2 6893.5 4810.4

    After :
    hscale_8_to_15_width8_neon : 7633.0 3981.5 3350.2 1980.7 1261.1
    hscale_8_to_15_width16_neon : 11666.7 5951.0 5512.0 3080.7 2131.4
    hscale_8_to_15_width32_neon : 20900.7 10733.2 9481.7 5275.2 3862.1
    hscale_8_to_15_width40_neon : 24826.0 13536.2 11502.0 6397.2 4731.9

    Thus, this gives overall a 8-29% speedup for the smaller filter
    sizes, around 1-8% for the larger filter sizes.

    Inspired by a patch by Jonathan Swinney <jswinney@amazon.com>.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/aarch64/hscale.S