
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (49)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (4354)
-
fftools/ffmpeg_filter : do not assume av_buffersrc_get_nb_failed_requests()>0
7 mars 2024, par Anton Khirnovfftools/ffmpeg_filter : do not assume av_buffersrc_get_nb_failed_requests()>0
Apparently it can happen that avfilter_graph_request_oldest() returns
EAGAIN, yet av_buffersrc_get_nb_failed_requests() returns 0 for every
input.Works around #10795, though the root issue is most likely in the
scale2ref filter. -
Revision 31199 : L’utilisation de document.write pouvait poser problème de temps en temps ...
29 août 2009, par kent1@… — LogL’utilisation de document.write pouvait poser problème de temps en temps ... si jQuery est disponible, on utilise jQuery.getScript pour charger le script
-
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;
}}