Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (75)

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

  • playing live streaming with video.js

    12 juin 2015, par randomuser1

    I want to stream on a webpage a video live that I receive from a server (with ffserver). So far when I write a very simple code :

       <code class="echappe-js">&lt;script src=&quot;http://www.andy-howard.com/js/libs/jquery-1.8.2.min.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;http://vjs.zencdn.net/4.12.6/video.js&quot;&gt;&lt;/script&gt;

    then it doesn’t work. But when I replace the line :

    <source src="http://10.172.180.235:8090/live.flv" type="video/x-flv">
    </source>

    with this one :

    <source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4">
    </source>

    then I can see the stream, but it comes from a file... Is there a way to display on my webpage live stream coming from ffserver ? Thanks.

  • Revision 2b8dc065d1 : google style guide include guards Change-Id : I2c252f3ddcc99e96c1f5d3dab8bcb25a2

    30 novembre 2012, par Jim Bankoski

    Changed Paths : Modify /vp9/common/arm/vp9_bilinearfilter_arm.h Modify /vp9/common/arm/vp9_idct_arm.h Modify /vp9/common/arm/vp9_loopfilter_arm.h Modify /vp9/common/arm/vp9_recon_arm.h Modify /vp9/common/arm/vp9_subpixel_arm.h Modify /vp9/common/vp9_alloccommon.h (...)

  • 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;