
Recherche avancée
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (5999)
-
Find frames in the video that are similar to the static image, to crop the video
13 septembre 2024, par Nguyen Van KufuI use opencv with ffmpeg to cut the video. Specifically, find the frame in the video that is the same as the picture, then cut the video at the time the video frame is the same as the picture.


I found the code on google and edited it according to my needs, but when it comes to comparing frames and still images, I don't know how to ask you to add a comparison section to cut the video.


import numpy as np
import cv2
import time
from skimage.metrics import structural_similarity as compare_ssim

hinh = cv2.imread("f:\\x.png")
hinh1 = cv2.resize(hinh, (500, 300))
cap = cv2.VideoCapture('f:\\tt.mp4')
prev_frame_time = 0
new_frame_time = 0
cv2.imshow('hinh', hinh1)

while(cap.isOpened()):
 ret, frame = cap.read()

 if not ret:
 break

 gray = frame

 gray = cv2.resize(gray, (500, 300))
 font = cv2.FONT_HERSHEY_SIMPLEX
 new_frame_time = time.time()

 fps = 1/(new_frame_time-prev_frame_time)
 prev_frame_time = new_frame_time

 fps = int(fps)

 fps = str(fps)

 cv2.putText(gray, fps, (7, 70), font, 3, (100, 255, 0), 3, cv2.LINE_AA)
 ##############

 # displaying the frame with fps

 cv2.imshow('frame', gray)

 # press 'Q' if you want to exit
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

cap.release()
cv2.destroyAllWindows()



-
How to get video frames from h264 video using FFMPEG in ios
22 avril 2015, par narendrakumar bhow to use SampleBuffer, for decoding the video in iOS Refer this link .I want to use frames in SampleBuffer. How can i pass the data into SampleBuffer.
Any Suggestions or reference links can be invited.
Thanks in Advance
-
An x264-encoded video only with P frames and a different video for I frame
24 mai 2018, par MSD PaulSuppose I have 5 frames, I encode first one as the I or reference frame and all other as P frames in one video using x264 codec.
In this case, is it possible to have 2 videos, one only with an I frame and another frame only with 4 P frames ?
To decode all 4 P frames, I require the first I frame video but can we construct the videos in this way ?