Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (49)

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

  • 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

Sur d’autres sites (7848)

  • Getting "Unrecognized option '1'" when using "-map_metadata -1" to erase metadata with ffmpeg [closed]

    20 novembre 2024, par Nautilus Era

    Edit :
    
As said in the header, this question is not about programing and I will ask it on the appropriate Stack.
    
My confusion came from the fact that I am using Python to make my calls to the shell, however, it has nothing to do with the problem I am trying to solve.
    
Thank you for your time and sorry for the bother.

    



    


    I was trying to erase metadata from a file using ffmpeg using the
following command :

    


    ffmpeg –i $file_path –map_metadata -1 –c copy $stripped_video_output


    


    Where $file_path and $stripped_video_output are variables containing
their respective path.

    


    ffmpeg gave the answer :

    


    Unrecognized option '1'. 
Error splitting the argument list: Option not found


    


    I am using Debian 12.

    


    I tried with both the repository's version as well as a compiled version
of ffmpeg and I tried on two different computers.

    


    If anyone can help with that, I would appreciate it.

    


    Thank you in advance and have a good one.

    


  • How can I run FFPROBE in a Python script without triggering the Windows Command window ?

    1er mars, par fnord12

    I am using ffmeg/ffprobe to get video durations (in an addon for Kodi). The code :

    


    result = subprocess.run(["ffprobe", "-hide_banner", "-v", "quiet", "-show_entries",
                                 "format=duration", "-of",
                                 "default=noprint_wrappers=1:nokey=1", filename], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)


    


    The above code and the file importing that code both have a .pyw extension (after first trying regular .py).

    


    This works fine but in Windows 11 it causes the black Windows Command window to briefly flash for each video, despite the -hide_banner flag and loglevel being set to quiet. In Linux Mint it runs without any such window popping up.

    


    Found the answer : subprocess.run just needed a final shell=True as the last argument.

    


  • Hide subprocess output and store it in a variable in Python [duplicate]

    6 juillet 2022, par Dev01

    I would like to call a FFmpeg command, which produces a very big output.

    


    I need to store the output in order to make a regex on it.

    


    On the first command (echo), nothing is printed in my terminal, but for the ffmpeg command, huge output is produced (which I want to store in a variable, I don't want to have the output in my terminal)

    


    So my code looks like this for example :

    


    import subprocess
output = subprocess.check_output("echo a lot of wooooords")
output = subprocess.check_output("ffmpeg -i audio.mp3 -f null -", shell=True)


    


    Is it possible to hide the output for this command ? Why does it show me an output ? Thank you