Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

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

  • Python script that will take a sequence of images and turn it into a video or gif/animation ?

    6 juillet 2017, par Aang

    I know there are a few questions on this already but I have yet to find a complete solution to this problem. I am writing in Python 2.5 and I want to be able to write a script that will take a sequence of images and turn it into a video or gif/animation.

    I have already tried imageio, image2gif, and opencv. Opencv gives me import errors, imageio only works on Python 2.6+, and image2gif gives me errors when I try to import the PIL or pillow Python library.

    I’ve also looked into FFMPEG. Using the subprocess python module to run FFMPEG through the terminal, I got it to work. However, I am looking for a solution that uses a python library and not an external program such as FFMPEG. Any suggestions ?

  • FFMPEG - can you have comments in script files ?

    23 juillet 2024, par rossmcm

    Because of batch's poor ability to handle multi-line strings, I'm using FFMPEG script files more and more for filter_complex arguments. I'm wondering if there is any way to include comments in these files. They seem to be quite tolerant of white space and line breaks. I've tried :

    


    #
#   comment
#


    


    and

    


    ;
;   comment
;


    


    and

    


    `
`   comment
`


    


    and

    


    '
'   comment
'


    


    with no success. It doesn't look as if comments are officially supported, but I'm wondering of there is some syntax quirk that allows them ?

    


    *** CLARIFICATION ***

    


    I'm not talking about comments in batch files here, but comments in filter_complex_script files. FFMPEG supports specifying the filter_complex argument string in a separate file. So instead of :

    


    ffmpeg -i "input.mp4" -filter_complex "[0:v] crop=w=100:h=100:x=12:y=34 " "output.mp4"


    


    you can specify :

    


    ffmpeg -i "input.mp4" -filter_complex_script "crop.txt" "output.mp4"


    


    where crop.txt contains

    


    [0:v] crop=w=100:h=100:x=12:y=34


    


    This is really handy when the filter_complex string gets more complicated (I routinely deal with arguments 10,000 characters in length).

    


  • Converting .mp3 to wav in python script

    25 décembre 2016, par DhruvArora

    I am trying to create spectograms of audio files for a speech recognition project. For the same, I am using a command line tool called ffmpeg to convert mp3 to wav. I am using the os.system() command in my python script but it does not work. The same command works perfectly fine on the terminal. What can be the possible issue ?

    PS : I have also tried the subprocess package and ffmpeg is in my $PATH.

    Traceback (most recent call last):
    File "/Users/dhruvarora/Documents/test.py", line 7, in <module>
      subprocess.call(['ffmpeg','-i','./Users/dhruvarora/Documents/0a0p10uya0h.mp3','tmpsue1234.wav'])
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 523, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
      errread, errwrite)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1343, in _execute_child
      raise child_exception
    OSError: [Errno 2] No such file or directory
    </module>