
Recherche avancée
Autres articles (49)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (5790)
-
Overlay video with a transparent Video using FFMPEG
25 juin 2017, par VikashI want to overlay two videos one over another using ffmpeg. I am able to do it, but i want to make the 2nd video transparent so that the base video can be visible.
-
Overlay video with a transparent Video using FFMPEG
7 janvier 2016, par VikashI want to overlay two videos one over another using ffmpeg. I am able to do it, but i want to make the 2nd video transparent so that the base video can be visible.
-
Would compressing the extracted source images of a video and reconstructing it make the video smaller ? [closed]
9 septembre 2022, par tawfikboujehI 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 ?