Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (65)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

Sur d’autres sites (12012)

  • How to downsample all the videos in a folder ?

    23 mai 2021, par amarykya_ishtmella

    I had asked this question before, I have a solution using the moviepy library. But, this is taking a lot of time.
    
I know that when I use ffmpeg via the terminal, the down sampling process is much faster.

    


    command = (
            f"ffmpeg -n -i {'inputvideo_path'} -filter:v "
            f"scale={width}:{height} {{}}-c:a copy {output_path}"
        )


    


    I am looking for the implementation in ffmeg library

    


  • facing problem in downloading the audio data of a trimmed youtube video using youtube-dl and ffmpeg libraries

    15 mai 2022, par rkc

    I'm trying to download the audio content of a trimmed YouTube video using youtube-dl (v2021.12.17) and FFmpeg (v4.2.2) libraries in python, on Windows 10 PC. I am able to download the audio data when the command is executed on the Pycharm terminal, but not able to download the same content when using os.system() command.

    


    For example, I'm able to download the data when I execute

    


    "ffmpeg -ss 30 -t 10 -i $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0) -- output1.wav"


    


    command on the Pycharm terminal.

    


    But, i'm getting an error, when I try to execute the same in the Editor window as shown below,

    


    os.system('ffmpeg -ss 30 -t 10 -i $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0) -- output1.wav')

error: $(youtube-dl: No such file or directory


    


    I also tried enclosing the $() link in quotes and then executed it. But, after doing this, I am getting a different error as shown below

    


    os.system('ffmpeg -ss 30 -t 10 -i "$(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0)" -- output1.wav')

error: $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0): Invalid argument


    


    So, can any of you help me in resolving this error ?

    


  • How to scape special characters for linux, nodejs exec function

    22 février 2023, par David Chavez

    I'm running this ffmpeg command on my linux server and while I paste it into the terminal, it works just fine but as soon as I use execPromise to run the EXACT same command, it returns an error.

    


    const { exec } = require('child_process');
const { promisify } = require('util');
const execPromise = promisify(exec);

const encode = async ffmpegCode => {
    try {
        console.log(ffmpegCode) //Here I can see that the code is the
                                //exact same one than the one that works
                                //when pasted into the terminal
        await execPromise(ffmpegCode);
        return 200
    } catch (err) {
        console.log(err)
    }
}


    


    I need \: to be interpreted as such. When I type it as is, \:, the error message shows me that it interpreted it as : which is expected.

    


    If I pass in \\:, I expect it to interpret it as I need it which would be \: but the error shows me that it interprets it as \\:.

    


    \\\: is interpreted as \\: and \\\\: is interpreted as \\\\:.

    


    Part of the command passed :

    


    ...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...

    


    Expected command :

    


    ...drawtext=text='timestamp \: %{pts \: localtime \: 1665679092.241...

    


    Error message :

    


    ...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...

    


    How do I get /: through to the exec function ?