Recherche avancée

Médias (91)

Autres articles (38)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (4723)

  • How to add background image for text with text size on a video in FFmpeg ?

    24 octobre 2019, par manwtein

    Is there way to add a background image under the text on the video in FFmpeg ?

    I can add black background using ’box’, but i need to add some certain image. I tried to use ’drawtext’ on a image and then overlayed it on the video, but i don’t know text’s width and height for scaling the image.

    "-i",
    "D:/AndroidProjects/Movies/VideoSamples/VideoShort1.mp4",
    "-i",
    "D:/AndroidProjects/Movies/ImageSamples/SampleImage.jpeg",
    "-filter_complex",
    "[0:v]drawtext=text='Example':fontcolor=#DB7093:fontsize=120:box=1:boxcolor=black@0.8:boxborderw=5:x='(w/2) - (tw/2)':y='h - ((h/2) - (th/2))",
    "-s",
    "1280x720",
    "-y",
    "D:/AndroidProjects/Movies/FFmpegSampleShort0.mp4"

    I expect to get video with some image background under my text instead black color.
    Final video

  • Record specific window using ffmpeg

    5 décembre 2022, par Ahmed A. Mansour

    I have been trying the below code (which I found on other similiar problem on this site here : How to record a specific window using ffmpeg But it gives me black video and the same video is not playable by windows media player (it works on vlc but with black video..)

    


    ffmpeg -f gdigrab -framerate 30 -i title="german.avi - VLC media player" -b:v 3M  germ.flv


    


    Video example :
Weird thumbnail by WMP which shows it can't play it
Black screen as described, but it opens with black video in VLC

    


    I tried the other suggestions, but this one sometimes (less than 40% of the time) works.
I also noticed it doesn't show the window main title, which is a bit confusing, as it causes the mouse cursor to appear a little down where it should be.

    


  • Loop through images, detect if contains color, put in subfolder

    16 avril 2022, par Samo

    I have two kinds of images in my folder : One is all black, the other one is black with yellow (#f8fa27). I am trying to put all the images with yellow colour in a subfolder. But I don't know how this is applicable.

    


    I would like to implement this with ImageMagick or FFMPEG. If possible, shell is redundant and I would like the loop via CMD. If you happen to know of another option that also works, that's no problem either.

    


    I've read about https://imagemagick.org/script/fx.php but I don't know how to apply it with my poor skills.

    


    Edit for now I managed to fix it with python (shitty code but it works)

    


    import cv2
import os
import glob

#check if extension is png
for filename in glob.glob("*.png"):
    #return to folder where all images are saved
    os.chdir('C:/Users/.../.../images')
    #make image black and white
    image = cv2.imread(filename, 0)
    #if image is fully black
    if cv2.countNonZero(image) == 0:
        print ("Black image, skipped")
    else:
        #colored image
        print ("Colored image")
        #restore true colors (rgb in my case, check wiki)
        image = cv2.imread(filename, cv2.COLOR_BGR2RGB)
        #folder to save colored images
        os.chdir(os.getcwd()+"/yellow")
        #save image to subfolder
        cv2.imwrite(filename,image)


    


    Thank you :) !