Recherche avancée

Médias (91)

Autres articles (55)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5358)

  • Is it possible to stream MJPEG content over MPEG-DASH ?

    26 juillet 2021, par Eloy Schultz

    I am trying to re-stream an MJPEG stream over dash using ffmpeg.

    


    I have an ESP32 camera module that outputs an MJPEG livestream at 192.168.2.128:81/stream (Arduino code here).
I can open this stream directly in the browser and see the video in realtime, but the camera will only allow for a single client at a time while I am in need of a multi client solution.

    


    What doesn't work

    
A solution I am currently trying to implement is to use a seperate server (Raspberry Pi) running apache and ffmpeg to re-stream the MJPEG content using DASH :


    ffmpeg -re -i http://192.168.2.128:81/stream -strict -2 -an -c:v copy -b:v 2000k -f dash -window_size 4 -extra_window_size 0 -min_seg_duration 2000000 -remove_at_exit 1 /var/www/html/out.mpd


    


    I get no errors when executing this command on the server.
I then use this ffmpeg-dash.html to display the video in the browser.
This code unfortunately fails, in Firefox the console reports the error :

    


    [72][Stream] No streams to play.


    


    followed by :

    


    Cannot play media. No decoders for requested formats: video/mp4;codecs="mp4v.6c";width="640";height="480"


    


    What does work

    
What is puzzling me is that the above code works fine if I replace the MJPEG livestream url with a sample .mkv file, so if I use


    ffmpeg -re -i /var/www/html/video.mkv -strict -2 -an -c:v copy -b:v 2000k -f dash -window_size 4 -extra_window_size 0 -min_seg_duration 2000000 -remove_at_exit 1 /var/www/html/out.mpd


    


    I can view the livestreamed sample video (video.mkv) without problems using the previously mentioned ffmpeg-dash.html file.
Furthermore, it seems that ffmpeg can read the MJPEG livestream without problems, since

    


    ffmpeg -t 10 -i http://192.168.2.128:81/stream -filter:v fps=15 -c:v flv test.flv


    


    returns a 10 second clip of the livestream succesfully.

    


    So to me it seems that the problem lies in how I combine the two. What am I missing ? Is it even possible to stream MJPEG content over MPEG-DASH ?
(I am new to this, sorry in advance for my ignorance)

    


  • Seeking in Libav / FFMPEG a DASH stream

    23 janvier 2018, par Glen Rhodes

    Recently, the functionality for playing DASH format files (mpd) was added to Libav. I’m trying to determine the best way to seek forward in the stream.

    When I use av_seek_frame, it does go to the correct time, but there’s a considerable delay which makes me think it’s not properly jumping to a segment / byte offset in the HTTP request, but rather just downloading with all its might until it arrives at the correct timestamp.

    int ret = av_seek_frame(is->pFormatCtx, stream_index, seek_target, is->seek_flags);

    When I use avformat_seek_file, it only seems to go forward several seconds before just continuing to play. So if I start playback, and then seek to 50 seconds, it will jump to something like 12. If I do the same seek again, it’ll jump further ahead, but still not 50.. however if it eventually gets to 50, then I do avformat_seek_file, it will successfully jump back to 50 no problem. So it’s like it tries, and gives up.

    int ret = avformat_seek_file(is->pFormatCtx, stream_index, INT64_MIN, tm, INT64_MAX, 0);

    Does anyone know how seeking is managed in the Libav dash playback ?

  • mpeg-dash toolkit, how can I make such videos ?

    21 mai 2015, par sathia

    I was reading about this nice specification but I’m not sure what’s the current status. Ffmpeg has some coverage

    http://ffmpeg.org/ffmpeg-all.html#webm_005fdash_005fmanifest

    but it is not clear to me if I could encode videos in such format.
    So, the question is, If I were to produce mpeg-dash compliant videos, how would I do nowadays ? thanks !