Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (56)

  • 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

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (10136)

  • mov : Fix handling of zero-length metadata values

    15 décembre 2014, par Martin Storsjö
    mov : Fix handling of zero-length metadata values
    

    Since 3cec81f4d4, a zero-length metadata value would try to
    allocate 2*0 bytes, where av_malloc() returns NULL.

    Always add one to the allocated length, to allow space for
    a null terminator in the zero-length case.

    Incidentally, this fixes fate-alac on RVCT 4.0, where a compiler
    bug seems to mess up the mov muxer to the point that it writes
    the wrong sort of metadata. Previously this bug was undetected,
    but since 3cec81f4d4 such mov files started returning
    AVERROR(ENOMEM) in the mov demuxer.

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

    • [DH] libavformat/mov.c
  • 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;

  • Anomalie #2143 (Nouveau) : Création d’un auteur possible sans préciser le login

    2 juillet 2011, par bu bu

    Dans le cas de la création d’un admin restreint, le nouvel utilisateur peut se connecter au bout de la deuxième tentative. La première tentative se solde par un message d’échec sur le mot de passe. Dans les cas de la création d’un admin ou d’un redac, les nouveaux utilisateurs ne peuvent pas se (...)