Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (94)

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

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

  • RTMP_Connect1, handshake failed. Error while using rtmp command via FFmpeg

    1er mai 2022, par Aditya Yadav

    when I try to stream using rtmp protocol via ffmpeg with the following command :

    


    ffmpeg -stream_loop -1 -re -i "video.mp4" -c:v copy -c:a aac -ar 44100 -ac 1 -f flv rtmps://dc5-1.rtmp.t.me/s/1520759423:xxxx

    


    I get the following error :

    


    RTMP_Connect1, handshake failed. rtmps://dc5-1.rtmp.t.me/s/1520759423:xxxx: Unknown error occurred

    


    I am sure its not the client side error where I am trying to stream, and its not my network/IP related error because this same command is working via windows on the same network. When I switched to linux(Fedora 35) I started facing this issue.

    


  • libdash mpd parser integration with custom player

    19 novembre 2016, par Raj

    I have written a multimedia player using ffmpeg and qt-framework. And currently I support local file playback and progressive download playback in my player. Now I want to add support for mpeg-dash vod stream playback. I thought of using libdash opensource dash library. But after so much of googling I couldn’t find any API or developer documentation regarding the same.

    Also another issue is libdash has integrated network module. But I want only mpd parser to be integrated and I have my own network module for downloading. I couln’t find any doxygen and usage documentation for libdash.

    I need help in these :

    1. Can you anyone point me to any developer documentation available for
      libdash ?
    2. Is there any alternative library for libdash ?
  • FFMPEG : RTSP stream freezes but FFMPEG keeps recording

    31 juillet 2022, par Kagetsuki

    EDIT : At the time of this writing there is no functionality within FFMPEG that can detect/handle when an RTP/RTSP stream is still active but is no longer delivering valid frames. The only solution I could find was to periodically reset the stream by stopping recording, then reconnecting and starting a new recording which -f segment does NOT do.

    




    



    I'm recording an RTSP stream from a network camera with FFMPEG, and after some time (usually about an hour and a half to two hours). I'm sure it's specifically a problem with the cameras I'm using and not FFMPEG or my system resources.

    



    What specifically happens is the video freezes but network traffic with the camera continues - it just doesn't seem to send new frames. Because of this behaviour FFMPEG doesn't disconnect/keeps recording because the network connection is still alive. After a few minutes there will always be a single warning in the FFMPEG output :
More than 1000 frames duplicated
But it keeps recording - it's just the same frame over and over.

    



    The command I'm using is :

    



    ffmpeg -stimeout 1000000 -rtsp_transport udp -fflags discardcorrupt -i rtsp://192.168.1.163/live/0/MAIN -vc libx265 -f segment -segment_time 300 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1  "163-%Y-%m-%d_%H-%M-%S-h265.mp4"


    



    Some notes :

    



      

    • stimeout doesn't seem to do anything as the network connection is maintained the camera just seems to stop sending (valid) frames.
    • 


    • Changing the codec to copy doesn't improve the issue
    • 


    • Changing the RTSP transport doesn't improve the issue
    • 


    • I'm aware there is a filter to detect frozen frames, but my FFMPEG does not seem to have it - I'm going to try and build FFMPEG myself now ; but would much prefer a solution that works with bundled FFMPEG > 4.1.3
    • 


    



    Having FFMPEG fail and exit after > 1000 frames are duplicated would actually be ideal, as then I can just spawn FFMPEG from a script, monitor the process, and restart it when the process ends. Any solution would be great though.