Recherche avancée

Médias (91)

Autres articles (83)

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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • 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

Sur d’autres sites (14937)

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

  • How to handle FFMPEG module missing probe inside docker ?

    2 avril 2021, par DarkFantasy

    I am AWARE of how to solve this problem of missing problem module with spleeter on WINDOWS. Here is the solution&#xA;https://github.com/deezer/spleeter/issues/101

    &#xA;

    How can I achieve the same inside my docker container ? In my docker file, the FFMPEG is being installed but it is missing the probe module. This is a common problem but one that I don't know how to solve inside of Docker.

    &#xA;

    I tried doing

    &#xA;

    RUN apt-get install -y ffmpeg&#xA;RUN pip uninstall ffmpeg-python&#xA;RUN pip install -r requirements.txt&#xA;

    &#xA;

    in my docker file but didn't work. The thing is, it was all working until last night. Today morning, I am getting this error when I rebuilt my docker image. Any help is appreciated.

    &#xA;