Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

Sur d’autres sites (6156)

  • How can I display a multicast video stream in a React.js web application using FFmpeg and JavaScript ?

    20 mai 2023, par OmriHalifa

    I'm working on a project where I'm sending video using the following FFmpeg command :
ffmpeg -f dshow -i video="HP Wide Vision HD Camera" -profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast -tune zerolatency -vcodec libx264 -r 10 -b:v 512k -s 640x360 -acodec aac -ac 2 -ab 32k -ar 44100 -f mpegts -flush_packets 0 udp://235.235.235.235:12345 
My goal is to display the sent video using JavaScript and React. Is this possible, and how can it be accomplished ?

    


    I tried using the video.js library, but I received the following error :
video.es.js:218 VIDEOJS: ERROR: (CODE:2 MEDIA_ERR_NETWORK) HLS playlist request error at URL: udp://235.235.235.235:12345.
This is the code I wrote :

    


    import React, { useEffect, useRef } from "react";&#xA;import videojs from "video.js";&#xA;&#xA;import "video.js/dist/video-js.css";&#xA;&#xA;const VideoPlayer = () => {&#xA;  const videoRef = useRef(null);&#xA;&#xA;  useEffect(() => {&#xA;    const videoElement = videoRef.current;&#xA;    const options = {&#xA;      techOrder: ["html5"],&#xA;      sources: [&#xA;        {&#xA;          src: "udp://235.235.235.235:12345",&#xA;          type: "application/x-mpegURL",&#xA;        },&#xA;      ],&#xA;    };&#xA;&#xA;    const player = videojs(videoElement, options);&#xA;&#xA;    return () => {&#xA;      if (player) {&#xA;        player.dispose();&#xA;      }&#xA;    };&#xA;  }, []);&#xA;&#xA;  return (&#xA;    <div>&#xA;      <video ref="{videoRef}" classname="video-js vjs-default-skin"></video>&#xA;    </div>&#xA;  );&#xA;};&#xA;&#xA;export default VideoPlayer;&#xA;&#xA;import React from "react";&#xA;import VideoPlayer from "./VideoPlayer.js";&#xA;&#xA;const App = () => {&#xA;  return (&#xA;    <div>&#xA;      <h1>Displaying Multicast Stream</h1>&#xA;      <videoplayer></videoplayer>&#xA;    </div>&#xA;  );&#xA;};&#xA;&#xA;export default App;&#xA;&#xA;

    &#xA;

    Are there any other pre-built libraries available that I can use for this purpose ? If not, what alternatives or options might be available ? Thank you in advance !

    &#xA;

  • Inserting an image inside a video every few frames using ffmpeg

    9 mars 2017, par Erez Hochman

    Can I use FFMPEG to insert an image every 20 frames in a video ?
    I’m trying to create a subliminal message experiment and I thought it would be an easy way to make it but I can’t find anything online.

    I tried to make something myself and created a script that :
    1.splits a file into audio and video files
    2.splits the video into frames
    3.overwrites every 20th image in the sequence with the message image
    4.re-encoding the video
    5.concatenating it with the original audio

    this works but it’s way more disk space consuming to be comfortable, is there a better way to do this ?
    any advice or thought would be happily welcome.

  • Inserting an image inside a video every few frames using ffmpeg

    31 juillet 2023, par Erez Hochman

    Can I use FFMPEG to insert an image every 20 frames in a video ? &#xA;I'm trying to create a subliminal message experiment and I thought it would be an easy way to make it but I can't find anything online.

    &#xA;&#xA;

    I tried to make something myself and created a script that :
    &#xA;1.splits a file into audio and video files
    &#xA;2.splits the video into frames
    &#xA;3.overwrites every 20th image in the sequence with the message image
    &#xA;4.re-encoding the video
    &#xA;5.concatenating it with the original audio

    &#xA;&#xA;

    this works but it's way more disk space consuming to be comfortable, is there a better way to do this ?
    &#xA;any advice or thought would be happily welcome.

    &#xA;