Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (6717)

  • How can I store a live stream when internet connection is interrupted ?

    5 juin 2019, par Marcello Moreira

    I’m building a solution using drone and 3g/4g connection.
    I have an IP camera encoded in H.264 by a hardware encoder connected to a raspberry pi and a 3g/4g moldem. The hardware encoder livestream de video via RTMP to a remote server I have. All these devices are in a moving platform, and sometimes the moldem loses connection with internet for a few seconds/minutes. When this happens, I want to store the live footage in the raspberry with ffmpeg, and when the connection restores I can send it back to the server. I have access to the encoded livestream from the raspberry pi over LAN even when internet is down.

    I do not know how and where should I start.
    I see two approaches for this.

    First approach

    One is to do all the streaming via ffmpeg, and disable the automatic hardware stream, when ffmpeg detects that it can’t send stream to the remote server, it starts to store the video (like a buffer) until the connection is restore. The issue with this, is that I don’t know if ffmpeg can detect if internet connection is down, and how can I buffer the video. Also by doing this, when connection is restored, live video would have a huge delay, and I can’t have lot’s of delay in my solution.

    Second approach

    The second is simultaneously store with ffmpeg the live video, when internet goes down, a process records the timestamp, and keeps watching until internet connection is restored. Then it sends to my server only the missing piece. At my server I would need to figure out a way to join those streams back up.. (I would gladly accept tips on that too). Issue with this is that there’s limited space in my raspberry, so I can only store a limited amount. Also, my device may be turned off when it lands so I need to send the video recording ASAP after connection is restored.

    So, which approach seems to be the better one ?

  • mpegts demuxer : store PMT values of DVB teletext to extradata

    24 janvier 2014, par Serhii Marchuk
    mpegts demuxer : store PMT values of DVB teletext to extradata
    

    * Using extradata by TS demuxer to store values from PMT
    * Support of multiple languages in one DVB teletext stream :
    comma separated language codes in metadata "language" field

    Reviewed-by : Marton Balint <cus@passwd.hu>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/mpegts.c
  • Why is the external executable I bundled with my azure function not being found at runtime, despite it being present in the expected location ?

    6 septembre 2023, par Cristian Camilo Garcia Barrera

    I have a group of Azure functions that I publish to a functions app. One of these is a blob triggered function, meant to extract thumbnails from videos uploaded to Azure storage, and to do so, uses ffmpeg.exe.

    &#xA;

    I have published the project via Visual Studio, adding the executable in a directory in the root of the project. The relative path is exe/ffmpeg.exe. To include the executable in the published bundle I followed the instructions in this Microsoft Developer instructional video.

    &#xA;

    After publication, If I enter the Kudu debug console for this function app, I can find the file under C:\home\site\wwwroot\exe\ffmpeg.exe, as expected. I can even use that absolute path to execute ffmpeg inside the Kudu console.

    &#xA;

    This is the code I use to call the ffmpeg executable in the blob function :

    &#xA;

    using (var process = new Process())&#xA;{&#xA;    process.StartInfo = new ProcessStartInfo&#xA;    {&#xA;        FileName = @"C:\home\site\wwwroot\exe\ffmpeg.exe",&#xA;        Arguments = $"-hide_banner -loglevel error -i {videoTempPath} -frames:v 1 {thumbTempPath}",&#xA;        UseShellExecute = false,&#xA;        RedirectStandardOutput = true,&#xA;        RedirectStandardError = true,&#xA;        CreateNoWindow = true&#xA;    };&#xA;&#xA;    process.Start();&#xA;    await process.WaitForExitAsync();&#xA;}&#xA;

    &#xA;

    However, this does not work. I get the following error in the logs :

    &#xA;

    &#xA;

    An error occurred trying to start process 'C :\home\site\wwwroot\exe\ffmpeg.exe' with working directory 'C :\Program Files (x86)\SiteExtensions\Functions 4.25.2132bit. The system cannot find the file specified.

    &#xA;

    &#xA;

    And indeed my thumbnails are never created. How can I solve this, or why does it happen ?

    &#xA;