Recherche avancée

Médias (91)

Autres articles (14)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (3651)

  • lavfi/vf_vpp_qsv : scale_mode can be applied to color conversion

    28 novembre 2022, par Haihao Xiang
    lavfi/vf_vpp_qsv : scale_mode can be applied to color conversion
    

    Reviewed-by : Soft Works <softworkz@hotmail.com>
    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavfilter/vf_vpp_qsv.c
  • Evolution #4391 : Squelettes de la dist : améliorer le markup et passer à BEM

    25 octobre 2019, par nicod _

    Bon, toutes ces discussions sur l’architecture des css c’est super intéressant, mais il ne faudrait pas transformer la dist en un truc incompréhensible.
    Il faut qu’elle reste simple et accessible, quand même.

    Je suis pour un peu de nommage BEM, pour rationaliser les noms des classes et donner le bon exemple, sans aller trop loin non plus.

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