
Recherche avancée
Autres articles (92)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (11444)
-
ffmpeg : video from images - handling a zero length image file
29 septembre 2021, par BuadhaiI have a shell script which uses ffmpeg to crate a time-lapse video from webcam images. Normally, it works just fine :


/usr/bin/ffmpeg -loglevel info -framerate 4 \
 -pattern_type glob -i $ipath/'*.jpg' \
 -c:v libx264 -crf 30 -y -pix_fmt yuv420p $temp &>>$log



But this chokes if the image is a zero-length file :


-rw-r--r-- 1 pi pi 156636 Sep 29 04:35 image_022.jpg
-rw-r--r-- 1 pi pi 156533 Sep 29 04:35 image_023.jpg
-rw-r--r-- 1 pi pi 159302 Sep 29 04:35 image_024.jpg
-rw-r--r-- 1 pi pi 0 Sep 29 04:35 image_025.jpg
-rw-r--r-- 1 pi pi 157055 Sep 29 04:35 image_026.jpg
-rw-r--r-- 1 pi pi 156851 Sep 29 04:35 image_027.jpg
-rw-r--r-- 1 pi pi 155793 Sep 29 04:35 image_028.jpg
-rw-r--r-- 1 pi pi 160647 Sep 29 04:35 image_029.jpg



In this case the video only included frames up to the zero length JPEG.


I realize I can test the file length of every webcam image, but there must be an easier, more efficient way.


Is there ?


-
swscale : Take the destination range into account for yuv->rgb->yuv conversions
18 février 2022, par Martin Storsjöswscale : Take the destination range into account for yuv->rgb->yuv conversions
The range parameters need to be set up before calling
sws_init_context (which selects which fastpaths can be used ;
this gets called by sws_getContext) ; solely passing them via
sws_setColorspaceDetails isn't enough.This fixes producing full range YUV range output when doing
YUV->YUV conversions between different YUV color spaces.Signed-off-by : Martin Storsjö <martin@martin.st>
-
Evolution #4816 : Déplacer la lib de menu déroulant dans le core
6 juillet 2021J’ai donc déplacé dans prive/lib.