Recherche avancée

Médias (91)

Autres articles (51)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (5634)

  • Merge commit ’b70d7a4ac72d23f3448f3b08b770fdf5f57de222’

    15 mai 2014, par Michael Niedermayer
    Merge commit ’b70d7a4ac72d23f3448f3b08b770fdf5f57de222’
    

    * commit ’b70d7a4ac72d23f3448f3b08b770fdf5f57de222’ :
    lavc : add a native Opus decoder.

    Conflicts :
    Changelog
    configure
    libavcodec/version.h

    Fate tests pass with both avresample as well as swresample based opus decoder, but
    are disabled (reference files are very large so i want to think a day or 2 about
    if theres an alternative or if they could be avoided, they also dont match the
    official samples)

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] Changelog
    • [DH] configure
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/opus.c
    • [DH] libavcodec/opus.h
    • [DH] libavcodec/opus_celt.c
    • [DH] libavcodec/opus_imdct.c
    • [DH] libavcodec/opus_parser.c
    • [DH] libavcodec/opus_silk.c
    • [DH] libavcodec/opusdec.c
    • [DH] libavcodec/version.h
    • [DH] tests/Makefile
    • [DH] tests/fate/opus.mak
  • Node 18 or Node 20 break ffmpeg (in google cloud functions -> ffprobe was killed with signal SIGSEGV)

    10 janvier 2024, par user20206929

    Please see below, the code is working on node js 16, but not when upgrading to node 18 or 20.

    &#xA;

    const ffmpeg = require("fluent-ffmpeg");&#xA;&#xA;// Following is inside a .https.onRequest Google Cloud function with enough memory&#xA;&#xA;try {&#xA;  const duration = new Promise((resolve, reject) => {&#xA;  ffmpeg.ffprobe(videoUrl, async (err, metadata) => {&#xA;    if (err) {&#xA;      if (res.headersSent) {&#xA;        console.error("Response already sent");&#xA;        return;&#xA;      } else {&#xA;        console.log("Metadata:", metadata);&#xA;        console.log("err: " &#x2B; err);&#xA;        res.status(400).send("Error getting video metadata");&#xA;        return;&#xA;      }&#xA;    }&#xA;  const duration = metadata.format.duration;&#xA;  console.log("video duration in second: " &#x2B; duration);&#xA;  resolve(duration);&#xA;  });&#xA;});&#xA;  videoDuration = await duration;&#xA;} catch (err) {&#xA;  console.log(err);&#xA;  throw err;&#xA;}&#xA;

    &#xA;

    When upgrading to node 18/20 (No other change than upgrading node), the error "ffprobe not found" appears.

    &#xA;

    But setting the path manually using ffmpeg.setFfprobePath(ffprobePath) ;&#xA;trigger the error : Error : ffprobe was killed with signal SIGSEGV

    &#xA;

    So it seem its a permissions issue.

    &#xA;

    However, I tried a lot of different solutions, none of them made this work.&#xA;For instance i tried to download manually the ffprobe from the official website https://ffbinaries.com/downloads. Then manually add it to the code.

    &#xA;

    I tried to use https://www.npmjs.com/package/@ffprobe-installer/ffprobe or others package like https://www.npmjs.com/package/ffprobe-static

    &#xA;

    I also tried to download the ffprobe file to the temporary folder of google cloud, and change the permission of this folder.

    &#xA;

    All of those was doing the same error.

    &#xA;

    None of what i could think of made any difference.

    &#xA;

    Please help because i need to update node 16 to 18 or 20 before google remove node 16 on january 31 2024 and for now i don't see a solution.

    &#xA;

    I also looked for other solution to get this duration from a video file url, but using ffmpeg seem to be the only one that should work out of the box. As it is working on node 16.

    &#xA;

    Thank you,

    &#xA;

    UPDATE - 11/26/2023

    &#xA;

    GCP Functions NodeJS 16 runtime uses Ubuntu 18.04 with FFMpeg installed.&#xA;NodeJS 18/20 use Ubuntu 22.04, and Google decided not to include FFMpeg.

    &#xA;

    https://cloud.google.com/functions/docs/runtime-support#node.js&#xA;https://cloud.google.com/functions/docs/reference/system-packages

    &#xA;

    No workaround or solutions found as of now

    &#xA;

    UPDATE - 01/10/2024

    &#xA;

    Google added back ffmpeg to latest version, this is working as before now.

    &#xA;

  • add libaribb24 ARIB STD-B24 caption decoder

    14 janvier 2019, par Jan Ekström
    add libaribb24 ARIB STD-B24 caption decoder
    

    * Outputs ASS lines with basic coloring and font scaling for each
    given region.
    * Sets the default style to the resolution of the subtitle plane
    (for example, 960x540 / 36pt font for profile A).
    * Has options to :
    * Disable ruby text (which is coded as regions which have
    half-height text in libaribb24).
    Enabled by default as without positioning ruby text only
    confuses as it is usually coded in the beginning of the decoded
    subtitle line.
    * Set the working directory, in which libaribb24 will read
    configuration as well as into which it may save broadcast extra
    symbols as PNG.
    Unset by default.

    The unconventional library check can be explained by the library's
    current master branch being licensed as LGPLv3, but at the time of
    writing the latest official release is still licensed under GPLv3.

    Thus, one either has to wait for the following release, or enable
    GPLv3.

    • [DH] Changelog
    • [DH] configure
    • [DH] doc/decoders.texi
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/codec_desc.c
    • [DH] libavcodec/libaribb24.c
    • [DH] libavcodec/profiles.c
    • [DH] libavcodec/profiles.h
    • [DH] libavcodec/version.h