Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (87)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

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

Sur d’autres sites (9994)

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