Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (77)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (4188)

  • Combining Audio and Video file in python [duplicate]

    8 juin 2020, par yso

    I'm trying to understand how to us ffmpeg to combine video and audio files in python. I want to combine a .avi file and a .wav file to create a final .avi file. Is this the right approach ? I'm confused by the ffmpeg syntax.
Any help would be great.

    



    I was looking through this for help :
https://wiki.libav.org/Snippets/avconv#Combine_audio_and_video_file

    



    import ffmpeg
import subprocess

cmd = 'ffmpeg -i inputvideo.avi -i inputaudio.wav -c:v copy -c:a aac output_video_and audio.avi'
subprocess.call(cmd, shell=True)                                     # "Muxing Done
print('Muxing Done')


    


  • How to use ffmpeg in a python function

    18 février 2019, par Jamiewp

    I have tried to use a ffmpeg to extract an audio from a video file and this is my code

    import io
    import os
    import subprocess

    def extract_audio(video,output):
       command = "ffmpeg -i '{video}' -ac 1  -f flac -vn '{output}'"
       subprocess.call(command,shell=True)

    extract_audio('dm.MOV','dm-new.flac')

    And I got no error after compiled. By doing this I should get a new file which is ’dm-new.flac’. But there is no such a flac file created after I compile the script. I think there are something wrong with the syntax or something in the variable ’command’ which I have no idea to fix this. My question here is how can I use ffmpeg in a python function base on this code ?

    By the way, I knew that I could just use ffmpeg without writing a function. But I really need to write in in a function. Thank you

  • How to convert audio files from mp4 to mp3 using applescript ?

    15 décembre 2017, par MBUST

    Can someone please help me understand how to convert audio files from mp4 to mp3 using AppleScript ?

    I have tried scripting VLC or Sound Studio but the commands don’t seem to come close to doing that. I downloaded and installed ffmpeg but I don’t know the syntax to use.

    I tried something like this with ffmpeg :

    tell application "Finder"
    set CurrentPath to container of (path to me) as alias
    set OriginalFile to CurrentPath & "ASProcessing:SoundToProcess.mp4" as string
    set NewFile to CurrentPath & "ASProcessing:NewFile.mp3" as string

    end tell


    set outputFile to POSIX path of OriginalFile
    set inputFile to POSIX path of NewFile
    do shell script ffmpeg something, something

    But clearly I’m missing most of the script syntax. Eventually, I would do a repeat loop to go through a set of files.

    Sorry that I can’t be more specific. I’m pretty lost with this. What I do know is that I do not want to use Automator. I need something like AppleScript.

    Thanks.

    mbust