Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (74)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10101)

  • Adding audio at specific time of the video

    21 septembre 2018, par Sergio Bruccoleri

    I want to add an audio file at a specific time of the video, without completely replacing the original video audio stream (just at the specific time, for the whole duration of the replacement audio).

    I have this command below :

    ffmpeg -y -i video.mp4 -itsoffset 00:00:07 -i audio.mp3 -map 0:0 -map 1:0 -c:v copy -async 1 out.mp4

    but this command replaces the entire audio stream of the video with the content of the second input

    The expected result is :

    • The video plays as normal with the original audio

    • Once timestamp 00:00:07 is reached, the new ’replaced’ audio streams
      play.

    • Once the new audio streams stops the original audio continues
      playing.

    Anyone that can help me solving this issue ? I’ve been trying with atrim without any result, but probably I am doing something wrong.

  • How to use ffmpeg filter to remove a frame every 12 seconds [closed]

    28 juin 2024, par YOURSELF BEST

    I want to delete 1 frame every 12 frames of the video. The original video has a frame rate of 30, so after deleting it, it becomes 28. How should I write this operation using ffmpeg ?

    


    I used the following command, but there is a problem, the new video generated will be shorter than the original video

    


    ffmpeg -y -r 28 -vsync 0 -i demo.mp4 -vf "select='mod(n+4,12)',setpts='N/28/TB'" "demo_2.mp4"

    


    Please help me how should I do it, thanks

    


  • drawtext video transition is not smooth

    7 juin 2020, par Sterpu Mihai

    Edit : it seems that youtube displays the 00:05 transition smoothly ; however, my local VLC doesn't so I think this must be a VLC issue of some kind.

    



    Take a look at this video : https://youtu.be/47JJnrH_LyM

    



    It's created from a bigger video and it's composed of 3 parts :

    



    part 1: 00:00 - 00:05 original.mp4
part 2: 00:05 - 00:10 original_with_caption.mp4
part 3: 00:10 - 00:15 original.mp4


    



    The caption snippet was created using the following command :

    



    ffmpeg -ss 00:05 -t 5 -i original.MP4 -vf drawtext="fontfile=C\\:/Windows/Fonts/arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-th-100):text='some random text here'" original_with_caption.MP4


    



    The cuts from the original video were made with the following commands :

    



    ffmpeg -y -i D:\temp\0706\caption\original.MP4 -ss 0 -t 5 -c copy D:\temp\0706\caption\ws\original_split_0_5.MP4
ffmpeg -y -i D:\temp\0706\caption\original.MP4 -ss 10 -t 5 -c copy D:\temp\0706\caption\ws\original_split_10_15.MP4


    



    Finally, all 3 have been merged together by creating a concat.txt file containing the following :

    



    file D:\\temp\\0706\\caption\\ws\\original_split_0_5.MP4
file D:\\temp\\0706\\caption\\original_with_caption.MP4
file D:\\temp\\0706\\caption\\ws\\original_split_10_15.MP4


    



    and then executing the command :

    



    ffmpeg -f concat -safe 0 -i D:\temp\0706\caption\ws\concat.txt -c copy D:\temp\0706\caption\ws\output.MP4


    



    The problem I'm facing is that the transition from 00:05 is not smooth whereas the one from 00:10 is.
What do I need to adapt so the transition is smooth ?