Recherche avancée

Médias (1)

Mot : - Tags -/géodiversité

Autres articles (36)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5732)

  • Module not found : Can't resolve './lib-cov/fluent-ffmpeg'

    29 mars 2021, par anInputName

    I created this project using npx create-react-app, and I'm trying to use ffmpeg-concat, but I get the error in the title. Node version v14.15.1, npm version 7.7.5. I have ffmpeg installed and in my PATH.

    


    Error :

    


    ./node_modules/fluent-ffmpeg/index.js
Module not found: Can't resolve './lib-cov/fluent-ffmpeg' in 'C:\Users\XXX\Desktop\test\node_modules\fluent-ffmpeg'


    


    My code :

    


    function App() {&#xA;  //this is taken from ffmpeg-concat documentation page&#xA;  const concat = require(&#x27;ffmpeg-concat&#x27;)&#xA;  await concat({&#xA;    output: &#x27;test.mp4&#x27;,&#xA;    videos: ["videos/a.mp4", "videos/b.mp4", "videos/c.mp4"],&#xA;    transition: {&#xA;      name: &#x27;directionalWipe&#x27;,&#xA;      duration: 500&#xA;    }&#xA;  })&#xA;&#xA;  return (&#xA;    <div classname="App">&#xA;      <header classname="App-header">&#xA;        <video input="{&quot;test.mp4&quot;}"></video>&#xA;      </header>&#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;class Video extends Component {&#xA;  render() {&#xA;    return (&#xA;      &#xA;    )&#xA;  }&#xA;}&#xA;&#xA;export default App;&#xA;

    &#xA;

    index.js in node_modules\fluent-ffmpeg\ :

    &#xA;

    module.exports = process.env.FLUENTFFMPEG_COV ? require(&#x27;./lib-cov/fluent-ffmpeg&#x27;) : require(&#x27;./lib/fluent-ffmpeg&#x27;);&#xA;

    &#xA;

  • How to convert cctv footage to h265 for streaming and recording in nginx-rtmp module ?

    6 avril 2021, par Joram

    I am using the nginx-rtmp-module here to pull an rtsp stream from a camera on local network and convert it to rtmp. This rtmp stream is then converted to hls and made available for livestreaming. It is also being recorded in 5 min segments. (these things can all be seen in the nginx.conf below).

    &#xA;

    I want to change the video codec to h265 to save storage space, since each 5 min video is ~230mb, and using opencv and python, I was able to get &lt;100mb per 5 min video using h265, so I know there is a lot of space for storage saving.

    &#xA;

    How can I change the codec of the stream to h265 ?

    &#xA;

    I have tried installing libx265-dev and setting -vcodec libx265, however this tells me flv is an invalid container and I'm getting nowhere with finding a valid container for streaming + recording.

    &#xA;

    My nginx.conf :

    &#xA;

    rtmp {&#xA;    server {&#xA;        listen 1935; # Listen on standard RTMP port&#xA;&#xA;        application relay {&#xA;            &#xA;            live on;&#xA;&#xA;            hls on;&#xA;            hls_path /tmp/hls;&#xA;            hls_fragment 15s;&#xA;&#xA;&#xA;            exec_static /usr/bin/ffmpeg -i rtsp://test:test@192.168.100.10:8554/fhd -vcodec copy -f flv rtmp://localhost:1935/relay/fhd; &#xA;&#xA;            # record block  &#xA;            record video;&#xA;            record_path /tmp/hls;&#xA;            record_unique on;&#xA;            record_interval 5m;&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

  • node ffmpeg module stuck more than one file

    29 mai 2021, par Muhammad Hamza

    when I read more than one file it will be stuck and also hang my pc. I need to restart my pc

    &#xA;

    on one file or 5 files it will work perfectly but not more than 5 files

    &#xA;

    if anyone know this issue let me know

    &#xA;

    const ffmpegPath = require(&#x27;@ffmpeg-installer/ffmpeg&#x27;).path&#xA;const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;)&#xA;ffmpeg.setFfmpegPath(ffmpegPath)&#xA;&#xA;&#xA;const testFolder = &#x27;./videos/&#x27;;&#xA;const fs = require(&#x27;fs&#x27;);&#xA;&#xA; &#xA;&#xA;&#xA;fs.readdir(testFolder, async(err, files) => {&#xA;  try {&#xA;    for(let i = 0; i &lt; 10; i&#x2B;&#x2B;){&#xA;      if(files[i] != &#x27;1 Surah Fatiha Dr Israr Ahmed Urdu - 81of81.mp4&#x27;){&#xA;        &#xA;        let converter = await ffmpeg(`./videos/${files[i]}`)&#xA;        await converter.setStartTime(&#x27;00:00:00&#x27;).setDuration(&#x27;30&#x27;).output(`./outputfolder/${files[i]}`).on(&#x27;end&#x27;, function(err) {&#xA;        if(err) { &#xA;          console.log(`err durinng conversation \n ${err}`) &#xA;        }&#xA;        else{&#xA;          console.log(`Done ${files[i]}`);&#xA;        }&#xA;        }).on(&#x27;error&#x27;, function(err){&#xA;          console.log(`error: ${files[i]}`, err)&#xA;        }).run()&#xA;      }&#xA;    }&#xA;  } catch (error) {&#xA;    console.log(error)&#xA;  }&#xA;});&#xA;&#xA;

    &#xA;