Recherche avancée

Médias (91)

Autres articles (37)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

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

  • How to find out the file extension for extracting audio tracks with ffmpeg and python ?

    6 juin 2018, par seenorth

    I want my python program to extract the audio tracks from various video files without changing the audio codec. For this I call the following command :

    ffmpeg -i "input" -vn -acodec copy "output.???"

    However this only works, if the file extension of the output file is known. Is there a way to find out the corresponding file extension ?

  • How can I get around ffmpeg with python Permission Denied ?

    18 novembre 2022, par evettsam

    I am trying to get raw data from an mp3 file with python. I know there are easy ways to do this with a wave file, but I don't want to convert it. This is the relevant part of my code :

    


    from pydub import AudioSegment


    


    AudioSegment.converter = "C:/Program Files/Ffmpeg"
AudioSegment.ffmpeg = "C:/Program Files/Ffmpeg/ffmpeg.exe"


    


    sound = AudioSegment.from_mp3("audio/" + song_box.get(ANCHOR))


    


    When it gets to that last line, it returns an error "PermissionError : [WinError 5] Access is denied."

    


    I had previous errors, so I figured out I needed to install ffmpeg, and I got that set up in it's own folder (see in the code) and I also put it on both the user path and the system path (system ? whatever the main one is). I also bypassed the folder C :/Program Files/Ffmpeg in windows defender, but that did not help. Is there anything else I can try ?

    


  • python subprocess wait() causes ffmpeg to fail

    7 avril 2022, par mashuptwice

    I have a python script which at some point uses ffmpeg to concatenate video files. I run ffmpeg via subprocess.Popen() :

    


    subprocess.Popen(['ffmpeg', '-f', 'concat', '-safe', '0', '-i', 'list.txt', '-c', 'copy', 'out.mp4']).wait()


    


    As there is some processing happening after the concatenation, I need the script to wait for ffmpeg to finish the operation before proceeding. Strangely ffmpeg fails with list.txt: Invalid data found when processing input if I use wait() but runs as expected when invoked without.

    


    Has someone an idea why this is happening and how to mitigate that problem ?