Recherche avancée

Médias (91)

Autres articles (108)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11799)

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

    &#xA;

    library(reticulate)&#xA;py_install(&#x27;albumentations&#x27;)&#xA;

    &#xA;

    Works for awhile, then finishes.

    &#xA;

    However, importing it produces an error :

    &#xA;

    reticulate::import(&#x27;albumentations&#x27;)&#xA;

    &#xA;

    &#xA;

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

    &#xA;

    &#xA;

    This looks like this stackoverflow question.

    &#xA;

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

    &#xA;

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

    &#xA;

    conda_update doesn't help.

    &#xA;

    system2("which",&#xA;        args=c(&#x27;ffmpeg&#x27;),&#xA;        stdout=T, stderr=T)&#xA;

    &#xA;

    &#xA;

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

    &#xA;

    &#xA;

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

    &#xA;

    &#xA;

    '\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)'

    &#xA;

    &#xA;