Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (53)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (6362)

  • asp.net core live mp4 streaming

    8 octobre 2020, par kdma

    Prologue :

    


    I have a hikvision ipcamera that streams raw h264 from a rtsp :// url, I need to play this live feed in the browser.

    


    I managed to get a basic RTSP->ffmpeg-> (faststart) mp4 pipeline working and I can play the video when saved to a file.

    


    I don't understand how to make my controller action "streamable".

    


    I've tried various approaches like writing to Response.Body, Transfer-Encoding : chunked but nothing seems to work.
Here is the basic code :

    


    public IActionResult Play5(){    
      var ms = new MemoryStream();
      var muxer = new RTSPToMp4(ms);
      Task.Run(() => muxer.Stream());
      return new FileStreamResult(ms, "video/mp4");
}


    


    The memory stream contains the live feed but the response is empty here is the request\response from chrome :

    


    Request

    


    method: GET
:path: /api/stream/play5
:scheme: https
accept: */*
accept-encoding: identity;q=1, *;q=0
accept-language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
cache-control: no-cache
pragma: no-cache
range: bytes=0-
referer: https://localhost:5001/Stream
sec-fetch-dest: video
sec-fetch-mode: no-cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36


    


    Response

    


    content-length: 0
content-type: video/mp4
date: Thu, 08 Oct 2020 14:31:06 GMT
server: Kestrel
status: 200


    


    Am I missing something ?

    


  • PHP-FFMpeg video output is truncated

    25 juin 2019, par showdev

    I’m using the PHP-FFMpeg library found here and code from the "Basic Usage" section.

    The outputted video seems to be truncated. I’m using a source video that’s 28 seconds long, but the output is only 9 seconds. What’s going wrong ?

    Here, I’m checking the duration of the source video :

    $ffprobe = FFMpeg\FFProbe::create();
    $duration = $ffprobe
     ->format('test/source.mp4')
     ->get('duration');

    28.700000

    Then generating an output video :

    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('test/source.mp4');
    $video->save(new FFMpeg\Format\Video\X264(), 'test/export.mp4');

    Then checking the duration of the output video :

    $ffprobe = FFMpeg\FFProbe::create();
    $duration = $ffprobe
     ->format('test/export.mp4')
     ->get('duration');

    9.234000

  • Video editor application in android [on hold]

    26 janvier 2019, par Mustafa Çakar

    I want to make a video editor app, I also I want to add and remove text in the video. You can check renderforest video tab for example. I can use FFMPEG for basic editing operations like cropping, cutting, but I have no idea about set text or change text in the video. Do you have a source or library to suggest ? Sorry for my bad english.