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)

  • How to put watermak on video with FFMPEG,without resizing the watermark becuase of video resolution ?

    27 septembre 2013, par Shahbaz Younis

    Im looking for a way that the watermark picutre does not get resized,if the video resolution is high or less.Right now i have this problem,if i upload a video like 720p the watermak is really small and when i upload a video that is 240p the watermak is really big.I would just like it to be only one size.Can it do that automatically ? So no matter what the resolution is the of the video the image does not resizes and stays where i put it ? here's the code im using right now

    if ($ffmpeg_ver == "old") {
                       $watermark = '-vf "movie='.$tv_logo_path.' [watermark]; [in][watermark] overlay=10:10 [out]" ';
               } else {
                       $watermark = '-i '.$tv_logo_path.' -filter_complex "overlay=10:10" ';
               }
  • Convert video.ts file into video.mp4 using ffmpeg

    11 juillet 2020, par HorizonBloom

    So I tried to convert a file named video.ts into video.mp4 in Python and am getting the error :

    


    FileNotFoundError: [WinError 2] The system cannot find the file specified

    


    Assuming video.ts is already loaded into the program and subprocess already imported.

    


    This is due to the line :

    


    >>> subprocess.run(['ffmpeg', '-i', 'video.ts', 'video.mp4']) but I don't know what's the problem.

    


    I've opened the video.ts file and it seem to be working fine. Python version (3.8.2)

    


  • How to know the delay of frames between 2 videos, to sync an audio from video 1 to video 2 ?

    8 janvier 2021, par jaimepm

    world.

    


    I have many videos that I want to compare one-to-one to check if they are the same, and get from there the delay of frames, let's say. What I do now is opening both video files with virtualdub and checking manually at the beginning of video 1 that a given frame is at position, i.e., 4325. Then I check video 2 to see the position of the same frame, i.e., 5500. That would make a delay of +1175 frames. Then I check at the end of the video 1 another given frame, position let's say 183038. I check too the video 2 (imagine the position is 184213) and I calculate the difference, again +1175 : eureka, same video !
The frame I chose to compare aren't exactly random, it must be one that I know it is exactly one I can compare to (for example, a scene change, an explosion that appears from one frame to another, a dark frame after a lighten one...) and I always try to check for the first comparison frames within the first 10000 positions and for the second check I take at the end.
What I do next is to convert the audio from video 1 to video 2 calculating the number of ms needed, but I don't need help with that. I'd love to automatize the comparison so I just have to select video 1 and video 2, nothing else, that way I could forget forever virtualdub and save a lot of time.

    


    I'm tagging this post as powershell too because I'm making a script where at the moment I have to introduce the delay between frames (after comparing manually) myself. It would be perfect that I could add this at the beginning of the script.

    


    Thanks !