Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (72)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

Sur d’autres sites (12132)

  • Can ffmpeg extract closed caption data

    26 août 2016, par spinon

    I am currently using ffmpeg to convert videos in various formats to flv files. One request has also come up and that is to get closed caption info out o the file as well. Does anyone have any experience with this or know it can even be done. I don’t see any options for it but thought I would ask and see.

  • 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