Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

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

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6311)

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