Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (3409)

  • ffmpeg not working if run from py2app

    28 juin 2018, par dprogramz

    I’m trying to build a simple app that concats 2 mp4 files. It works fine if I run it from the command line, but if I run it from py2app app it doesn’t work. If I run the app from within the py2app in the console (eg ’dist/addTag.app/Contents/MacOS/addTag’), it works fine. It only doesn’t work if i run the app by double clicking on it. Any ideas ? code below

    #! /usr/bin/python
    import argparse
    import ffmpeg
    import os
    import shutil
    import sys
    from Tkinter import *
    import time

    fields = 'Input Video', 'Tag Video', 'Output Name'

    def fetch(entries, bu, lb, rt):
       bu['state'] = 'disabled'
       lb['text'] = 'working'
       rt.update()
       ffmpeg.concat(ffmpeg.input(entries[0][1].get()), ffmpeg.input(entries[1][1].get())).output(os.path.expanduser("~/desktop/")+entries[2][1].get()).run()
       bu['state'] = 'normal'
       lb['text'] = 'Ready'
       rt.update()


    def makeform(root, fields):
      entries = []
      for field in fields:
         row = Frame(root)
         lab = Label(row, width=15, text=field, anchor='w')
         ent = Entry(row)
         row.pack(side=TOP, fill=X, padx=5, pady=5)
         lab.pack(side=LEFT)
         ent.pack(side=RIGHT, expand=YES, fill=X)
         entries.append((field, ent))
      return entries

    if __name__ == '__main__':
      root = Tk()
      root.title("Video Maker")
      ents = makeform(root, fields)
      root.bind('<return>', (lambda event, e=ents: fetch(e)))
      label = Label(root, text="Ready")
      label.pack(side=LEFT)  
      b1 = Button(root, text='Make Video',
             command=(lambda e=ents: fetch(e, b1, label, root)))
      b1.pack(side=LEFT, padx=5, pady=5)
      b2 = Button(root, text='Quit', command=root.quit)
      b2.pack(side=LEFT, padx=5, pady=5)

      root.mainloop()
    </return>
  • ffmpeg installation on xampp not working

    19 décembre 2017, par Mian Majid

    I am trying to install ffmpeg extension on xampp on windows 8.1. I copied php_ffmpeg.dll to xampp/php/ext directory, added entry as "extension=php_ffmpeg.dll" in php.ini file, and copied other dll files ( avcodec-52.dll, avdevice-52.dll, avformat-52.dll, avutil-50.dll, pthreadGC2.dll, swscale-0.dll ) in system32 and SysWOW64 folders of Windows. I restarted xampp, and computer as well, but no success, it is not appearing in phpinfo() list.

    Kindly someone help me to resolve issue.

    Thanks.

  • ffmpeg installation on xampp not working

    23 janvier 2017, par Mian Majid

    I am trying to install ffmpeg extension on xampp on windows 8.1. I copied php_ffmpeg.dll to xampp/php/ext directory, added entry as "extension=php_ffmpeg.dll" in php.ini file, and copied other dll files ( avcodec-52.dll, avdevice-52.dll, avformat-52.dll, avutil-50.dll, pthreadGC2.dll, swscale-0.dll ) in system32 and SysWOW64 folders of Windows. I restarted xampp, and computer as well, but no success, it is not appearing in phpinfo() list.

    Kindly someone help me to resolve issue.

    Thanks.