Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (63)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12626)

  • ffmpeg how to crop and scale at the same time ?

    13 décembre 2018, par Mitchell Faas

    I’m trying to convert a video with black bars, to one without and if the source is 4k, I want the video to be converted to 1080p

    Now to do this, I’m using the following command :*

    ffmpeg -i input ... -filter:v "crop=..." -filter:V "scale=1920:-1" ouput

    But running this, I found that the end product still has said black bars and is 1920x1080 as opposed to the 1920x800 I’d expect.

    What gives, why does this not work ?

    * : Other settings have been left out for convenience.

  • Create a video with other videos at certain points

    7 mars 2020, par Antique Chariot

    I’ve never used ffmpeg before, and I need to do something quite complicated (in my opinion at least, this could be easy).

    Basically I need to have a black video but at certain points concatenate other videos.
    For example, at 0.00 a 3 second video, then black until 10.0 and then another video, etc etc

    The finished videos will consist of hundreds of videos and be anywhere from 1-5 minutes long.

    I’m working in Node.js, ideally using a wrapper would be best (I’m using fluent-ffmpeg currently but any will suffice), although raw commands are also an option.

    Any ideas are appreciated !

    Edit : also, say a 5 second video is at 0.00, and a 10 second video is at 1.00, I’d like it to overwrite the original 5 second video

  • How can i combine three ffmpeg command in python ?

    15 mai 2022, par Anuj Saxena

    I want to combine three ffmpeg commands on my video and I want single output. In the following code I give a video(footage) as input and I want to compress my video, add watermark and also display frame numbers on the video and after executing these commands it gives an output video. How can I combine these commands ?

    


    f'''ffmpeg -i {footage} -vcodec libx264 -acodec aac \ "drawtext=text='{hostname}\n {socket.gethostbyname(hostname)}\n {getpass.getuser()}':x=10:y=H-th-10:fontfile=KhmerOS.ttf:fontsize=50:fontcolor=black:shadowcolor=black:shadowx=2:shadowy=2 " \ "drawtext=fontfile=KhmerOS.ttf: text='%{{frame_num}}': start_number=1: x=(w-tw)/2: y=h-(2*lh): fontcolor=black: fontsize=50: box=1: boxcolor=white: boxborderw=5" -c:a copy {mov_path} '''