Recherche avancée

Médias (91)

Autres articles (82)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (6942)

  • nreco wrapper bitmap streaming through rtmp

    16 avril 2021, par pavel63

    I'm developing an application for real time streaming.
capture frames from video devices and encoding with a ffmpeg wrapper called nreco.

    



    the problerm is that if i try to stream encoded video to red5 via rtmp on red5 server, connection is immediatily closed.

    



    this is the code i use to configure the output streaming :

    



    ffMpegTask = videoConv.ConvertLiveMedia(
     Format.raw_video,
     outstream,
     Format.flv,
     new ConvertSettings()
     {
         CustomInputArgs = " -re -pix_fmt bgr24 -video_size 800x600 ", 
         CustomOutputArgs = " -acodec copy -vcodec libx264 -pix_fmt yuv420p rtmp://127.0.0.1/live/stream ",   
     });

      ffMpegTask.Start();


    



    adding frame this way :

    



    void camera_Frame(object sender, FrameEventArgs e)
{
   Bitmap item = e.Frame;

   BitmapData bd = item.LockBits(new Rectangle(0, 0, item.Width, item.Height), ImageLockMode.ReadOnly, PixelFormat.Format24bppRgb);
   byte[] buf = new byte[bd.Stride * item.Height];
   Marshal.Copy(bd.Scan0, buf, 0, buf.Length);
   ffMpegTask.Write(buf, 0, buf.Length);
   item.UnlockBits(bd);
}  


    



    any help ?

    


  • Android HLS : Any way to edit the m3u8 file so that I know which segment is currently streaming/playing in my player using HLS

    1er août 2014, par hclee

    I am now working on a VOD project using HLS.

    I use the VideoViewBuffer in VitamioDemo to stream my video that is stored in my local server.
    The Vitamio library is awesome that I am able to stream the video, getting the bit rate, buffering percentage and some metadata.

    We use ffmpeg to convert the video into m3u8 and the corresponding ts files.
    But now our team want to know which segment (which ts file) of the video the HLS is currently streaming.

    That’s a very important part in our project but we get stuck in this point.

    I tried to use the MediaMetadata in Vitamio but only the Duration of the video is found.
    I am wondering if we can add some metadata in the m3u8 file so that we can retrieve the name of the current segment during streaming.
    eg :
    The original m3u8 is like this :
    #EXTINF:10.500000,
    stream00000.ts

    Is it possible for me to change it as follows :
    #EXTINF:10.500000, name of segment
    stream00000.ts

    But all I can get using MediaMetaDataRetriever is null except for the duration.

    It seems that no body have done this before so I can’t find any very useful information about this.

    Do anybody how to implement this ?
    Or should I use some packet sniffer to monitor the network traffic by myself ?
    Or Would MediaScanner be helpful ?
    Or I need to use code in android.os ?

    Thanks in advance !

  • Add a tool for creating smooth streaming manifests

    9 janvier 2012, par Martin Storsjö

    Add a tool for creating smooth streaming manifests