Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (43)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

Sur d’autres sites (6219)

  • Revision 3698 : tenter de choper le code postale uniquement si l’accuracy > 5 ...

    9 juillet 2010, par b_b — Log

    tenter de choper le code postale uniquement si l’accuracy > 5 ​http://groups.google.com.jm/group/google-maps-api/msg/88b138b5458e3124

  • Automatically inject 360° 3D metadata into a video with a Bash script

    27 octobre 2019, par Eduardo Perez

    So, I have a Cygwin script I made which concats several videos into a single video with different variations, and I want to inject stereoscopic 3D metadata into the videos through the script so I don’t have to inject each video separately using Google’s injector tool. The videos are all 360° videos with top/bottom 3D and standard stereo audio rather than spacial audio, and in an MP4 container. Is there any way that I can either inject the needed 3D metadata using FFmpeg so I can upload it to YouTube as a 360VR video, or use the source code of Google’s injector tool or some other tool in order to inject the metadata the same way that Google’s injector tool would so it’s supported as a 360° 3D video by YouTube ?

    Also, will the injector tool automatically move the MOV atom to the beginning of the file (if the injector tool is used) or will I still need to use -movflags +faststart in FFmpeg ? The videos are kind of big and apparently using FFmpeg to concat several video files together and copy the stream codecs with -movflags +faststart and then injecting the metadata using Google’s Spherical Media tool is three times longer than just using FFmpeg in the same way but without -movflags +faststart, so if there was a fast way to do this I’d greatly appreciate it.

  • How to append an image to a video using OpenCV or FFMPEG or Moviepy or other libraries ?

    19 juillet 2022, par Trần Tiến Văn

    Do you know a library in Python to add a frame image to an existing video ? The result video must have the same quality as the image.

    


    I tried to use OpenCV to add google image : https://www.google.com/search?q=google&sxsrf=ALiCzsZhrdoHnOTmg0We4dxtguCqzma5Jg:1657603343101&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiTh8bTzfL4AhWhplYBHfXNAKwQ_AUoAXoECAIQAw&biw=1492&bih=739&dpr=1.25#imgrc=PRtenhDnrVrfOM

    


    But the quality decreases when the video elongates.

    


    Here is the final result video : https://drive.google.com/file/d/1ArDvoX-kN9H_oLbACk3kU1Cid93SMczC/view?usp=sharing

    


    Here is my code using OpenCV :

    


            image = cv2.imread(path_image)
        height, width, dimensions = image.shape
            
        video = cv2.VideoCapture(path_video)
        
        
        frames = []
        while(True):
            
            ret, frame = video.read()
            
            if ret == True: 
                frames.append(frame)
                # frame = frame.resize(frame, (width, height), fx=0, fy=0, interpolation = cv2.INTER_CUBIC)
                
                # Press S on keyboard 
                # to stop the process
                if cv2.waitKey(1) & 0xFF == ord('s'):
                    break
            # Break the loop
            else:
                break
            
        video2 = cv2.VideoWriter(path_video,cv2.VideoWriter_fourcc('M','J','P','G'), 30, (width, height))
        for frame in frames:
            video2.write(frame)
        video2.write(image)
        video2.release()  # releasing the video generated     
        print("Added {}".format(image_name))


    


    I hope to improve the quality of this video.