Recherche avancée

Médias (91)

Autres articles (47)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6459)

  • 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

  • python - tqdm progress bar on ffmpeg process with avs pipe

    9 octobre 2019, par MeSo2

    I am trying to implement a tqdm progress bar, but have no idea on how to do this when calling ffmpeg with check_output. (Most of the commands are set inside the avs file.)

    from subprocess import check_output
    check_output("ffmpeg -i \"temp_AVS.avs\" -c:v libx264 -b:v 25M -c:a aac 1.mp4", shell=True)

    I cam across this Can ffmpeg show a progress bar ? but nothing hints on how to best implement it with my code.

    I also found this related post How to link the ffmpeg transcoding process information into a vb6 GUI app ?, and it look like I just need to call for the ffmpeg output. But I am note sure how to do that.