
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 (76)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11403)
-
create video chunks with giving start and end time using ffmpeg and play those chunks sequentially with expiry time for each chunk using java
4 octobre 2018, par JAVA CoderI have done like this I found it from the given link Just modified the code for start and end time and hard coded the times.
Split video into smaller timed segments in Java@RequestMapping(value="/playVideo",method = RequestMethod.GET)
@ResponseBody
public void playVideo() {
System.out.println("controller is working");
int videoDurationSecs = 1800 ;
int numberOfChunks = 5;//dynamically we can define according to video duration
int chunkSize = videoDurationSecs/(numberOfChunks);
int startSecs = 0;
for (int i=0; i/*******Create video chunk*******//
String startTime = convertSecsToTimeString(startSecs);
int endSecs = startSecs+chunkSize;
startSecs = endSecs+1;
if (endSecs > videoDurationSecs) {
//**make sure rounding does not mean we go beyond end of video**//
endSecs = videoDurationSecs;
}
String endTime = convertSecsToTimeString(endSecs);
System.out.println("start time for-------------------->>>> "+startTime);
System.out.println("end time for------------------->>>> "+endTime);
/*
* how to do this means send times for chunk and
* getting chunks and play them one by one like one video
* with expiry time for each
*/
//Call ffmpeg to create this chunk of the video using a ffmpeg wrapper
/*String argv[] = {"ffmpeg", "-i", videoPath,
"-ss",startTime, "-t", endTime,
"-c","copy", segmentVideoPath[i]};
int ffmpegWrapperReturnCode = ffmpegWrapper(argv);*/
}
}
private String convertSecsToTimeString(int timeSeconds) {
//Convert number of seconds into hours:mins:seconds string
int hours = timeSeconds / 3600;
int mins = (timeSeconds % 3600) / 60;
int secs = timeSeconds % 60;
String timeString = String.format("%02d:%02d:%02d", hours, mins, secs);
return timeString;
}}
-
RTSP to HTTP Live Streaming (iOS)
15 novembre 2013, par user2964075I have RTSP feed coming from my IP Camera as my source input and need to publish it to HTTP Live Streaming (HLS) for playback on iOS devices. I have already tried RTSP-to-RTSP on iOS and it worked ; this time I want to try RTSP-to-HLS. I already have Wowza and ffmpeg installed but I just don't know what commands I should run to produce HLS. I've googled for the right commands but I just couldn't find them. What should I run ?
Safari supports HLS. Does it also mean that UIWebView supports HLS as well ?
-
Trim (remove frames from) live video from webcam using python
10 septembre 2020, par Muhammad UsmanI have a webcam that captures video stream. After 30 seconds I want to remove 1 sec of the video from the start and keep capturing the video stream and so on. In short, I only want to save the latest 30 seconds of the live video.


OpenCV does not provide video processing


ffmpeg trims the video but creates a new output file, I don't want to keep copies.


#Create a video write before entering the loop
#Create a video write before entering the loop
video_writer = cv2.VideoWriter(
 video_file, video_codec, fps, (int(cap.get(3)), int(cap.get(4)))
)

#video_file is the file being saved

start = time.time()
i=0
seconds='1'
while cap.isOpened():


 ret, frame = cap.read()
 if ret == True:
 cv2.imshow("frame", frame)
 if time.time() - start > 10:
 print('video > 10 sec')
 
 subprocess.call(['ffmpeg', '-i', video_file, '-ss', seconds, 'output.avi'])
 break

 # Write the frame to the current video writer
 video_writer.write(frame)
 if i%24 == 0:
 cv2.imwrite('image'+str(i)+'.jpg',frame)
 i+=1
 if cv2.waitKey(1) & 0xFF == ord("q"):
 break
else:
 break
cap.release()
cv2.destroyAllWindows()



What I am looking for is how we can trip a live video and keep saving future frames so that the video don't exceed 30 seconds and keeps the latest frames.