Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (56)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

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

Sur d’autres sites (6235)

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