Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (96)

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

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11811)

  • FFMpeg giving invalid argument error with python subprocess

    23 janvier 2020, par Emre Erol

    I am trying to convert a file or microphone stream to 22050 sample rate and change tempo to double. I can do it using terminal with below code ;

    #ffmpeg -i test.mp3 -af asetrate=44100*0.5,aresample=44100,atempo=2 output.mp3

    But i can not run this terminal code with python subprocess. I try many things but every time fail. Generaly i am taking Requested output format ’asetrate’ or ’aresample’ or ’atempo’ is not suitable output format errors. Invalid argument. How can i run it and take a stream with pipe ?

    song = subprocess.Popen(["ffmpeg.exe", "-i", sys.argv[1], "-f", "asetrate", "22050", "wav", "pipe:1"],
                           stdout=subprocess.PIPE)
  • How can I run an ffmpeg command in a python script ?

    24 juin 2022, par Nexion21

    I want to overlay a transparent video over top of an image using ffmpeg and python

    


    I am able to do this successfully through terminal, but I cannot get ffmpeg commands to work in python. The following command produces the result that I want in terminal when I am in the directory with the files there.

    


    ffmpeg -i head1.png -i hdmiSpitting.mov -filter_complex "[0:v][1:v] overlay=0:0" -pix_fmt yuv420p -:a copy output3.mov


    


    In python, my code is simple :

    


    import os
import subprocess
command = "ffmpeg -i head1.png -i hdmiSpitting.mov -filter_complex \"[0:v][1:v] overlay=0:0\" -pix_fmt yuv420p -c:a copy output3.mov"
subprocess.call(command,shell=True)


    


    The code runs, there is no indication of an error, but no output is produced.

    


    What am I missing here ?

    


  • Subprocess not working when called in atom

    22 août 2019, par jan1892

    I am running python3.6 in Atom using the package ’script’ on Ubuntu 18.04.

    I am trying to cut videos using ffpb (basically ffmpeg with a progress bar instead of verbose).

    The following code gives the error : ’FileNotFoundError : [Errno 2] No such file or directory : ’ffpb’ : ’ffpb’

    import subprocess

    cmds = ['ffpb', '-i', 'input.mp4', 'output.mp4']
    subprocess.call(cmds)
    • The command ’ffpb -i input.mp4 output.mp4’ works in the terminal
    • The script works when I call it with python3 in the terminal
    • The script works in atom if I replace ffpb by ffmpeg
    • I installed ffpb using pip3 install —user ffpb
    • I never had problems like this running code in atom before.

    Thanks in advance for any help.