Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (83)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (8395)

  • 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

    


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

    


    if anyone know this issue let me know

    


    const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path
const ffmpeg = require('fluent-ffmpeg')
ffmpeg.setFfmpegPath(ffmpegPath)


const testFolder = './videos/';
const fs = require('fs');

 


fs.readdir(testFolder, async(err, files) => {
  try {
    for(let i = 0; i < 10; i++){
      if(files[i] != '1 Surah Fatiha Dr Israr Ahmed Urdu - 81of81.mp4'){
        
        let converter = await ffmpeg(`./videos/${files[i]}`)
        await converter.setStartTime('00:00:00').setDuration('30').output(`./outputfolder/${files[i]}`).on('end', function(err) {
        if(err) { 
          console.log(`err durinng conversation \n ${err}`) 
        }
        else{
          console.log(`Done ${files[i]}`);
        }
        }).on('error', function(err){
          console.log(`error: ${files[i]}`, err)
        }).run()
      }
    }
  } catch (error) {
    console.log(error)
  }
});



    


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

    


    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 <100mb per 5 min video using h265, so I know there is a lot of space for storage saving.

    


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

    


    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.

    


    My nginx.conf :

    


    rtmp {
    server {
        listen 1935; # Listen on standard RTMP port

        application relay {
            
            live on;

            hls on;
            hls_path /tmp/hls;
            hls_fragment 15s;


            exec_static /usr/bin/ffmpeg -i rtsp://test:test@192.168.100.10:8554/fhd -vcodec copy -f flv rtmp://localhost:1935/relay/fhd; 

            # record block  
            record video;
            record_path /tmp/hls;
            record_unique on;
            record_interval 5m;
        }
    }
}


    


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