Advanced search

Medias (91)

Other articles (91)

  • Mise à jour de la version 0.1 vers 0.2

    24 June 2013, by

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1); Installation des dépendances pour Smush; Installation de MediaInfo et FFprobe pour la récupération des métadonnées; On n’utilise plus ffmpeg2theora; On n’installe plus flvtool2 au profit de flvtool++; On n’installe plus ffmpeg-php qui n’est plus maintenu au profit de (...)

  • Ecrire une actualité

    21 June 2013, by

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Gestion générale des documents

    13 May 2011, by

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet; la récupération des métadonnées du document original pour illustrer textuellement le fichier;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP sur (...)

On other websites (12209)

  • Concatenate multiple videos with a black screen interval into one video

    21 March 2016, by AHC

    I am using ffmpeg to join a bunch of videos together.
    I am using the classic join ffmpeg code:

    ffmpeg -f concat -i joinlist.txt -c copy joinedfile.mp4

    but the problem is that the videos are of different formats, encodings, but the same size: all 640x480. I want to join them all and put a black screen video with no sound every other video:

    video1 + black_screen_video + video2 + black_screen_video + video3 ...

    I generated a black screen video of 2 seconds duration using:

    ffmpeg -f lavfi -i color=c=black:s=640x480:d=2 black_screen_video.mp4

    so all of the videos are of the same size: 640x480, and 25 fps but different codecs. The videos have sound, except for the black screen video.
    I can’t do anything manual, because the number of videos are around several hundred. So it has got to be an automatic way to do all this.

    When I joined them together using the above code, the resulting video does not play correctly at all.

    I know that I have to re-encode them, but how to do this to all these videos at once, with one line of code?

    Update:
    I am already using with success this code to join them together, but only three, if I have more than one hundred, it is time consuming to write down one by one:

    ffmpeg -i vid1.avi -i vid2.avi -i vid3.avi -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4

    but this is joining only the videos, not looping the black screen video. When I do with black screen, ffmpeg gives me stream matching errors.

  • ffmpeg auto crop black frame and watermark

    4 June 2018, by rbarab

    We are processing short videos. Most of them are 640x480, recorded by mobile. Many of them have a black frame on left and right.
    I would like to watermark the videos and currently using this command.

    ffmpeg -i IN.mp4 -i WATERMARK.png -filter_complex "overlay=main_w-overlay_w-10:main_h-overlay_h-10" OUT.mp4

    The problem is that if there is a frame, part of the watermark goes on the frame and only a part is on the actual content. Would like to place the watermark on the bottom right of the actual content.

    Are any of these possible, or any other ideas?

    a, Dynamically detect the black frames and adjust the watermark position accordingly.

    b, Crop the black frame and watermark the content correctly in the same step.

    Thanks a lot for your help!

  • ffmpeg how to remove black borders when resizing an image

    3 June 2021, by Mapg

    I am creating some thumbnails using FFmpeg and I see that some black borders are created when I resize them.

    


    I guess this is happening because the video source dimension doesn't match exactly the target dimension, so FFmpeg fills out the blank space with this black color.

    


    My question is ...

    


    Can I change this "black color" used by FFmpeg by default so I can match these extra borders added with the background of my application?

    


    If this is not possible ...

    


    Can I convert these black borders to a transparent area so I can create a PNG to match my background which has a different color (a kind of light green)

    


    I have attached an example where you will see two black pixels height in the bottom zone of the picture.

    


    This is what I want to convert to transparent or being able to choose my own color.

    


    Any idea to solve this issue will be very helpful for me?

    


    Thank you very much in advance!

    


    Mapg

    


    enter image description here