Recherche avancée

Médias (91)

Autres articles (60)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7788)

  • Adding retry connection logic to ffmpeg(rtmp)

    16 octobre 2014, par gaurav

    I am trying to create a video mosaic using ffmpeg. My full command looks like this -

    ffmpeg -i rtmp://localhost:1935/live/output1 -i rtmp://localhost:1935/live/output2 -i rtmp://localhost:1935/live/output3 -i rtmp://localhost:1935/live/output4 -filter_complex "nullsrc=size=640x480 [base]; [0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright]; [base][upperleft] overlay=shortest=0 [tmp1]; [tmp1][upperright] overlay=shortest=0:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=0:y=240 [tmp3]; [tmp3][lowerright] overlay=shortest=0:x=320:y=240"  -filter_complex amix=inputs=4:duration=longest  -c:a aac -strict -2 -ar 44100  -c:v libx264 -f flv rtmp://localhost:1935/live/myStream

    This works well as long as all 4 input streams are running. But say one of the stream drops for sometime and comes back online. The output continues to show this stream as stuck (paused). Because once the stream drops (AVERROR_EOF) ffmpeg stops trying to get more packets from the input stream. I have to restart the ffmpeg process to get back everything to work again.

    Is there a way to add a retry logic here which will tell ffmpeg to keep trying to process all input sources as long as process is alive ?

  • ffmpeg in the use of libardrone by python

    13 mai 2016, par Chao Wang

    Recently I am trying to do a vision-based control using AR.drone 2.0. I meet a problem in the first step that is to import video seen from drone to my PC. I searched online and there is a library called libardrone. I tried to used it but when I do the first step that is to intialize. I wrote

    drone = libardrone.libardrone.ARDrone(True)

    The problem rises in the installation of ffmpeg. I actually installed and set ffmpeg\bin in my path, but I don’t know why it keeps jumping out this error

    The error turns out to be

    Traceback (most recent call last) :

    File "C:\Python27\dronetest.py", line 7, in <module>
       drone=libardrone.ARDrone(is_ar_drone_2=True,hd=True)
     File "C:\Python27\lib\site-packages\libardrone\libardrone.py", line 126, in __init__
       self.network_process = arnetwork.ARDroneNetworkProcess(com_pipe_other, is_ar_drone_2, self)
     File "C:\Python27\lib\site-packages\libardrone\arnetwork.py", line 45, in __init__
       self.ar2video = ar2video.ARVideo2(self._drone, libardrone.DEBUG)
     File "C:\Python27\lib\site-packages\libardrone\ar2video.py", line 37, in __init__
       self.h264 = h264decoder.H264Decoder(self, drone.image_shape)
     File "C:\Python27\lib\site-packages\libardrone\h264decoder.py", line 82, in __init__
       raise Exception("You need to install ffmpeg to be able to run ardrone")
    Exception: You need to install ffmpeg to be able to run ardrone
    </module>

    The related code in h264decoder.py is

    if (H264Decoder.which('ffmpeg') is None):
                       raise Exception("You need to install ffmpeg to be able to run ardrone")

    ....


    def which(program):
           def is_exe(fpath):
               return os.path.isfile(fpath) and os.access(fpath, os.X_OK)

           fpath, fname = os.path.split(program)
           if fpath:
               if is_exe(program):
                   return program
           else:
               for path in os.environ["PATH"].split(os.pathsep):
                   path = path.strip('"')
                   exe_file = os.path.join(path, program)
                   if is_exe(exe_file):
                       return exe_file

           return None
  • Codec issue ? Mp4 video flashing during play via JW Player (and same issue with mac computer)

    19 décembre 2017, par janosdupai

    I have a linux based server online. It has Mp4 videos. I try to play these video with JW Player. I had any problems with them, but some files has the following problem : https://www.video.match-meeting.com/drive/5a350a6700bc4.mp4

    If I download this file to a windows computer, it plays without problem. Is that a codec problem with my server (and on my mac) ?