Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (105)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (18427)

  • How to convert 4:3 video to 16:9 without stretching the original in ffmpeg

    5 novembre 2016, par carvil

    I would like to convert some 4:3 videos that I took on an iPhone to 16:9, by adding black bars to both sides instead of stretching the video.

    I tried something like this without success :

    ffmpeg -y -i input.mov -aspect 1.7777777777777777 -s 640x360 output.mp4

    Even though the output has the correct size, the video is stretched, which is not what I want.

    How can I keep the proportion between the width and height of the original video, and add extra black bars to both sides to avoid stretching ?

    This would be similar to how YouTube does it when uploading a video from an iPhone directly to YouTube.

    Thanks !

  • How to trim multiple videos and position them to specific position using -filter_complex ?

    16 décembre 2023, par Pavlo Holotiuk

    How do I mix several videos and have them not overlap each other ?
I need to use -filter_complex as I cram many more commands there and seems weird how when I trim video its frames remain and overlap with the other video. I also use tpad to paint the video black where it supposed to be cut but it just makes black images to overlap with other videos instead.

    


    How do I trim and position videos with mix and make sure their frames do not overlap in result ?
Here's the version vithout tpad

    


    ./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10[t1];[t0][t1]mix=inputs=2" ./output.mp4

    


    It produces such overlapping frames
enter image description here

    


    When adding tpad overlapping changes to mix of frame and black image

    


    ./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10,setpts=PTS-5/TB,tpad=start_duration=5:start_mode=add:color=black@0x00[t1];[t0][t1]mix=inputs=2" ./output.mp4

    


    enter image description here

    


    The alpha in tpad doesn't seem to do anything either.

    


  • FFMPEG no audio in final output [migrated]

    16 juin 2015, par Maverick

    I have the following FFMPEG command working.

    ffmpeg -y -i slide.mp4 -f lavfi -i "color=c=black:s=1920x1080:r=25:d=1" -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; \
    [1:v] trim=end=3,setpts=PTS-STARTPTS [pre]; \
    [1:v] trim=end=3,setpts=PTS-STARTPTS [post]; \
    [pre][main][post] concat=n=3:v=1:a=0 [out]" -map "[out]" output.mp4

    It appends black frames at the start and end of the video. However, the output file does not contain the audio from the input file.

    Any pointers to the problem will be highly appreciated.