Recherche avancée

Médias (91)

Autres articles (56)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (11222)

  • Batch File : How can I make input videos to be sequentially named in same loop

    2 décembre 2022, par Ionut Bejinariu

    I end up with the code in this form.

    


    the first ffmpeg .. its working alone but not inside the second For 
that's why I made a second one, also I did this because I need to increment the Videos-*
to be be Videos-1.mp4, Videos-2.mp4 ... Videos-99.mp4 , all the videos are in %videodir% named like this.

    


    I tried also "%videodir%\Videos-%d.mp4" also "%videodir%\*.mp4" for videos to be sequentially named loop after loop, but not worked for me.

    


    @echo off
setlocal enabledelayedexpansion
 
set "musicdir=F:\MONTAJ VIDEO\video-simplu\MUZICA-wav-mp3"  
set "videodir=F:\LUCRU-VIDEO\primele-15sec"  
set "exportdir=E:\Export-yt-shorts

for /l %%c in (1,1,2200) Do (
 
  ffmpeg -i "%videodir%\Videos-%%c.mp4" -i "%videodir%\Videos-%%c.mp4" -filter_complex "[0:v]scale=3413:1920,boxblur=4[bg];[1:v]scale=1080:-1[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2[tmp];[tmp]crop=1080:1920:(3413-1080)/2:0[out]" -map [out] -map 0:a output01.mp4
 
)

    for %%A in ("%musicdir%\*") DO (
   ffmpeg -i output01.mp4 -i "%%A" -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k -shortest "%exportdir%\%%~nA.mp4"
    del output01.mp4
 )




    


    Can anyone help me on this ? Thank you
Later Edit :
I want to explain the logic I thought about the two FOR

    


    I have two folders.
— 1 folders with mp4 videos wide ratio 16/9 Full HD

    


    are named like this ---> Videos-1.mp4, Videos-2.mp4 .. Videos-3.mp4 ... Videos-2200.mp4

    


    and 1 folder with music mp3 and wav's

    


    in first for its first mp4 export that I want to combine with first song from the second for then second video with second song from folder. etc

    


    in the end I want to have 9/16 ratio video

    


  • How to convert videos to mp4 without stretching portrait to landscape using moviepy ? [closed]

    2 mars 2021, par suyogx

    I am trying to use Moviepy to convert videos to .mp4 format. Landscape videos have no issues. But when I input portrait ones, they get stretched to landscape. example : when i upload 1080x1920 videos, they get stretched to 1920x1080. Is there any way to disable stretching ? I am only trying to convert the videos to .mp4.

    


  • Concatenating multiple videos using opencv

    6 mai 2022, par Anshula

    I am concatenating videos using OpenCV by passing the videos in a list and then concatenating the frames of the videos traversing them frame by frame. But in doing so the audio in the final output video is not present. So, is there a way such that audio is also preserved after concatenation. Other than this I have tried concating using ffmpeg but it is giving non-monotonous DTS error and the output video is much larger(like if a video after concat should be of duration 1hr the actual output video is of 8 hrs).