Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (66)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7650)

  • avcodec/libjxl.h : include version.h

    23 janvier 2024, par Leo Izen
    avcodec/libjxl.h : include version.h
    

    This file has been exported since our minimum required version (0.7.0),
    but it wasn't documented. Instead it was transitively included by
    <jxl/decode.h> (but not jxl/encode.h), which ffmpeg relied on.

    libjxl broke its API in libjxl/libjxl@66b959239355aef5255 by removing
    the transitive include of version.h, and they do not plan on adding
    it back. Instead they are choosing to leave the API backwards-
    incompatible with downstream callers written for some fairly recent
    versions of their API.

    As a result, we include <jxl/version.h> to continue to build against
    more recent versions of libjxl. The version macros removed are also
    present in that file, so we no longer need to redefine them.

    Signed-off-by : Leo Izen <leo.izen@gmail.com>

    • [DH] libavcodec/libjxl.h
  • How to read frames of a video and write them on another video output using FFMPEG and nodejs

    29 décembre 2023, par Aviato

    I am working on a project where I need to process video frames one at a time in Node.js. I aim to avoid storing all frames in memory or the filesystem due to resource constraints. I plan to use the ffmpeg from child processes for video processing.&#xA;I tried reading a video file and then output frames of it in the filesystem first for testing purposes :-

    &#xA;

    const ffmpegProcess = spawn(&#x27;ffmpeg&#x27;, [&#xA;  &#x27;-i&#x27;, videoFile,&#xA;  &#x27;testfolder/%04d.png&#x27; // Output frames to stdout&#xA;]);&#xA;

    &#xA;

    and the above code works fine, it saves the video frames as png files in the filesystem. Now instead of saving them in the file system, I want to read the frames on at a time and use a image manipulation library and than write the final edited frames to another video as output

    &#xA;

    I tried this :-

    &#xA;

    const ffmpegProcess = spawn(&#x27;ffmpeg&#x27;, [&#xA;  &#x27;-i&#x27;, videoFile,&#xA;  &#x27;pipe:1&#x27; // Output frames to stdout&#xA;]);&#xA;&#xA;const ffmpegOutputProcess = spawn(&#x27;ffmpeg&#x27;, [&#xA;  &#x27;-i&#x27;, &#x27;-&#x27;,&#xA;  &#x27;outputFileName.mp4&#x27;&#xA;  ]);&#xA;&#xA;ffmpegProcess.stdout.on(&#x27;data&#x27;, (data) => {&#xA;  // Process the frame data as needed&#xA;  console.log(&#x27;Received frame data:&#x27;);&#xA;  ffmpegOutputProcess.stdin.write(data)&#xA;});&#xA;&#xA;ffmpegProcess.on(&#x27;close&#x27;, (code) => {&#xA;  if (code !== 0) {&#xA;    console.error(`ffmpeg process exited with code ${code}`);&#xA;  } else {&#xA;    console.log(&#x27;ffmpeg process successfully completed&#x27;);&#xA;    &#xA;  }&#xA;});&#xA;&#xA;// Handle errors&#xA;ffmpegProcess.on(&#x27;error&#x27;, (err) => {&#xA;  console.error(&#x27;Error while spawning ffmpeg:&#x27;, err);&#xA;});&#xA;

    &#xA;

    But when I tried above code and also some other modifications in the input and output suffix in the command I got problems as below :-

    &#xA;

      &#xA;
    1. ffmpeg process exited with code 1
    2. &#xA;

    3. The final output video was corrupted when trying to initializing the filters for commands :-
    4. &#xA;

    &#xA;

    &#xA;const ffmpegProcess = spawn(&#x27;ffmpeg&#x27;, [&#xA; &#x27;-i&#x27;, videoFile,&#xA; &#x27;-f&#x27;, &#x27;rawvideo&#x27;,&#xA; &#x27;-pix_fmt&#x27;, &#x27;rgb24&#x27;,&#xA; &#x27;pipe:1&#x27; // Output frames to stdout&#xA;]);&#xA;&#xA;const ffmpegOutputCommand = [&#xA; &#x27;-f&#x27;, &#x27;rawvideo&#x27;,&#xA; &#x27;-pix_fmt&#x27;, &#x27;rgb24&#x27;,&#xA; &#x27;-s&#x27;, &#x27;1920x1080&#x27;,&#xA; &#x27;-r&#x27;, &#x27;30&#x27;,&#xA; &#x27;-i&#x27;, &#x27;-&#x27;,&#xA; &#x27;-c:v&#x27;, &#x27;libx264&#x27;,&#xA; &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;,&#xA; outputFileName&#xA;];&#xA;

    &#xA;

    Thank you so much in advance :)

    &#xA;

  • Processing video frame by frame in AWS Lambda with Node.js and FFmpeg [closed]

    29 décembre 2023, par Aviato

    I am working on a project where I need to process video frames one at a time in an AWS Lambda function using Node.js. My goal is to avoid storing all frames in memory or the filesystem due to resource constraints. I plan to use the fluent-ffmpeg library or ffmpeg from child processes for video processing.

    &#xA;

    In the past, I used OpenCV to process videos and frames without writing the frames on the disk or storing all the frames at once on the memory itself. But now as I am using node js, its a little hard to set up the code using ffmpeg, etc.

    &#xA;

    Here is a small snippet from what I did with opencv :-

    &#xA;

    import cv2&#xA;&#xA;cap = cv2.VideoCapture(video_file)&#xA;&#xA;out = cv2.VideoWriter(&#x27;output.mp4&#x27;, fourcc, fps, (width, height))&#xA;&#xA;def generate_frame():&#xA;        while cap.isOpened():&#xA;            code, frame = cap.read()&#xA;            if code:&#xA;                yield frame&#xA;            else:&#xA;                print("completed")&#xA;                break&#xA;&#xA;for i, frame in enumerate(generate_frame()):&#xA;          # Now we can process the video frames directly and write them on the output opencv&#xA;          out.write(editing_frames)&#xA;

    &#xA;

    Additionally, I intend to leverage image processing libraries like Sharp and the Canvas API to edit individual frames before assembling the final video. I am looking for help in handling video frames efficiently within the constraints of AWS Lambda.

    &#xA;

    Any insights, code snippets, or recommendations would be greatly appreciated. Thank you !

    &#xA;