Recherche avancée

Médias (91)

Autres articles (73)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (10362)

  • Would compressing the extracted source images of a video and reconstructing it make the video smaller ? [closed]

    9 septembre 2022, par tawfikboujeh

    I discovered squoosh and found out that it does crazy compression on images,

    


    Squoosh only works on images and i wanted to scale it to work on videos.

    


    I then wrote this script to convert the video to a set of images that I'll squoosh and then reconstitute to a video again using the almighty ffmpeg.

    


    mkdir out ; rm -rf ./out/*
ffmpeg -i input.mp4 -r 25 buffer.mp4 # for a reason, i needed to create a buffer, this is hacky, but whatever.
ffmpeg -i buffer.mp4 -vf fps=25 out/out%d.png # convert the image into images
squoosh-cli --mozjpeg '{quality: 75}' out/*.png # compress
FRAMERATE=$(ffmpeg -i buffer.mp4 2>&1 | sed -n "s/.*, \(.*\) fp.*/\1/p") # get the framerate from buffer video
ffmpeg -framerate $FRAMERATE -i out/out%d.jpg output.mp4 # reconstitute the video knowing the framerate and having the compressed images


    


    the images are 90% smaller but the video has a bigger size than the original one.

    


    benchmarks :

    


    for the images :

    


    1.jpeg : 98 KB on disk
1.png : 1,7 MB on disk 


    


    for the videos :

    


    input.mp4 : 20 Mb on disk
buffer.mp4 : 21 Mb on disk
output.mp4 : 19 Mb on disk


    


    Any idea compressing the source images would make the video smaller ?

    


  • FFMpeg merge video and audio at specific time into another video

    21 juillet 2021, par Lug Ia

    I have a standard mp4 (audio + video)
I am trying to merge a 1.4 second mini mp4 clip into this track, replacing the video for the length of the mini clip but merging the audios together at a specific time

    


    Would anyone know how to do this using ffmpeg ?

    


    I've tried quite a few different filters, however can't seem to get what I want

    


    
                          V <------->
miniclip.mp4              A <=======>
             V <----------->  ↓ + ↓  <--->
standard.mp4 A <=========================>


    


  • resize and crop HD video into square video using ffmpeg

    7 mai 2021, par Ahmet Cetin

    I want to scale and crop HD video (1920x1080) into square one while adding watermark. I tried

    


    ffmpeg
    
-i video.mp4
    
-i watermark.png
    
-filter_complex "[0]scale=720:720,crop=720:720[a] ;[1]scale=720:720[b] ;[a][b]overlay=(W-w)/2 :(H-h)/2"
    
output.mp4

    


    but it produces output with 889x500. Can anyone help me ? What I'm doing wrong ?