
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (101)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 ) (...)
Sur d’autres sites (11014)
-
How to specifiy ffmpeg creation time as the segment creation time
6 novembre 2023, par şahinI am using ffmpeg to create video records from streams. Ffmpeg command creates segments from the streams. Think that 24 hours record with ffmpeg and divide it into 1 hour segments so i have 24 video records at the end. Problem is that ffmpeg always put the first segment creation time to the following ones meta data. Last video has the first video creation time. How to create segments with the time they created ?


My ffmpeg commands


ffmpeg -y -buffer_size 500000 -thread_queue_size 128 -i $1 -metadata title=$2 -metadata creation_time="`date +%F` `date +%T`" -c:a copy -c:v copy -f segment -segment_time 01:00:00 segment_format mp4



-
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;
}}
-
FFmpeg : avcodec_open2 returns "Permission denied" (-13)
24 avril 2019, par maxestI wanted to open an encoder, H264, C++, Android. This :
encoderH264 = avcodec_find_encoder(AV_CODEC_ID_H264);
works. This one :
codecContext = avcodec_alloc_context3(encoderH264);
also works. But I get error "Permission denied" (-13) on that :
avcodec_open2(codecContext, encoderH264, NULL);
I’d suppose that my FFmpeg lib does support H264 encoding as avcodec_find_encoder returns valid value (when I used some other FFmpeg lib this function returned null).
Any ideas ?