Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (63)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7878)

  • problem with "subprocess.Popen" AFTER make .exe file

    1er février 2020, par afcc0060

    im try to convert mp3 to mp4 with ffmpeg (command line)
    everything is well and program runs correctly.
    i have one progressbar and handle it from this function by reading ffmpeg command line output

    cls_wnd.pbar_step(line.lower())

    but after make (single) .exe file with pyinstaller program not run and did not convert anything

           def _cli(self ,cls_wnd ,cmd):
               errors = False
               cmd_output=""

               line=''
               try:
                       p = subprocess.Popen(cmd ,stdout=subprocess.PIPE ,
                                                 stderr=subprocess.STDOUT ,
                                                 universal_newlines=True ,
                                                 shell=False ,
                                                 creationflags = subprocess.CREATE_NO_WINDOW)

                       for line in p.stdout:
                               if cls_wnd.bt02.cget('text').lower()!="cancel":
                                       p.kill()
                                       return cmd_output, True ,'cancel'
                               cmd_output+=line
                               if line.lower().find('duration:')>-1 or line.lower().find('frame=')<1:
                                       cls_wnd.pbar_step(line.lower())
                               cls_wnd.root.update()

                       stdoutdata, stderrdata = p.communicate()
                       if p.wait() != 0:
                               p.kill()
                               return cmd_output, True ,line
                       p.kill()
                       return cmd_output, errors ,' '
               except OSError as e:
                       p.kill()
                       return cmd_output,True,' exit from except '
               return '',True,'exit from _cli end'

    cmd is somthnig like this

    cmd='ffmpeg -y -loop 1 -i 1.jpg -i 1.mp3 -c:a copy -c:v libx264 -shortest 1.mp4'

    make .exe file with this command

    pyinstaller -w --onefile  mp3tomp4.py --onefile

    if i dont use’-w’ every thing is well .. but that ugly black cmd-windows shown and i can not close or hide it

  • Problem to capture a video in 4K with FFmpeg

    16 mars 2020, par Ale7

    I am a new user of FFmpeg. I am trying to capture a ten minutes video in mp4 format, on 4 4K’s slot and 4 FHD’s slot with cards video Pro Capture by Magewell.
    My machine has the following characteristics :

    • OS : Windows Server 2012
    • RAM : 64 GB
    • CPU : 2 processors Intel Xeon E5-2640 v3 @ 2.60 GHz

    The FFmpeg script, for slot 4K (I change resolution for FHD), used is the following :

    ffmpeg -rtbufsize 2048M -re -y -thread_queue_size 20384 -pix_fmt yuv420p -f dshow -video_size 3840x2160 -r 50 -i video="Video (05-0 Pro Capture HDMI 4K+)"  -codec:v libx264  -preset ultrafast -threads 8 -pix_fmt yuv420p -tune fastdecode -bufsize 2048M output.mp4

    This command is the best solution found at the moment, but the CPU goes up to 100% and the buffer fills up quickly and starts to drop the frames.
    So, my question : Is there a way to improve it or is a limit, principally, of the my machine ?
    If it is a machine limit, you would indicate me the minium requirments to do that.

    Thanks in advance to everyone.

  • problem with moviepy.video.io.ffmpeg_tools.ffmpeg_movie_from_frames

    7 mars 2023, par fjal

    when i try using this code it gives me this error

    


    from moviepy.video.io.ffmpeg_tools import ffmpeg_movie_from_frames as a
a('file.mp4','New folder',24)


    


    Traceback (most recent call last) :
File "C :\Users\lenovo\Desktop\fr.py", line 2, in 
a('file.mp4','New folder',24)
File "C :\Users\lenovo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\moviepy\video\io\ffmpeg_tools.py", line 20, in ffmpeg_movie_from_frames
"-b", "%dk"%bitrate,
TypeError : %d format : a number is required, not str