
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (64)
-
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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (12360)
-
how can I take audio file(mp3) and video file(mp4) as input in Java spring ?
29 juillet 2022, par Jawad Un Islam AbirI am using this code to read the audio file. but don't know how to take user input.


InputStream inputStream = new FileInputStream("example.ogg");
FFmpegInput input = new FFmpegInput(inputStream);
FFmpegSourceStream stream = input.open(inputFormat);

stream.registerStreams();

AudioSourceSubstream audioSourceSubstream = null;
for(MediaSourceSubstream substream : stream.getSubstreams()) {
 if (substream.getMediaType() != MediaType.AUDIO) continue;

 audioSourceSubstream = (AudioSourceSubstream) substream;
}

if (audioSourceSubstream == null) throw new NullPointerException();



-
I want to convert relay server nodejs http->websocket code version to java netty to spring-websocket
20 août 2019, par rura6502I want to rewrite this example(https://github.com/phoboslab/jsmpeg/blob/master/websocket-relay.js) to java using netty and spring-WebSocket.
This nodejs example’s HTTP server get the media data from FFmpeg and relay to the WebSocket. And then javascript library draws on the HTML Canvas.
But My problem is that when I use netty, spring-WebSocket, some data cannot read by the javascript library and there are many data loss.
In the example, this nodejs code’s main part I think.
http = require('http'),
WebSocket = require('ws');
// setting websocket server ..............
var streamServer = http.createServer( function(request, response) {
// ....................
response.connection.setTimeout(0);
request.on('data', function(data){
socketServer.broadcast(data);
// .....
});
// .................
}).listen(STREAM_PORT);So I already tried to change this. I just used netty code in the official document(https://netty.io/wiki/user-guide-for-4.x.html) and changed sending a part for the Websocket
// this code is in channelRead method
ByteBuf buf = (ByteBuf) msg;
try {
while (buf.isReadable()) { // (1)
byte[] bytes = new byte[buf.readableBytes()];
buf.readBytes(bytes);
WSHandler.wsSessions.stream().forEach(wsSession -> {
try {
wsSession.sendMessage(new BinaryMessage(bytes));
} catch (IOException e) {
e.printStackTrace();
};
});
}
} finally {
ReferenceCountUtil.release(msg); // (2)
}Please tell me what I missed. help me. thanks.
-
how to Extract Audio from video with spring boot java in linux or windows system with ffmpeg coding part need guidance
2 décembre 2022, par Makarand BurudI got this command but don't know the how to configure it for project on command line ?


String[] command = "-y", "-i", filename, "-vn",
"-ar", "44100", "-ac", "2", "-b:a", "256k", "-f", "mp3" + fileStorageLocation ;