Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (85)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8009)

  • FFMPEG : cut clips from a long video with "fast seek" while maintaining accuracy

    15 août 2020, par japseow

    I have this 3 hour long video which consists of <1-5 seconds of black frames> — < clip > — <1-5 seconds of black frames> — < clip > — ...

    &#xA;

    I could successfully get the clip without the black frames with the slow seek, but it takes over 4 minutes just for seeking.

    &#xA;

    ffmpeg -y -i "C:\Users\user\Videos\obs\part1.mp4" -ss 4370.48 -to 4384.95 -c:a copy -c:v hevc_nvenc -rc vbr_hq -cq 19 -b:v 10000k -maxrate:v 12500k "C:\Users\user\Videos\obs\____delete1.mp4"

    &#xA;

    I tried using the fast seek which takes only 4 sec, but it includes a 4 sec blackframe chunk at the end of the video. The output that should've been 14 sec long became 18 sec.

    &#xA;

    ffmpeg -y -ss 4370.48 -i "C:\Users\user\Videos\obs\part1.mp4" -to 14.47 -c:a copy -c:v hevc_nvenc -rc vbr_hq -cq 19 -b:v 10000k -maxrate:v 12500k "C:\Users\user\Videos\obs\____delete2.mp4"

    &#xA;

    My video has around 640 clips so it's impractical to wait that long just for seeking, and it'll only get worse when I'll be seeking at around the 2+ hour mark.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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,&#xA;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,&#xA;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.&#xA;I would like to do something like https://new.express.adobe.com/tools/resize-video

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    Output :

    &#xA;

    enter image description here

    &#xA;

    Expected :

    &#xA;

    enter image description here

    &#xA;