Recherche avancée

Médias (91)

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (6753)

  • Revert "lavc/aarch64 : add hevc sao edge 8x8"

    5 janvier 2022, par Martin Storsjö
    Revert "lavc/aarch64 : add hevc sao edge 8x8"
    

    This reverts commit c97ffc1a77ccaf901e642bd21ed26aaf75557745, as
    it breaks fate-hevc.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/aarch64/hevcdsp_init_aarch64.c
    • [DH] libavcodec/aarch64/hevcdsp_sao_neon.S
  • Revert "lavc/aarch64 : add hevc sao edge 16x16"

    5 janvier 2022, par Martin Storsjö
    Revert "lavc/aarch64 : add hevc sao edge 16x16"
    

    This reverts commit a9214a2ca31c9d54f893c5ac4004a5ff30a08d10, as
    it breaks fate-hevc.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/aarch64/hevcdsp_init_aarch64.c
    • [DH] libavcodec/aarch64/hevcdsp_sao_neon.S
  • MoviePY error when running in Docker Container using Amazon Elastic Container Service

    27 mai 2023, par Giba

    I'm developing a script that generates a video with the information provided by the user using Moviepy. The application runs in a docker container.

    &#xA;

    In my test environment (locally) the application usually runs generating the videos as expected. However, when I deploy to the Amazon Elastic Container Instance environment, the application renders the following error :

    &#xA;

    /tmp/334.mp31boi_q7b: Invalid data found when processing input&#xA;Here are the file infos returned by ffmpeg: &#xA;ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers&#xA;built with gcc 8 (Debian 8.3.0-6)&#xA;&#xA;libpostproc 55. 5.100 / 55. 5.100&#xA;libswresample 3. 5.100 / 3. 5.100&#xA;libswscale 5. 5.100 / 5. 5.100&#xA;libavfilter 7. 57.100 / 7. 57.100&#xA;libavdevice 58. 8.100 / 58. 8.100&#xA;libavformat 58. 29.100 / 58. 29.100&#xA;libavcodec 58. 54.100 / 58. 54.100&#xA;libavutil 56. 31.100 / 56. 31.100&#xA;&#xA;configuration: &#xA;--enable-gpl &#xA;--enable-version3 &#xA;--enable-static &#xA;--disable-debug &#xA;--disable-ffplay &#xA;--disable-indev=sndio &#xA;--disable-outdev=sndio &#xA;--cc=gcc &#xA;--enable-fontconfig &#xA;--enable-frei0r &#xA;--enable-gnutls &#xA;--enable-gmp &#xA;--enable-libgme &#xA;--enable-gray &#xA;--enable-libaom &#xA;--enable-libfribidi &#xA;--enable-libass &#xA;--enable-libvmaf &#xA;--enable-libfreetype &#xA;--enable-libmp3lame &#xA;--enable-libopencore-amrnb &#xA;--enable-libopencore-amrwb &#xA;--enable-libopenjpeg &#xA;--enable-librubberband &#xA;--enable-libsoxr &#xA;--enable-libspeex &#xA;--enable-libsrt &#xA;--enable-libvorbis &#xA;--enable-libopus &#xA;--enable-libtheora &#xA;--enable-libvidstab &#xA;--enable-libvo-amrwbenc &#xA;--enable-libvpx &#xA;--enable-libwebp &#xA;--enable-libx264 &#xA;--enable-libx265 &#xA;--enable-libxml2 &#xA;--enable-libdav1d &#xA;--enable-libxvid &#xA;--enable-libzvbi &#xA;--enable-libzimg&#xA;&#xA;OSError: MoviePy error: failed to read the duration of file /tmp/334.mp31boi_q7b.&#xA;

    &#xA;

    To retrieve files sent by the user, I use tempfile.NamedTemporaryFile and manipulate them in memory. I make some slices in the audio to synchronize with images (as if they were slides) and to concatenate them I use the following :

    &#xA;

    audio_concat = concatenate_audioclips(audio_clips)&#xA;

    &#xA;

    and at the end, I generate the video as follows :

    &#xA;

    with tempfile.NamedTemporaryFile(prefix=video_path, suffix=&#x27;&#x27;, delete=False) as data:&#xA;    video.write_videofile(data.name, fps=24, codec="libx264", ffmpeg_params=[&#x27;-f&#x27;, &#x27;mp4&#x27;], threads=multiprocessing.cpu_count())&#xA;

    &#xA;

    As said, everything works fine in the container locally, but the same does not happen in ECS.

    &#xA;

    Does anyone have any idea what I might be doing wrong ?

    &#xA;

    My Dockerfile

    &#xA;

    FROM ubuntu:latest&#xA;ENV DEBIAN_FRONTEND noninteractive&#xA;&#xA;WORKDIR /video_composer&#xA;&#xA;COPY requirements.txt /video_composer/requirements.txt&#xA;&#xA;RUN apt-get update &amp;&amp; apt-get install -y software-properties-common gcc &amp;&amp; \&#xA;    add-apt-repository -y ppa:deadsnakes/ppa&#xA;&#xA;RUN apt-get update &amp;&amp; apt-get install -y python3.11 python3-distutils python3-pip python3-apt&#xA;RUN apt-get -y update&#xA;RUN apt-get install -y ffmpeg&#xA;&#xA;RUN pip install -r /video_composer/requirements.txt&#xA;&#xA;RUN python3 -m certifi&#xA;&#xA;COPY . /video_composer/&#xA;&#xA;EXPOSE 8003&#xA;&#xA;CMD ["uvicorn", "video_composer:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8003"]&#xA;

    &#xA;

    Some solutions consulted and no success

    &#xA;

    Moviepy unable to read duration of file

    &#xA;

    https://github.com/Zulko/moviepy/issues/116

    &#xA;

    When trying to execute the mentioned solutions I continued to have the same error in the ECS but without errors locally.

    &#xA;