Recherche avancée

Médias (91)

Autres articles (22)

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

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (5002)

  • py2app compiled script with ffmpeg not working (mac)

    18 avril 2020, par martijnlambada

    I'm currently experiencing a lot of difficulties getting ffmpeg-python to work when compiling my script with Py2App. The attached script works fine when run from the command line, as does the terminal version found in the application bundle. When double clicking the app though, it just gives me a popup with (the not very descriptive) "Error". I've tried all possible solutions found in related posts including compiling the script with the "—emulate-shell-environment" flag. So far no luck. 
Details : Python 2.7.16 | macOs 10.14.6 | Latest version of ffmpeg & py2app.

    



    Appreciate the help !

    



    Thanks, martijn

    



    import ffmpeg

stream = ffmpeg.input('input.mp4')
stream = ffmpeg.filter(stream,'scale', 800, 450)
stream = ffmpeg.output(stream, 'output2.mp4')
ffmpeg.run(stream)


    


  • Hide subprocess output and store it in a variable in Python [duplicate]

    6 juillet 2022, par Dev01

    I would like to call a FFmpeg command, which produces a very big output.

    


    I need to store the output in order to make a regex on it.

    


    On the first command (echo), nothing is printed in my terminal, but for the ffmpeg command, huge output is produced (which I want to store in a variable, I don't want to have the output in my terminal)

    


    So my code looks like this for example :

    


    import subprocess
output = subprocess.check_output("echo a lot of wooooords")
output = subprocess.check_output("ffmpeg -i audio.mp3 -f null -", shell=True)


    


    Is it possible to hide the output for this command ? Why does it show me an output ? Thank you

    


  • How can I run FFPROBE in a Python script without triggering the Windows Command window ?

    1er mars, par fnord12

    I am using ffmeg/ffprobe to get video durations (in an addon for Kodi). The code :

    


    result = subprocess.run(["ffprobe", "-hide_banner", "-v", "quiet", "-show_entries",
                                 "format=duration", "-of",
                                 "default=noprint_wrappers=1:nokey=1", filename], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)


    


    The above code and the file importing that code both have a .pyw extension (after first trying regular .py).

    


    This works fine but in Windows 11 it causes the black Windows Command window to briefly flash for each video, despite the -hide_banner flag and loglevel being set to quiet. In Linux Mint it runs without any such window popping up.

    


    Found the answer : subprocess.run just needed a final shell=True as the last argument.