Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (18)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (5421)

  • How can I get audio in my ffmpeg stream to nginx rtmp server ?

    26 novembre 2013, par Conor Patrick

    I currently have a nginx server setup with the rtmp plugin for video streaming. I'm streaming to it with ffmpeg and then displaying the stream on a web browser with adobe flash player.

    I have the video streaming successfully but I have not been able to get audio.

    This is the ffmpeg command I use to start the stream

    ffmpeg -f video4linux2 -s 320x240 -r 16 -i /dev/video0 -f alsa -i hw:0 -an -f flv rtmp://123.456.789.51:31002/rover/mystream

    The stream then goes to nginx which is running on this conf file

    worker_processes  1;

    error_log  logs/user/error.log debug;

    events {
       worker_connections  1024;
    }

    rtmp {
       server {
           listen 31002;

           application rover {
               live on;
               #meta copy;
               #interleave on;
               allow publish all;
               allow play all;

               hls on;
               #record keyframes;
               #record_path /tmp;
               #record_max_size 128K;
               #record_interval 30s;
               #record_suffix .this.is.flv;

               #on_publish http://localhost:8080/publish;
               #on_play http://localhost:8080/play;
               #on_record_done http://localhost:8080/record_done;
           }
       }
    }

    http {
       server {
           listen      26360;

           location /stat {
               rtmp_stat all;
               rtmp_stat_stylesheet stat.xsl;
           }

           location /stat.xsl {
               root nginx-rtmp-module-master/;
           }

           location /control {
               rtmp_control all;
           }

           #location /publish {
           #    return 201;
           #}

           #location /play {
           #    return 202;
           #}

           #location /record_done {
           #    return 203;
           #}

           location /rtmp-publisher {
               root /path/to/test;
           }

           location / {
               root nginx-rtmp-module-master/test/www;
           }
       }
    }

    I then access the stream from a browser using this set up for the adobe flash player and strobe media player.

       
       
       
       
       
       
       

    Could I get some suggestions as to how I couldn't be getting audio ? I'm streaming video from my webcam and specifying audio from my mic.

  • OpenCV 2.4.7 with FFMpeg support build with VS 2010 (x86)

    24 novembre 2013, par GregPhil

    I'm fighting with new version of OpenCV 2.4.7 for almost one week (prev. used 2.4.2). My motivation for the new setup is the fact that I run into problems using the Videowriter for uncompressed grayscale videos (http://answers.opencv.org/question/3603/videowriter-videocapture-and-uncompressed-avi/). In https://github.com/Itseez/opencv/pull/1516 "akarsakov" is recommending to build OpenCV without vfw support and open uncompressed video through ffmpeg. That's what I tried to do. I followed basically the instructions mentioned in this video : http://docs.opencv.org/trunk/doc/tutorials/introduction/windows_install/windows_install.html

    I had successfully build opencv with Qt 5.1.1 (http://answers.opencv.org/question/24184/how-to-compile-opencv-247-with-qt-and-ffmpeg/). But I'm not able to get the VideoWriter & VideoCapture work for me. So what I did :

    1. I downloaded the newest ffmpeg build from http://ffmpeg.zeranoe.com/builds/

    2. I generated the vs2010 project disabling VfW and enabling ffmpeg instead :

      Video I/O:

      Video for Windows:           NO
      DC1394 1.x:                  NO
      DC1394 2.x:                  NO
      FFMPEG:                      YES (prebuilt binaries)
       codec:                     YES (ver 55.18.102)
       format:                    YES (ver 55.12.100)
       util:                      YES (ver 52.38.100)
       swscale:                   YES (ver 2.3.100)
       gentoo-style:              YES
       OpenNI:                    NO
      OpenNI PrimeSensor Modules:  NO
      PvAPI:                       NO
      GigEVisionSDK:               NO
      DirectShow:                  YES
      Media Foundation:            NO
      XIMEA:                       NO
    3. I added the include directories and libs for ffmpeg to the highgui module.

    I was not able to compile OpenCV without any errors but the behaviour what I see is not what I expect :

    1. Build OpenCV 2.4.7 without VfW -> VideoWriter.open () returns always false !
    2. Build OpenCV 2.4.7 with VfW -> VideoWriter.open () returns true for the time, calling a release() and an open() on the same object returns always a false.
    3. With or without ffmpeg -> An VideoCapture.open () gives a error message asking for libiconv-2dll !

    Does some had the same problems and is able to point me to my mistake ?

    Thank you in advance.
    cheers

  • MPEG-DASH Encoding for Live Streaming

    16 mai 2016, par Mcp

    I want to do encode a live stream for MPEG-DASH in various bitrates and resolutions for live playback.

    Everything I found so far either uses only the source resolution (Nimble, nginx-rtmp-module) or seems to be only for VOD streaming(DASHEncoder).

    Is it possible to use DASHEncoder with a live input (rtmp stream) and how would I do that ?
    If not, is it possible to use nginx-rtmp + ffmpeg for what I want to do ?