
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (62)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (9339)
-
FFMPEG Doesn't Finish Compressing [duplicate]
11 février 2018, par MBJHThis question already has an answer here :
-
Runtime Exec stop unexpectedly
1 answer
I have this code which executes a ffmpeg command to compress a video file to .mp4
Process ffmpeg=Runtime.getRuntime().exec(cmdLine, null, cd);
And the ffmpeg command works just fine & everything compresses. But I need to trigger some code once it is finished. I tried this :
try {
ffmpeg.waitFor();
} catch(InterruptedException ex) {
ex.printStackTrace();
} finally {
new Update_Delete(con).compressed(Integer.parseInt(path.substring(path.lastIndexOf("\\")+5, path.lastIndexOf("\\")+6)));
System.gc();
new File(path).delete();
}And this :
while (ffmpeg.isAlive()) {
}
new Update_Delete(con).compressed(Integer.parseInt(path.substring(path.lastIndexOf("\\")+5, path.lastIndexOf("\\")+6)));
System.gc();
new File(path).delete();But the file does not finish compressing. I waited a whole 20 minutes but the 54 second file did not compress. It also does not throw an
InterruptedException
. Please leave me the code I can use to do this. Thanks -
Runtime Exec stop unexpectedly
-
ffmpeg fluent live streaming to youtube not working
18 octobre 2020, par RickyI am learning how to using ffmpeg fluent and I am having trouble getting it to stream live to Youtube



here is the command I have tried :



let streamYT = (YTrtmpKey) => {
 var proc3 = new ffmpeg({ source: inputURL, timeout: 0 })
 .addOption('-vcodec', 'libx264')
 .addOption('-acodec', 'aac')
 .addOption('-crf', 26)
 .addOption('-aspect', '640:360')
 .withSize('640x360')
 .on('start', function(commandLine) {
 console.log('Query : ' + commandLine);
 })
 .on('error', function(err) {
 console.log('Error: ' + err.message);
 })
 .output('rtmp://a.rtmp.youtube.com/live2/' + YTrtmpKey, function(stdout, stderr) {
 console.log('Convert complete' +stdout);
 });
 }




this doesn't throw any errors but also doesn't do anything


-
outOfMemoryError from javacv
14 février 2018, par Maharjun MWe are using
javacv
library for creating thumbnails out of videos. We are able to create thumbnails. But when we upload more videos(20 to 30 of 10MB to 40MB)
the application is throwing outOfMemoryError.We are using
1.3.1
version ofjavacv
.
Here is thepom.xml
file.<dependency>
<groupid>org.bytedeco</groupid>
<artifactid>javacv</artifactid>
<version>1.3.1</version>
</dependency>Here is the code
public BufferedImage generateThumbnail(File outputVideoFile) throws IOException {
BufferedImage bufferedImage = null;
try {
FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber(outputVideoFile);
frameGrabber.start();
Frame grabKeyFrame = frameGrabber.grabKeyFrame();
Java2DFrameConverter java2DFrameConverter = new Java2DFrameConverter();
bufferedImage = java2DFrameConverter.convert(grabKeyFrame);
frameGrabber.stop();
} catch (Exception e) {
throw new RuntimeException(e);
}
return bufferedImage;
}Here is the error
java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes = 3G > maxPhysicalBytes = 3G
org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:562)
org.bytedeco.javacpp.Pointer.init(Pointer.java:121)
org.bytedeco.javacpp.avcodec$AVPacket.allocate(Native Method)
org.bytedeco.javacpp.avcodec$AVPacket.<init>(avcodec.java:1696)
org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:471)
org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:462)
org.bahmni.module.bahmnimsf.extension.PatientDocumentThumbnailGenerator.generateThumbnail(PatientDocumentThumbnailGenerator.java:40)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
</init>I tried to upgrade the version to
1.4
though it’s not working.
Somebody told me to useSystem.gc()
that also not working.Can someone suggest the solution ? thanks in advance.