
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (4694)
-
How to append an image to a video using OpenCV or FFMPEG or Moviepy or other libraries ?
19 juillet 2022, par Trần Tiến VănDo you know a library in Python to add a frame image to an existing video ? The result video must have the same quality as the image.


I tried to use OpenCV to add google image : https://www.google.com/search?q=google&sxsrf=ALiCzsZhrdoHnOTmg0We4dxtguCqzma5Jg:1657603343101&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiTh8bTzfL4AhWhplYBHfXNAKwQ_AUoAXoECAIQAw&biw=1492&bih=739&dpr=1.25#imgrc=PRtenhDnrVrfOM


But the quality decreases when the video elongates.


Here is the final result video : https://drive.google.com/file/d/1ArDvoX-kN9H_oLbACk3kU1Cid93SMczC/view?usp=sharing


Here is my code using OpenCV :


image = cv2.imread(path_image)
 height, width, dimensions = image.shape
 
 video = cv2.VideoCapture(path_video)
 
 
 frames = []
 while(True):
 
 ret, frame = video.read()
 
 if ret == True: 
 frames.append(frame)
 # frame = frame.resize(frame, (width, height), fx=0, fy=0, interpolation = cv2.INTER_CUBIC)
 
 # Press S on keyboard 
 # to stop the process
 if cv2.waitKey(1) & 0xFF == ord('s'):
 break
 # Break the loop
 else:
 break
 
 video2 = cv2.VideoWriter(path_video,cv2.VideoWriter_fourcc('M','J','P','G'), 30, (width, height))
 for frame in frames:
 video2.write(frame)
 video2.write(image)
 video2.release() # releasing the video generated 
 print("Added {}".format(image_name))



I hope to improve the quality of this video.


-
How to improve the animation quality with ffmpeg ?
17 janvier 2017, par Loïc PoncinWith
ffmpeg
I was able to get animation as an MP4 file and then I converted it into a GIF file.# Animation
ani = animation.ArtistAnimation(fig, film, interval=100, blit=True, repeat_delay=100)
ani.save('animation.mp4', writer="ffmpeg", fps=30)
os.system("ffmpeg -i C:\my_path\\animation.mp4 C:\my_path\\animation.gif")My problem is that the quality is not really good.
In my google drive (https://drive.google.com/open?id=0B7P95aWmH4DUbzJCaVZQM3Y0Y1U) you can find 3 files showing the animation : 1 PNG image (good quality), 1 MP4 file (normal quality), 1 GIF file (bad quality).
How can I keep a good quality during the process ?
-
How do I run the qt ffmpeg wrapper example ? (error : cannot find -lavutil)
29 août 2013, par JamesI am using QT 4.8 on the raspberry pi trying to save a binary stream to a video file like mp4. I was able to create and save static images by converting it into a QImage, but QT does not seem to support actually saving that stream (or the series of QImages) to a video file.
The only option I may have found is qt ffmpeg Wrapper
https://code.google.com/p/qtffmpegwrapper/but the example won't run out of the box. I am having the same exact problem as this guy :
All I did was download it and try to run the included example, but no go.
Am I supposed to download ffmpeg files prior to using this ? apt-get install ffmpeg ?Thanks !