Recherche avancée

Médias (91)

Autres articles (112)

  • 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 ;

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (11879)

  • FFMpeg Drawtext black pixels behind the font

    21 janvier 2023, par sweetngx

    I burn the name of the movie with drawtext to my movies converted with FFMPeg, but I noticed that the black pixels around the font are disturbing, as seen in the picture. I don't know if this is a missing line of code or the nature of drawtext itself. Do you think there is a solution to make the movie name more legible ?

    


    enter image description here

    


  • FFmpeg .bat file syntax

    12 juillet 2022, par Jeandré

    I have the following command for overlaying a watermark (png image) on a video. I run it from a windows .bat file and it works fine as long as I keep the png file in the same folder as my script (like this movie=easy_vacation_text.png).

    


    %FFMPEGPATH% -i "C:\\Users\\me\\Downloads\\b2ff1bb2-3cd4-41c5-a1ee-ea6b7c066011.mp4" -y -vf "scale=1280:720 [main]; movie=easy_vacation_text.png [watermark]; [watermark]scale=1000x200 [watermark2]; [main][watermark2] overlay=(main_w/2)-(overlay_w/2):main_h-overlay_h-10 [out]" %OUTDIR%/outfile.mp4



    


    As soon as I try to reference the png from a different folder like (like this movie=C :\Users\me\easy_vacation_text.png), it breaks :

    


    %FFMPEGPATH% -i "C:\\Users\\me\\Downloads\\b2ff1bb2-3cd4-41c5-a1ee-ea6b7c066011.mp4" -y -vf "scale=1280:720 [main]; movie=C:\\Users\\me\\easy_vacation_text.png [watermark]; [watermark]scale=1000x200 [watermark2]; [main][watermark2] overlay=(main_w/2)-(overlay_w/2):main_h-overlay_h-10 [out]" %OUTDIR%/outfile.mp4


    


    I tried different variations of putting quotes around the path (C :\Users\me\easy_vacation_text.png) but I can't figure out the problem.

    


    Any ideas what I'm doing wrong ?

    


  • How does ffmpeg use concat of filter in C?

    12 mai 2022, par Jeycri

    It's OK for me to use the command line like this.

    


    ffmpeg -i test1.mp4 -i test2.mp4 -filter_complex "movie='test1.mp4',scale=640:360[v1];movie='test2.mp4',scale=640:360[v2];[v1][v2]concat" testout.mp4


    


    This is my configuration code.

    


    AVFilterInOut* inputs = avfilter_inout_alloc();
AVFilterInOut* outputs = avfilter_inout_alloc();
...
avfilter_graph_parse_ptr(filter->filterGraph, 
"movie='test1.mp4',scale=640:360[v1];movie='test2.mp4',scale=640:360[v2];[v1][v2]concat", 
&inputs, &outputs, NULL)
avfilter_graph_config(filter->filterGraph, NULL)


    


    Reported error

    


    [h264 @ 0000026dfecef780] Application has requested 17 threads. Using a thread count greater than 16 is not recommended.
[h264 @ 0000026dffae9d00] Application has requested 17 threads. Using a thread count greater than 16 is not recommended.
Output pad "default" with type video of the filter instance "in" of buffer not connected to any destination


    


    How can I configure the filter correctly?