Recherche avancée

Médias (91)

Autres articles (65)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6324)

  • How to use ffmpeg to create a video slideshow from a set of images ? [on hold]

    15 mars 2015, par Ali Irani

    I want to create a 15 second video from 5 images with a fade effect between them and add counter on center of video that changes every second. The final video also needs an audio track.

    Can I do this with ffmpeg ?

  • FFMPEG video editing application. Need time and date stamp burned into video

    11 mai 2022, par Jacob

    I am developing an application for video editing. The main component of this application is to produce a single video file from several video files captured from a camcorder with the time and date stamp displayed on the final rendered video, much like the final product from a security camera. I have figured out, by using FFMPEG, how to burn the date and time into the video with a .SRT file as well as with DrawText like the following :

    


    ffmpeg -y -i video.mp4 -vf “drawtext=fontfile=roboto.ttf:fontsize=12:fontcolor=yellow:text='%{pts\:localtime\:1575526882\:%A, %d, %B %Y %I\\\:%M\\\:%S %p}'" -preset ultrafast -f mp4 output_new.mp4    


    


    I would rather use the DrawText method so the user does not have to wait longer while creating the .SRT files. I am new to FFMPEG and I find their documentation very confusing. I guess I am hoping there is someone out there who has experience with it.

    


    Everything seems to work when I pass in the date created meta data from the video file and drawtext just does its thing. The problem is my application allows for editing of the video. I do this, for lack of better solution, by allowing the user to select beginning and ending frames they do not want, from the UI and then the code simply deletes the frames from the directory where they were split and saved. I then use FFMPEG to iterate through the directory and combine the remaining frames to make a video file.

    


    This approach starts the time and date from the date created metadata ; however, cutting the frames out of the video will make the DT stamp inaccurate, due to the missing frames.

    


    Is there any way to tell FFMPEG to burn in the date and time from date/time retrieved from each individual frame ? I appreciate any advice that you may have.

    


  • How use FFMPEG to merege multiple audios and videos with delay and offset for any streams

    9 juillet 2020, par Morak

    I want to use FFMPEG to merge multiple audios and videos.

    


    Materials are :

    


      

    1. three short audio clips (S1.mp4, S2.mp4, S3.mp4) without video(files
only have audio stream),
    2. 


    3. three video clips (V1.mp4, V2.mp4, V3.mp4) without sound(files only have video stream).
    4. 


    


    I have start-time of all materials(i.e :

    


    start-time of "S1.mp4" is 0 sec...
start-time of "S2.mp4" is 1220.5 sec...
start-time of "S3.mp4" is 2500.12 sec...


    


    and

    


    start-time of "V1.mp4" is 15.22 sec...
start-time of "V2.mp4" is 853.99 sec...
start-time of "V3.mp4" is 2901.37 sec...)


    


    My goal is :

    


    Merge all videos and audios to single file with entering in their start time.

    


    The requirement is depicted like below(D=delay).

    


    D <—V1.mp4—> D <----------V2.mp4-------------> D <-V3.mp4->blank

    &#xA;

    <------------S1.mp4-----> D <-------S2.mp4—> D <-------S3.mp4------->

    &#xA;

    The command I use is as below, but it does not work as expected.

    &#xA;

    1st:prepare V.mp4(merging all videos) :

    &#xA;

    ffmpeg -itsoffset {OFFSET.V1} -i V1.mp4  -itsoffset {OFFSET.V2} -i V2.mp4  -itsoffset {OFFSET.V3} -i V3.mp4 -map 0:v -map 1:v -map 2:v -c:v copy V.mp4

    &#xA;

    2nd:prepare S.mp4(merging all audios) :

    &#xA;

    ffmpeg -i S1.mp4 -i S2.mp4 -i S3.mp4 -filter_complex "[0]adelay=0[aud1];[1]adelay=1220.5[aud2];[2]adelay=2500.12[aud3];[aud1][aud2][aud3]amix=3[a]" -map "[a]" -c:a copy S.mp4

    &#xA;

    final:merging V.mp4 with S.mp4 :

    &#xA;

    ffmpeg -i V.mp4 -i S.mp4 -map 0:v -map 1:a -vcodec copy -acodec copy final.mp4

    &#xA;

    Any hint is appreciated !

    &#xA;