Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (13491)

  • avoiding running of FFmpeg on terminal/cmd

    14 janvier 2021, par Education 4Fun

    I'm using FFmpeg for a small project so I built a GUI basic application for video editing
here is the image
enter image description here

    


    Everything is working fine but I just want to avoid opening the terminal for the FFmpeg process the reason the terminal is opening is because

    


    I used os.system("FFmpeg command here")


    


    so is there a way to import FFmpeg completely and avoid using terminal and run in code
    
if u have any idea please suggest and let me know
    
for gui i used PYQT5 and python to code
    
Thank you

    


    Tried using subprogram but didn't work (worked for normal commands but not for ffmpeg)
I need the output to print also to store in a python variable
Please check the image for more info

    


    enter image description here

    


  • C++ code for ffmpeg terminal command [on hold]

    17 janvier 2018, par KingWealth

    Platform - Linux
    I created a v4l2loopback device by following the guide.
    The following terminal command is used to write the video testsrc.avi into the loopback device /dev/video1

    ffmpeg -re -i testsrc.avi -f v4l2 /dev/video1

    Now the question is, I want the c++ code for the above mentioned to terminal comment.

    Note - c++ code for -f v4l2 /dev/video1 is enough too.

    The actual program and logic is really long and irrelevant to explain.
    The problem is, i want to write ffmpeg avframes into the loopback device but using fwrite is giving disturbed output.

  • Catch refreshing Terminal output in Python

    26 janvier 2019, par Aaroknight

    I have written a python script which converts movies with ffmpeg from anything to h265 (hevc). Works fine so far now and I get catch a terminal output (How can I get terminal output in python ? - Stackoverflow). I already tried this solution as well : Catching Terminal Output in Python - Stackoverflow But none of them is really what I need.

    Current code is following :

    def convert(path):
    if os.path.getsize(path) < 500000000:
       pass
    name = path.split("/")[-1]
    os.mkdir(path.replace(name, "hevc/"))
    outvid = path.replace(name, "hevc/" + name)
    cmd = ["ffmpeg", "-hwaccel", "cuvid", "-i", path, "-c:v", "hevc_nvenc", "-preset",
          "slow", "-rc", "vbr_hq", "-max_muxing_queue_size", "1000", "-map", "0", "-map_metadata",
          "0", "-map_chapters", "0", "-c:a", "copy", "-c:s", "copy", outvid]

    process = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]
    print(process)

    While ffmpeg is converting something, the bottom terminal line usually actualizes itself every second showing fps, time, etc. See screenshot bottom line.

    Normal ffmpeg output

    In Python I just get a static output :

    Python IDE output

    So do you guys have any idea how to catch that refreshing output ?