
Recherche avancée
Autres articles (62)
-
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 ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11230)
-
I ues FFMPEG to convert bitmap to yuv,and try to save it,but failed
20 avril 2013, par liaoyuandeyehuoI use this way to convert bitmap to yuv
Save bitmap to video (libavcodec ffmpeg)
and then save the buffer like this :FILE* fp=fopen("aha.yuv","w");
if(!fp) return NULL;
fwrite(outPic->data[0],nbytes,1,fp);
fwrite(outBuffer,nbytes,1,fp);
fclose(fp);but it has only several lines. All most all of the .yuv file is gray.
I am sure theinbuffer
points to the input BGR32 data. So where is wrong ?
Is The way to save theoutBuffer
right ? -
Extracting thumbnails with FFMPEG is super slow on large video files ? [duplicate]
5 octobre 2015, par vaidThis question already has an answer here :
I extract thumbnails from a
.MOV
file using FFMPEG on Linus (Debian 64bit).The file I extract the thumbnail from is about 430 Megabytes large.
I use the following command to do so :
ffmpeg -i 'largeVideoFile.mov' -ss 00:14:37 -vframes 1 'thumbnail.jpg'
It takes well over 3 minutes for a single frame to be extracted.
How can I speed it up ?
-
How to make cropping when doing motion-tracking look super smooth ? (using cv2 and yolo v8)
4 décembre 2024, par Thomas LancerI'm using yolo to track a face in a video on a frame by frame basis, and then I'm using cv2 to crop the video (with some padding) around the speakers face so it creates a motion tracking type effect. (short example here : https://www.instagram.com/reel/DCIFkFEObkE/?hl=en)


The problem I'm running into is my final crop looks "shaky". Like it's flickering a bit. I think this is because every frame yolo is updating the coordinates, and so there's a slight change in x, y and because of that it creates this shakiness/flickering effect. Here's what mine looks like compared to the example : https://drive.google.com/file/d/1MKHWK-5EH5abSq6i32r71GWld76tN1GP/view?usp=sharing


You can see there's this "shakiness" type look to it. it's especially apparent when the speaker is relatively still.


I've tried doing an exponential moving average and a few other averaging techniques but none have fixed it.


Is my fundamental approach of doing a frame by frame crop wrong ? or is there just some smoothing algorithm or some dumb mistake that you think I may be making ? Any advice is mega appreciated !