Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (46)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

Sur d’autres sites (11962)

  • Pyinstaller "Failed to execute script pyi_rth_pkgres" and missing packages

    11 septembre 2016, par gurnben

    This is my first time posting a question here as most of my questions have already been answered by someone else ! I am working on a GUI application in python and am attempting to use pyinstaller to package it into a single folder and .exe for easier portability. Currently, I am using windows 10 and anaconda3 to manage my python packages. The application relies on tkinter, pillow, numpy, scikit-learn, opencv, ffmpeg, and matplotlib. The application is formatted with a main GUI.py file that creates objects of a number of other files (many of which are stored in a subfolder as this GUI is replacing a command line utility that served the same purpose). The issue I am running into (as you can see in the title) is that the .exe is throwing the error block :

    Traceback (most recent call last) :
    File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 11, in
    File "c :\users\gurnben\anaconda3\envs\opencv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.dict)
    File "site-packages\setuptools-20.7.0-py3.5.egg\pkg_resources__init__.py", line 68, in
    File "site-packages\setuptools-20.7.0-py3.5.egg\pkg_resources\extern__init__.py", line 60, in load_module
    ImportError : The ’packaging’ package is required ; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
    Failed to execute script pyi_rth_pkgres

    When I look at the warn.txt it gives a massive list of missing packages including parts of some packages that are actually in the single folder package.
    I have, however, successfully gotten it to recognize the dll files from opencv and it is not listed among the missing (nor is ffmpeg however I did not see any ffmpeg files in the folder). I had to pass in a custom path to get it to include the opencv files as they are not in anaconda at this time.

    Any hints or ideas for next troubleshooting steps ? I am overly greatful for all of the help you an offer and I can upload any code, files, etc. that would help you diagnose the issue. In the meantime I will continue searching for a solution myself !

  • Updating ffmpeg on Ubuntu 12.04 ; conflicts with old version from standard repository

    29 octobre 2016, par Frank van Wensveen

    I have never used ffmpeg on my Ubuntu Linux 12.04 (Precise Pangolin) box until now. Typing ’ffmpeg’ at the command prompt revealed that ffmpeg 0.8.17 (listed as ffmpeg 0.8.17-4:0.8.17-0ubuntu0.12.04.2) was installed. Seeing as I need to convert h.265 to h.264, an update was obviously required.

    Following posted instructions, I installed a ream of packages :

    $ sudo apt-get install faad libmp4v2-dev libfaac0 libfaac-dev
    libxvidcore4 libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev
    libgsm-tools libogg-dev libtheora-bin libfaad-dev libvorbis-dev
    libtheora-dev libdts-dev git-core yasm texi2html checkinstall

    followed by

    $ sudo apt-get purge ffmpeg

    in order to get rid of the old stuff from the original repo.

    Downloaded the latest ffmpeg, and a ."/configure ; make ; sudo make install" later, I should be in business.

    Except that typing ’ffmpeg’ at the prompt still fired up the old version. A quick look revealed that the old ffmpeg binary was still sitting in /usr/bin with the new one being installed in /usr/local/bin. But ffmpeg is no longer listed as an installed package, and sudo apt-get remove ffmpeg tells me that "Package ffmpeg is not installed, so not removed".

    Running /usr/local/bin/ffmpeg directly works, however then fails in an Unknown encoder ’libx264’ error. Which is puzzling because the package libx264-120 is installed and /usr/lib/i386-linux-gnu/libx264.so.120 (with the appropriate symlink to /usr/lib/i386-linux-gnu/libx264.so) does exist.

    Maybe I’ve been looking at this for too long, because I’m sure this is a simple issue but I just can’t see it.

    Can someone please hand me the stupid had and point out why I deserve to wear it ?

    Tnx !

  • Updating ffmpeg on Ubuntu 12.04 ; conflicts with old version from standard repository

    29 octobre 2016, par Frank van Wensveen

    I have never used ffmpeg on my Ubuntu Linux 12.04 (Precise Pangolin) box until now. Typing ’ffmpeg’ at the command prompt revealed that ffmpeg 0.8.17 (listed as ffmpeg 0.8.17-4:0.8.17-0ubuntu0.12.04.2) was installed. Seeing as I need to convert h.265 to h.264, an update was obviously required.

    Following posted instructions, I installed a ream of packages :

    $ sudo apt-get install faad libmp4v2-dev libfaac0 libfaac-dev
    libxvidcore4 libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev
    libgsm-tools libogg-dev libtheora-bin libfaad-dev libvorbis-dev
    libtheora-dev libdts-dev git-core yasm texi2html checkinstall

    followed by

    $ sudo apt-get purge ffmpeg

    in order to get rid of the old stuff from the original repo.

    Downloaded the latest ffmpeg, and a ."/configure ; make ; sudo make install" later, I should be in business.

    Except that typing ’ffmpeg’ at the prompt still fired up the old version. A quick look revealed that the old ffmpeg binary was still sitting in /usr/bin with the new one being installed in /usr/local/bin. But ffmpeg is no longer listed as an installed package, and sudo apt-get remove ffmpeg tells me that "Package ffmpeg is not installed, so not removed".

    Running /usr/local/bin/ffmpeg directly works, however then fails in an Unknown encoder ’libx264’ error. Which is puzzling because the package libx264-120 is installed and /usr/lib/i386-linux-gnu/libx264.so.120 (with the appropriate symlink to /usr/lib/i386-linux-gnu/libx264.so) does exist.

    Maybe I’ve been looking at this for too long, because I’m sure this is a simple issue but I just can’t see it.

    Can someone please hand me the stupid had and point out why I deserve to wear it ?

    Tnx !