Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (39)

  • 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

  • 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

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

  • avutil/internal : remove FF_ALLOCx{_ARRAY}_OR_GOTO macros

    2 juin 2020, par Limin Wang
    avutil/internal : remove FF_ALLOCx_ARRAY_OR_GOTO macros
    

    These functions have a terrible design, let us fix them before extending
    them.
    First design mistake : no error code. A helper function for testing
    memory allocation failure where AVERROR(ENOMEM) does not appear is
    absurd.

    Second design mistake : printing a message. Return the error code, let
    the caller print the error message.

    Third design mistake : hard-coded use of goto.

    http://ffmpeg.org/pipermail/ffmpeg-devel/2020-May/262544.html

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavutil/internal.h
  • fftools/ffmpeg_dec : abort if avcodec_send_packet() returns EAGAIN

    22 mai 2023, par James Almer
    fftools/ffmpeg_dec : abort if avcodec_send_packet() returns EAGAIN
    

    As the comment in the code mentions, EAGAIN is not an expected value here
    because we call avcodec_receive_frame() until all frames have been returned.
    avcodec_send_packet() returning EAGAIN means a packet is still buffered, which
    hints that the underlying decoder is buggy and not fetching packets as it
    should.

    An example of this behavior was in the libdav1d wrapper before f209614290,
    where feeding it split frames (or individual OBUs) would result in the CLI
    eventually printing the confusing "Error submitting packet to decoder : Resource
    temporarily unavailable" error message, and just keep going until EOF without
    returning new frames.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] fftools/ffmpeg_dec.c
  • subprocess.run output is empty (python 3.8)

    26 juillet 2022, par Marino Linaje

    I'm trying to capture the output of a command with the following code :

    &#xA;

    lines = subprocess.run([&#x27;ffmpeg&#x27;, &#x27;-hide_banner&#x27;, &#x27;-nostats&#x27;, &#x27;-i&#x27;, in_filename, &#x27;-vn&#x27;, &#x27;-af&#x27;, &#x27;silencedetect=n={}:d={}&#x27;.format(silence_threshold, silence_duration), &#x27;-f&#x27;, &#x27;null&#x27;, &#x27;-&#x27;], capture_output=True, text=True, shell=True, check=True, encoding=&#x27;utf-8&#x27;).stdout &#xA;print (lines)&#xA;

    &#xA;

    But lines is an empty string and nothing is printed.&#xA;When capture_output=True is removed, the correct output is showed (without printing it).

    &#xA;

    I tested many combinations, including removing all the subprocess.run parameters and only include capture_output=True with the same result.

    &#xA;

    I also tested with few argument for a minimal example : subprocess.run([&#x27;ffmpeg&#x27;, &#x27;-version&#x27;], capture_output=True, text=True, shell=True, check=True, encoding=&#x27;utf-8&#x27;).stdout

    &#xA;

    Also tested stdout=subprocess.PIPE and stderr=subprocess.PIPE as subprocess.run arguments instead of capture_output=True

    &#xA;

    I can't figure out what is happening. Thanks in advance !

    &#xA;