Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (68)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8333)

  • Remove video noise from video with ffmpeg without producing blur / scale down effect

    17 avril 2024, par Sucahyo Aji

    My videos are 1920x1080 recorded with high ISO (3200) using smartphone (to get bright view, backlight scene mode). It produce a lot of noise. I try many video filter but all of them produce blur similar to when we reduce the resolution in half then increase it back again.

    


    Is there a good video noise filter that only remove noise without producing blur ?

    


    Because if it produce blur, I would prefer to not do any filtering at all.

    


    I have tried video filter :

    


      

    • nlmeans=s=30:r=3:p=1

      


    • 


    • vaguedenoiser=threshold=22:percent=100:nsteps=4

      


    • 


    • owdenoise=8:6:6

      


    • 


    • hqdn3d=100:0:50:0

      


    • 


    • bm3d=sigma=30:block=4:bstep=8:group=1:range=8:mstep=64:thmse=0:hdthr=5:estim=basic:planes=1

      


    • 


    • dctdnoiz=sigma=30:n=4

      


    • 


    • fftdnoiz=30:1:6:0.8

      


    • 


    


    All produce blur, some even worse. I have to use strong setting to make the noise moderately removed. I end up halving the resolution and use remove grain then scale it up again. This is much better for me than all the above method (pp filter is used to reduce size without reducing image detail) :

    


      

    • scale=960:540,removegrain=3:0:0:0,pp=dr/fq|8,scale=1920:1080
    • 


    


    code example

    


    FOR %%G IN (*.jpg) DO "ffmpeg.exe" -y -i "%%G"  -vf "nlmeans=s=30:r=3:p=1" -qmin 1 -qmax 1 -q:v 1   "%%G.jpg"

    


    Part of the image
    
The image:

    


  • Overlay a 16/9 video to a 9/16 ratio and shrink the original video [closed]

    6 avril 2024, par thanhbo

    I assume the video has an aspect ratio of 16/9 (size 1920:1080). I want to convert it to 9/16 ratio and shrink the original video. The formula I wrote is as follows but there is an error. I hope someone can help, thank you.

    


    ffmpeg -y -i A1.mp4 -filter_complex "split[crp0][crp1];[crp0]scale=iw:2*trunc(iw*16/18),boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=11,setsar=1[bg],[1:v]scale=(iw-100):-1[bg2];[bg][bg2]overlay=(W-w)/2:(H-h)/2[bg3]" -map "[bg3]" bg3.mp4

ffmpeg -y -i A1.mp4 -filter_complex "split[crp0][crp1];[crp0]scale=iw:2*trunc(iw*16/18),boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=11,setsar=1[bg],[1:v]scale=(iw-100):-1[bg2];[bg][bg2]overlay=(W-w)/2:(H-h)/2[bg3]" -map "[bg3]" bg3.mp4


    


  • ffmpeg video freezes some seconds the output video

    7 septembre 2022, par FreddicMatters

    I'm using the program ffmpeg on windows, I just downloaded the binaries setted the path variable of windows to be able of use it.

    


    I'm ran ffmpeg with python and also just running the command in the cmd

    


    #videos.txt

    


    file C:/Users/freddydev/Videos/video1.mp4
file C:/Users/freddydev/Videos/video2.mp4
file C:/Users/freddydev/Videos/video3.mp4
file C:/Users/freddydev/Videos/video4.mp4


    


    #python script :

    


    import subprocess
import shlex

subprocess.run(shlex.split('ffmpeg -f concat -safe 0  -i videos.txt -c:v libx264 -c copy output.mp4'))


    


    #cmd

    


    ffmpeg -f concat -safe 0  -i videos.txt -c:v libx264 -c copy output.mp4


    


    The output video plays fine the half of the video and after some 5 seconds it freezes and the final seconds of the video there is not sound.

    


    I have downloaded multiple ffmpeg binaries from https://ottverse.com/ffmpeg-builds and I'm getting the same result.

    


    My laptop is a core i5 with 12GB of RAM.
The rendering is very fast only takes 2 seconds, I also used moviepy library with python and it takes more than 20sg to render the video but when I concatenate large videos this give me wrong frames in the video at the end.

    


    What could I do to fix this problem with ffmpeg.
Thanks so much.