
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (108)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9647)
-
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 !