Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (60)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8482)

  • Revision a00278c6dc : Removing 'frames' field from VP9_COMP. Using local variable instead. Change-Id

    26 août 2014, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/encoder/vp9_encoder.h


     Modify /vp9/encoder/vp9_temporal_filter.c



    Removing ’frames’ field from VP9_COMP.

    Using local variable instead.

    Change-Id : If592d73ba2b04972cdae938751155c183a6db25a

  • Revision 4cf636a60e : Removed redundant local variables in the forward hybrid transforms. Change-Id :

    8 janvier 2015, par Zoe Liu

    Changed Paths :
     Modify /vp9/encoder/vp9_dct.c



    Removed redundant local variables in the forward hybrid transforms.

    Change-Id : I60f7ccbbc8dc624134e325bdce6042bc183075b6

  • Having issues making an app with py2app ffmpeg and ffprobe

    23 septembre 2024, par Nuno Mesquita

    I have made an app in OSX Python, that uses FFMEG and ffprobe.

    


    It runs fine in my VS Code.

    


    I want to make a self sustained app, that others can use, without needed to install anything themselves. So, I manually included the static libraries in the bin folder of my main app, and am able to run the app using the libraries inside my bin folder.

    


    I have lost many hours trying to figure this out, and am always getting the same error.

    


    My best shot was being able to open the app inside app/contents/resources and running via Python, but still have the issue saying that ffprobe is not available.

    


    I´m losing my mind...

    


    Should I try a completely different approach ?

    


    For now, I just want my OSX friends to be able to use the app, then I will want it to run on Windows too, but baby steps.

    


    I am not quite sure what to include in setup.py, so I would love to include everything that is in my app folder, to avoid all sorts of errors in missing .pngs and stuff.

    


    I also made sure that libraries are executable (they are about 80MB each (ffmpeg and ffprobe))

    


    Can anyone help =D ???

    


    I described above, tested different ways, checked stuff like redirecting the libraries to the folders of the app :

    


    For the last try my setup.py was :

    


    from setuptools import setup

APP = ['mpc.py']
DATA_FILES = [
    ('bin', ['./bin/ffmpeg', './bin/ffprobe']),
    ('theme/dark', ['./theme/dark/*.png']),
    ('theme/light', ['./theme/light/*.png']),
    ('theme', ['./theme/dark.tcl', './theme/light.tcl']),
    '.',  # Add current directory to ensure everything is included
]

OPTIONS = {
    'argv_emulation': False,
    'packages': ['pydub', 'pygame', 'requests', 'freesound'],
    'includes': ['pydub', 'pygame', 'requests', 'freesound'],
    'resources': ['./bin/ffmpeg', './bin/ffprobe', './theme/dark/*.png', './theme/light/*.png',     './theme/dark.tcl', './theme/light.tcl'],
}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)


    


    And I also had this in the beginning of my Python script :

    


    # Set ffmpeg and ffprobe paths relative to the app's Resources/bin directory
app_dir = os.path.dirname(os.path.abspath(__file__)) 

# Set ffmpeg and ffprobe paths relative to the app's Resources/bin directory
ffmpeg_path = os.path.join(app_dir, 'bin', 'ffmpeg')
ffprobe_path = os.path.join(app_dir, 'bin', 'ffprobe') 
AudioSegment.converter = ffmpeg_path
AudioSegment.ffprobe = ffprobe_path


    


    Don't know what else to try.