Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (73)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7243)

  • FFMPEG hold multiple frames and use as a movie

    18 juin 2019, par Cole

    I have a video that I’m trying to create jump shots from. For example I want the output of my command to show frame 5 of the original clip for 30 frames, and frame 25 of the OG clip to show for 30 frames.

    assuming the OG clip is 30 FPS

    ffmpeg -t 1 -i og_clip.mp4 -filter_complex "
       [0]select=eq(n\,5)[H1];[0][H1]overlay[O1];
       [0]select=eq(n\,25)[H2];[0][H2]overlay[O2];
       [O1][O2]concat=n=2[Merge]" -map "[Merge]" out.mp4

    The above doesnt work right.

    What I’ve been doing up until now has been a two part command :

    ffmpeg -i og_clip.mp4 -vf "select=eq(n\,5)" -vframes 1 -y out_0.png
    ffmpeg -i og_clip.mp4 -vf "select=eq(n\,25)" -vframes 1 -y out_1.png
    ffmpeg -t 1 -i og_clip.mp4 -i out_0.png -i out_1.png -filter_complex "
       [0][1]overlay[H1];[0][2]overlay[H2];
       [H1][H2]concat=n=2[Merge]" -map "[Merge]" out.mp4

    Which has been working for me. The only problem is that the process of converting to a png first for each frame I want to use, takes too long. I’m trying to condense it all into one command. I figure that the encoding of the png is what takes so long.

    Any help would be much appreciated !

  • Animated watermark moving on the edges of the movie - ffmpeg

    25 février, par saeid ezzati

    I wanna overlay a picture on a video, as a watermark. How do I insert an animated watermark that randomly moves from side to side.

    



    For example, 
A watermark, placed on top/ upper-left corner, moves randomly to the top/upper-right corner and freezes there for five seconds before moving down to the lower- right corner.

    



    I don't want the watermark to have a cross movement and move from the upper-right corner to the lower-left corner.

    



    Here is an example of my code, using which the watermark randomly jumps to a corner each 200 frames without animate :

    



    ffmpeg -i "source.mp4" -i "watermark.png" -filter_complex "[1:v]scale=50:-1[a]; [0:v][a]overlay=x='st(0,floor(random(n)*2)+1);if(eq(mod(n-1,200),0), if(eq(ld(0),1),0,  main_w-overlay_w   ) ,x)':y='st(0,floor(random(n)*2)+1);if(eq(mod(n-1,200),0),if(eq(ld(0),1),0,  main_h-overlay_h   ),y)'" -codec:a copy "out.mp4"


    


  • create movie from one image updates in linux

    27 novembre 2019, par milad

    I’m a C programmer on linux.

    I write a program that saves an image in /srv/ftp/preview.png which is updating frequently and i want to create a movie from this updates.

    It’s timestamp is important for me, e.g if image updates after 3.654 seconds i want movie show this update(frame) after 3.654 seconds too.

    I searched in Internet for several hours but i can’t find any solution.

    I know about ffmpeg but it will convert images(and not one image) to movie without millisecond timestamp.

    I found this Question but it seems is not useful in this case.

    Is there any tool to do that ? if not, please introduce an API in c to write a program myself