
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (65)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (8170)
-
FFMPEG Overlay one video on top of another video at specific location
11 août 2018, par Ewan SouI have two videos (in mp4 format). I would like to put one video on top of the other video
- Both videos have the same duration
- The bottom video is of resolution 640px by 640px
- The top video is also of resolution 640px by 640px
I need to scale down the top video resolution to 580px by 580px. Then I need to position it in a specific location on top of the bottom video.
I tried the below quote
ffmpeg -i bottom.mp4 -i top.mp4 -filter_complex "[0:0][1:0]overlay=enable='between(t\,0,50)'[out]" -shortest -map [out] -map 0:1 -pix_fmt yuv420p -c:a copy -dn -c:v libx264 -crf 18 output.mp4
It does allow me to put the top video on top of the bottom video I think. But the top video was not scaled down in size. Also, this top video is by default on the top left corner of the bottom video.
In additional, somehow, the very first frame will not show the top video at all. Only at around the 0.5sec will the top video appear. Is there any way to make it such that the top video is showing at the very first frame too ?
Thank you all in advance !
-
libavfilter : Code style fixes for pointers in DNN module and sr filter.
27 juillet 2018, par Sergey Lavrushkinlibavfilter : Code style fixes for pointers in DNN module and sr filter.
Signed-off-by : Pedro Arthur <bygrandao@gmail.com>
-
Saving frames from multiple videos in a specific location using openCV/ffmpeg and Python
15 janvier 2019, par SparkiepandasI am trying to extract and save the first frame from multiple videos in a specific folder. For now I got the extraction part working but my saving is in BGR instead of the preferred RGB (if I am right).Although, the frames are shown in my notebook as RGB but not as BGR. Also I need to add some variable filename,because at the moment it saves the frames but keeps overwriting the same frame. Can you guys help me with the two specific problems ? This is what I got so far :
SOLVED : I got the saving working, output file and colouring
img_rows,img_cols=200,200
listing = os.listdir(r'C:\Users/Me\SVWnew\archery\train')
# Create a counter
counter = 0
for vid in listing:
vid = r"C:/Users/Me/SVWnew/archery/train/"+vid
cap = cv2.VideoCapture(vid)
for k in range(1):
ret, frame = cap.read()
rgb =cv2.resize(frame,(img_rows,img_cols))
plt.imshow(rgb)
plt.xticks([]), plt.yticks([])
plt.show()
pathOut = r"C:/Users/Me/SVWnew - Copy/archery/train"
cv2.imwrite(pathOut + "/frame%d.jpg" % counter, rgb)
counter += 1
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()