Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (104)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (7181)

  • Capture cctv camera with iphone application using IP

    22 septembre 2021, par Bittu

    I want to develop a cctv camera app and I don't know what steps I need to take.
i have the data below for connecting cctv camera :

    



      

    • Ip address
    • 


    • port ID
    • 


    • user name
    • 


    • password
    • 


    



    i checked live555 and RTMPStreamPublisher demo from here, but i don't know where I should start. i also read that i should use the ffmpeg framework.

    



    What I want is an app similar to kView on itunes. This app is able to stream a cctv camera feed with the above configuration detials

    



    Does anyone know what direction I need to go in ? Is there a demo or open-source app that accomplishes this ?

    


  • How to work with data received from streaming services in my Java application ?

    24 novembre 2020, par gabriel garcia

    I'm currently trying to develop an "streaming client" as a way to organize multiple stream services (twitch, yt, mitele...) in a single desktop application written in Java.

    


    It basically relies on streamlink (which relies in ffmpeg) thanks to all it's features so my project could be defined as a frontend for streamlink.

    


    Straight to the point, one of the features I'd like to add it is the option to programatically record streams in the background and showing this video stream to the user when it's requested. Since there's also the possibility that the user wants to watch the stream without recording it, I'm forced to work with all that byte-like data sent from those streaming sources.

    


    So, the problem is basically that I do not know much about video coding/decoding/muxing/demuxing nor video theory like container structure, video formats and such.

    


    But the idea is to work with all the data sent from the stream source (let's say twitch, for example), read this bytes (I'm not sure what kind of information is sent to the client nor format) from the java.lang.Process's stdout and then present it to the client.

    


    Here's another problem : I don't know how to play video streams in JavaFX and I don't think it's even supported right now. So I would have to extract each frame and sound associated from the stdout and show them to the user each time a new frame is received (oups, another problem since I don't know when does each frame starts/ends since I'm reading each stdout's line).

    


    As a summary :

    


      

    • What kind of data am I receiving from the streaming source ?
    • 


    • How can I know when does each frame starts/stops ?
    • 


    • How can I extract the image and sound from each frame ?
    • 


    


    I hope I'm not asking too much and that you could shed some light upon my darkness.

    


  • FFMPEG streams from Docker container application are not playing on other computers

    25 janvier, par tipitoe

    I'm building a docker container app using dotnet core that captures and plays audio streams using ffmpeg.

    


    Since some of the URLs cannot be played directly in a web browser, audio needs to be processed by ffmpeg first. The ffmpeg output is a local url http://127.0.0.1:8080 that is sent back to a browser in an Ajax call.

    


    The audio plays perfectly in Visual Studio during development. I understand, since URL refers to localhost, there is no issue playing the audio. Unfortunately, with application being installed as docker container, the audio is being blocked. Initially, my guess was it was CORS that was blocking the stream. Also I considered the possibility that I have to use LAN IP address of the machine hosting docker container. This did not solve the problem
either.

    


    Here is my code so far in Startup.cs

    


      services.AddCors(options => options.AddPolicy("AllowAll",
  builder => builder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod()));

  app.UseCors("AllowAll");
  app.UseRouting();


    


    Here is an Ajax call

    


      $.ajax({
  type: 'POST',
  url: '/live?handler=PlayStream',
  beforeSend: function (xhr) {
      xhr.setRequestHeader('XSRF-TOKEN',
          $('input:hidden[name="__RequestVerificationToken"]').val());
  },
  dataType: 'json',
  data: { 'streamId': streamId },
  success: function (data) {

      var json = JSON.parse(data);

      source = new Audio(json.InputUri);
      source.play();
              


  },
  failure: function (response) {

      alert(response.responseText);
  },
  error: function (response) {

      alert(response.responseText);
  }


    


    }) ;

    


    I would appreciate any suggestions how to solve this problem. Thanks