Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (40)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (7086)

  • How do I correctly convert .avi to .flv with ffmpeg ? [closed]

    25 septembre 2012, par terbooter

    UPDATE
    Shame on me )
    I chacked red5 logs again and found that I placed converted files to wrong place.
    Now all works fine

    I have two red5 apps.

    1. Recorder. It can record live stream and save it to flv file to disk

      private void startRecord(String uid, String name, IConnection connection) {
         // Get a reference to the current broadcast stream.
         ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(
                 connection.getScope(), name);
         try {
             // Save the stream to disk.
             String path = uid + "/" + name;
             stream.saveAs(path, true);

             System.out.println("file..:" + stream.getSaveFilename());

         } catch (Exception e) {
             System.out.println("Error while saving stream: " + name + e);
         }
      }

      private void stopRecord(String name) {
         IConnection conn = Red5.getConnectionLocal();
         System.out.println("Stop recording show for: {}" + conn.getScope().getContextPath());

         ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(conn.getScope(), name);
         // Stop recording.
         if (stream != null) {
             stream.stopRecording();
         }
      }
    2. Second red5 app (Chat) streams recorded flv file to flash client

      public static String serverStreamCreate(String path, String streamName) {

         IServerStream serverStream = StreamUtils.createServerStream(Red5.getConnectionLocal().getScope(), streamName);
         SimplePlayItem item = SimplePlayItem.build(path);

         IPlaylistController controller = new MyPlayListController();

         serverStream.setPlaylistController(controller);
         serverStream.setRepeat(false);
         serverStream.addItem(item);
         serverStream.addItem(item);
         serverStream.start();
         return streamName;
      }

    If I record stream from flash client to flv file with Recorder and after that stream this flv file back to client with Chat, all works fine.

    Now I want to convert avi file to flv and stream it from red5 app to flash client.
    I used ffmpeg

    ffmpeg -i 24.avi -ar 22050 -an -f flv -b 500k -s 320x240 -y 24_c.flv

    But if I stream 24_c.flv from Chat app flash client have no video.
    24_c.flv cant be playd by VLC player and have same code information as flv file created by Recorder red5 app.

    I really dont know where to dig.

  • Loading privacy policy file from RED5 server

    17 juillet 2013, par Yaron U.

    I have an IP camera that I need to connect to Flash/Air application (showing the stream),
    And then capturing data from the video into bitmap

    In order to do so I use RED5 server to serve the RTMP stream along with FFMPEG (to convert the camera's RTSP stream to RTMP)

    I made the conversion based on this very useful blog post

    Everything works fine (I can see the stream in the flash app) until I try to capture the video screen using BitmapData

    The error is about privacy policy file not loaded :

    Security sandbox violation: BitmapData.draw ...
    cannot access rtmp://localhost:1935/live. No policy files granted access.
    ...

    Digging a little bit into RED5's config I see it has configurations for policy server on port 843 - but after luanching the server, it doesn't seem like it listens to this port
    and

    Any ideas ?

  • ffmpeg settings or alternatives to ffmpeg on raspberry pi for video streaming

    14 octobre 2016, par andrei

    I have a Raspberry Pi (model B) running raspbian wheezy on a 16gb SD card. I also have a 32gb flash storage attached on the usb. I’m trying to stream a video (h264 encoded mp4 file 1280x720) over the ethernet from that flash storage.
    I’m using ffmpeg+ffserver. Here is ffserver.conf (relevant parts) :

    ...
    MaxBandwidth 10000
    <feed>
    ...
    FileMaxSize 100M
    ACL allow 127.0.0.1
    </feed>
    ...
    <stream>
    Feed feed1.ffm
    Format flv
    VideoSize 288x176 #made small just for testing
    NoAudio
    </stream>
    ....

    I start the ffserver, then call ffmpeg with this command :

    ffmpeg -re -an -i /mnt/u32/main.mp4 -r 25 -bit_rate 300k http://localhost:8090/feed1.ffm

    And I’m getting fps 3-5 at most. Naturally when I try to view the stream on another computer it’s very choppy and virtually unusable.

    Am I missing some settings ? Or perhaps there is another streaming solution that leverages the GPU instead of just the CPU as ffmpeg does ? I’m even open to suggestions about other boards (e.g. a pandaboard ? or clustering several RPi’s ?) Also, I’m flexible about the output format.