Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (79)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (10296)

  • Matomo 2 reaches end of life soon (December 2017), update now !

    7 décembre 2017, par Matomo Core Team — Community

    In less than three weeks, Matomo (Piwik) 2 will be no longer supported. This means that no further (security) updates will be released for this version. As per our Long Term Support announcement, Matomo 2.X is supported for 12 months after the initial release of Matomo 3.0.0 which was on December 18th 2016. Therefore, Matomo 2 will no longer receive any updates after December 18th 2017.

    It has been almost a year since we released Matomo (Piwik) 3 and we highly recommend updating to Matomo 3 ASAP. The major new release came with a new UI, performance and security improvements. If you are still on Matomo 2, the security improvements alone should be worth updating your Matomo to Matomo 3 now. We cannot recommend this enough.

    The update to Matomo (Piwik) 3 should be smooth, but may take a while depending on the amount of data you have.

    • If you have any problem with the update, feel free to get in touch with us, or ask in the forums.
    • If you are currently using Matomo (Piwik) self-hosted and would like to be upgraded, plus your Matomo managed in the official Cloud-hosted service, contact InnoCraft Cloud and they will migrate your database.

    At Matomo (Piwik) and InnoCraft, the company of the makers of Matomo, we have seen many thousands of Matomo installations upgraded over the past year and look forward to an exciting future for Matomo 3 and beyond !

  • Install python's 'albumentations' in Kaggle's R kernel ?

    22 avril 2022, par dfrankow

    I can start an R kernel on Kaggle, run

    


    library(reticulate)
py_install('albumentations')


    


    Works for awhile, then finishes.

    


    However, importing it produces an error :

    


    reticulate::import('albumentations')


    


    


    Error in py_module_import(module, convert = convert) : ImportError : libopenh264.so.5 : cannot open shared object file : No such file or directory

    


    


    This looks like this stackoverflow question.

    


    The problem seems to be in ffmpeg, but I'm not sure what or how to install something to get that library.

    


    Below is ldd output of ffmpeg, showing the library is not found.

    


    conda_update doesn't help.

    


    system2("which",
        args=c('ffmpeg'),
        stdout=T, stderr=T)


    


    


    '/root/.local/share/r-miniconda/envs/r-reticulate/bin/ffmpeg'

    


    


    system2("ldd",
        args=c('/root/.local/share/r-miniconda/envs/r-reticulate/bin/ffmpeg'),
        stdout=T, stderr=T)


    


    


    '\tlinux-vdso.so.1 (0x00007ffcba3f6000)''\tlibavdevice.so.58 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavdevice.so.58 (0x00007f324e66f000)''\tlibavfilter.so.7 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavfilter.so.7 (0x00007f324e33a000)''\tlibavformat.so.58 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavformat.so.58 (0x00007f324e0d2000)''\tlibavcodec.so.58 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavcodec.so.58 (0x00007f324cc01000)''\tlibavresample.so.4 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavresample.so.4 (0x00007f324cbdf000)''\tlibpostproc.so.55 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libpostproc.so.55 (0x00007f324cbbd000)''\tlibswresample.so.3 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libswresample.so.3 (0x00007f324cb9e000)''\tlibswscale.so.5 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libswscale.so.5 (0x00007f324cb10000)''\tlibavutil.so.56 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/libavutil.so.56 (0x00007f324ca06000)''\tlibm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007f324c8b7000)''\tlibpthread.so.0 => /usr/lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f324c894000)''\tlibc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f324c6a0000)''\tlibfreetype.so.6 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libfreetype.so.6 (0x00007f324c5eb000)''\tlibbz2.so.1.0 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libbz2.so.1.0 (0x00007f324c5d7000)''\tlibgmp.so.10 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libgmp.so.10 (0x00007f324c531000)''\tlibz.so.1 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libz.so.1 (0x00007f324c517000)''\tlibgnutls.so.30 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libgnutls.so.30 (0x00007f324c343000)''\tlibvpx.so.5 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libvpx.so.5 (0x00007f324bec2000)''\tlibmp3lame.so.0 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libmp3lame.so.0 (0x00007f324be49000)''\tlibopus.so.0 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libopus.so.0 (0x00007f324bde8000)''\tlibx264.so.157 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/./libx264.so.157 (0x00007f324bb1b000)''\tlibopenh264.so.5 => not found''\tlibrt.so.1 => /usr/lib/x86_64-linux-gnu/librt.so.1 (0x00007f324baf9000)''\t/lib64/ld-linux-x86-64.so.2 (0x00007f324e6c5000)''\tlibpng16.so.16 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/././libpng16.so.16 (0x00007f324bac0000)''\tlibnettle.so.8 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/././libnettle.so.8 (0x00007f324ba7f000)''\tlibhogweed.so.6 => /root/.local/share/r-miniconda/envs/r-reticulate/bin/../lib/././libhogweed.so.6 (0x00007f324ba29000)''\tlibdl.so.2 => /usr/lib/x86_64-linux-gnu/libdl.so.2 (0x00007f324ba21000)'

    


    


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