Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (50)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (9884)

  • Add a Text and a images to the video using ffmpeg

    26 février 2019, par Nguyễn Thành Đạt

    I have read this question in toppic :
    FFMPEG overlay two video and add text

    ffmpeg -i raw_video.mp4 -i watermark.png -i watermark2.png -filter_complex [0:v]drawtext=fontfile=font.ttf:text='text1':fontcolor=black@1.0:fontsize=24:x=20:y=259, drawtext=fontfile=font.ttf:text='text2':fontcolor=black@1.0:fontsize=24:x=500:y=500[text]; [text][1:v]overlay=215:0[ol1];[ol1][2:v]overlay=400:300[filtered]"-map "[filtered]" -codec:v libx264 -codec:a copy output.mp4  "

    I try to using this ffmpeg but it error .

    Please help me

  • How to enlarge a video without changing the resolution in python ? [closed]

    18 janvier 2024, par Killian Rakotonanahary

    I'm trying to convert a youtube video into a 9 : 16 video. So I'm scaling the video to 1080x1920, and it's returns me a minimized video with two black borders at the bottom and at the top.

    


    I would like to zoom into the video, so the video will be able to fill all the format, with ffmpeg, or opencv or moviepy.

    


    I tryied to crop the video with ffmpeg but the video is cropped without the black borders, like if the black borders wasnt a part of the file,
I tryed to zoom with ffmpeg but the zoompan continuously zoom during all the video, and the black borders are not affected by the zoom,
I tryed to remove the edges where the pixel value is less than or equal to a given threshold, but the ratio is not kept, and its result to a strechted video.
I would like to do something like https://new.express.adobe.com/tools/resize-video

    


    Enlarge the video without affecting the resolution, so it's just result to a zoom effect.

    


    The actual code is resizing the video to 9 : 16 with two black border at the bottom and on the top.

    


    def divideWithCheckPoints(checkpointRanges):
    videoPath = 'assets/video.mp4'
    output_folder = 'assets/'

    video_clip = VideoFileClip(videoPath)
    
    for i, (start_time, end_time) in enumerate(checkpointRanges):
        output_file = f'{output_folder}video_part_{i+1}.mp4'
        command = [
            'ffmpeg',
            '-i', videoPath,
            '-ss', str(start_time),
            '-to', str(end_time),
            '-vf', "scale=1080:1920",  # resize video
            '-c:a', 'aac',
            '-b:v', '1M',  
            output_file
        ]
        subprocess.run(command, check=True)
        
    last_start_time = checkpointRanges[-1][1]
    last_end_time = video_clip.duration  
    last_output_file = f'{output_folder}video_part_{len(checkpointRanges)+1}.mp4'
    command = [
        'ffmpeg',
        '-i', videoPath,
        '-ss', str(last_start_time),
        '-to', str(last_end_time),
        '-vf', "scale=1080:1920",  # resize video
        '-c:a', 'aac', 
        last_output_file
    ]
    subprocess.run(command)


    


    Output :

    


    enter image description here

    


    Expected :

    


    enter image description here

    


  • How to extract transparent images in video with FFMPEG

    17 avril 2021, par El Šidëyøusš

    I have an Mp4 video with a black background, I managed to extract the images from the video with Ffmpeg but these images have a black background I would like to know how to make these images transparent, if it is possible with FFmpeg, thanks for your help