Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (104)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14189)

  • How to specify text-only subtitles in ffmpeg

    20 juin 2019, par Daniel Engel

    I’m trying to script some basic DVD-to-home media server processing. One of the things I’m trying to do, which seems like it should be pretty basic, is extract the text (srt) subtitles from the .mp4 file from the initial rip.

    I can see the stream, and if I select the stream explicitly (by stream number), I can extract it. However, I want to script the ffmpeg command. If I try to just specify the subtitle stream with a -map option, it maps the first subtitle stream, which is often a bitmap stream instead of text stream.

    So, after ripping some of my DVD’s, I’d like to process everything in a batch script, something like :

    for video in *.mp4; do
     ...
     (special code to get $subtitle filename with .srt instead of .mp4)
     ffmpeg -i "$video" -map 0:s "$subtitle"
     ...
    done

    I’d like the "-map" option to cause ffmpeg to select only text-based subtitles (like mov_text), and not, for example, dvd_subtitle, irrespective of which is first in the list of streams.

    Does anybody know of a way to do this ?

  • How to create animated text in FFMPEG ?

    29 décembre 2013, par user3065043

    I want to create video of the animated text which I enter. I want to create app like :

    Input test:xyz

    and output will be the animated video of that text. I try ffmpeg but there is not feature like this. Any one know how to do this ?

    ffmpeg -r 12 -i "sometext" -y -an nuxified.mp4
  • Mathematical formula to always center text along X and Y axis ffmpeg python ?

    18 février 2023, par Sixtus Anyanwu

    I am trying to center a text horizontally and vertically with ffmpeg python but I can't seem to get it right. The mid point shifts depending on the amount of characters in the text.

    


    How do I always center the text to the centre of the screen no matter the length of the text ?

    


    Here is my code.

    


    
v_width = 1080

v_height = 1633

def create_video():

    overlay1 = ffmpeg.input("sukuna.gif").filter("scale", 1080, -1, height = 1633 / 2)

    overlay2 = ffmpeg.input("akaza_long.mp4").filter("scale", 1080, -1, height = 1633 / 2 )

    (

    ffmpeg.input('letsgo.mp4')

    .overlay(overlay1)

    .overlay(overlay2, x = 0, y = v_height / 2)

    .drawtext(textfile = "char_names.txt", fontfile = "/storage/emulated/0/PyFiles/Helvetica-Bold.ttf", fontcolor = "yellow", bordercolor = "black", escape_text = True, start_number = 0, fontsize = "80", x = (v_width / 2) - 40, y = (v_height / 2) - 40, borderw = 4, line_spacing = 3)

    .output("newVideo.mp4")

    .run()

    )


    


    The - 40 is for adding some extra padding to the text.

    


    How do I go about this ?

    


    I want the below position always no matter how big or amount of characters in the text.
Centred text

    


    Already tried adding a couple of offset to the text but once the text gets longer, it loses its alignment.