Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (100)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • 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

  • 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 ?

    


  • Chop video in parts

    15 mai 2019, par Reckless Velociraptor

    I tried to use this command :

    ffmpeg -i "in.mp4" -codec copy -map 0 -f segment -segment_list out.txt -segment_times 01:00:00,01:00:00,01:00:00 out%03d.mp4

    and expected 1hour long parts. But this is not what I get. What is correct syntax for -segment_times ?