Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (74)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (4520)

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