Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7148)

  • seeking in a file that ffmpeg is processing from a live stream

    8 mai 2024, par Ken Mandelberg

    I'm using ffmpeg to take input from a live stream and write an mkv file. The stream runs a few hours. I want to play the mkv file while this is in progress. I find that the players basically do "seeks" by playing through the file, which is ok for very short "seeks" but not for very long ones.

    


    When the ffmpeg ends it finalizes the mkv file, and seeks long or short work fine.

    


    What can I do to be able to have a more usable mkv while ffmpeg is in progress ? I suppose I could force ffmpeg to create a new mkv file every hour, with a name including an index. (Is there any automation for that ?), but I was hoping for some way to force periodic finalizations to the single file.

    


    This is on Linux.

    


  • ffmpeg, we reported the error of av_interleaved_write_frame() : End of fileB Error writing trailer of rtmps ://live-api-s.facebook.com:443/rtmp/*

    21 octobre 2022, par yong zhang

    We want to implement such a small function, using webrtc technology on the web side to push the stream to the webrtc service of SRS, and then push the rtmp stream of SRS to the go live of facebook through ffmpeg to push the live broadcast. But we encountered a problem. When we forwarded and pushed the stream with ffmpeg, we reported the error of av_interleaved_write_frame() : End of fileB Error writing trailer of rtmps ://live-api-s.facebook.com:443/rtmp/. Please help and guide the heroes to see where the problem may occur.
The command we executed is : ./ffmpeg -threads 2 -thread_queue_size 9512 -re -i "rtmp ://xxx.xxx.xxx:1935/live/" -max_muxing_queue_size 1024 -force_key_frames "expr:gte (t,n_forced2)" -vf crop=in_w:in_w9/16,scale=1280:720 -reorder_queue_size 4000 -max_delay 10000000 -c:v libx264 -preset veryfast -b:v 3000k -maxrate 1500k -bufsize 4000k -g 50 -c:a aac -ac 2 -ar 48000 -f flv -r 30 -flvflags no_duration_filesize "rtmps ://live-api-s.facebook.com:443/rtmp/"
The ffmpeg version is : 4.13 and above all the same error.
SRS version : 5.56

    


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