
Recherche avancée
Autres articles (36)
-
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 ;
-
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4436)
-
ffmpeg Unrecognized option 'hls_enc'
16 juin 2017, par riubinDoes anyone have a ffmpeg problem that Unrecognized option ’hls_enc’ ?
when I use ffmpeg to convert videos to hls with option ’hls_enc’,followed the document : https://www.ffmpeg.org/ffmpeg-formats.html#Options-5
but throw error:Unrecognized option ’hls_enc’Is it missing any configure options ?
configuration : —enable-gpl —enable-nonfree —yasmexe=/data/ffmpeg.src/_release/bin/yasm —prefix=/data/ffmpeg.src/_release —cc= —enable-static —disable-shared —enable-debug —extra-cflags=’-I/data/ffmpeg.src/_release/include’ —extra-ldflags=’-L/data/ffmpeg.src/_release/lib -lm -ldl’ —enable-postproc —enable-bzlib —enable-zlib —enable-parsers —enable-pthreads —enable-libx264 —enable-libmp3lame —enable-libfdk_aac —enable-libspeex —extra-libs=-lpthread —enable-encoders —enable-decoders —enable-avfilter —enable-muxers —enable-demuxers
-
Javascript, method chaining, how to realize response in callback ?
12 avril 2017, par CHBSGood afternoon, ladies and gentlemen.
I write for myself a module on node js, I can not implement the save () functionmodule.exports = function(filename, callback){
this.callback = callback(require(filename));
return {
save: function() {
console.log(this);
//fs.writeFile(filename, 'Hello Node.js');
}
};
}
File('file.json', function(data){
data['blablabla'] = 12345;
}).save();How from a callback, to transfer the changed copy of a file in save (), and there already to save it through fs ?
I’m interested in the implementation of the fluent-ffmpeg function save ()ffmpeg('/path/to/file.avi')
.videoCodec('libx264')
.audioCodec('libmp3lame')
.size('320x240')
.on('error', function(err) {
console.log('An error occurred: ' + err.message);
})
.on('end', function() {
console.log('Processing finished !');
})
.save('/path/to/output.mp4');And as well as implemented on() ?
on('end'),
on('error'),
on('response'),I will be grateful for the information provided.
-
Can the outputFile of MediaRecorder be a named pipe ?
13 avril 2017, par HarrisonFollowing
Android Camera Capture using FFmpeg
and
feed raw yuv frame to ffmpeg with timestampI successfully put raw frames of Android phone camera into a named pipe made by mkfifo, and used ffmpeg to process them and generated a video file.
But the problem is that by ffmpeg, the encoding is very slow, it can only process 3 5 frames per second. The reason I have to use ffmpeg instead of MediaRecorder is that later I need to use ffmpeg to generate HLS segments and m3u8 file.
So I have to turn to use native encoder like MediaRecorder and try to set its OutputFile to a named pipe following
How to use unix pipes in AndroidMy code likes this,
private String pipe = "/data/data/com.example/v_pipe1";
...
mMediaRecorder.setOutputFile(pipe);
...
mMediaRecorder.start();Also I have a ffmpeg thread to use this pipe as the input.
But when I call mMediaRecorder.start() ; It will throw java.lang.IllegalStateException. I’ve tried to put ffmpeg thread before or after calling mMediaRecorder.start(), but with the same error.
I have no idea about this now. Could someone tell me how to solve this ?
Any suggestions are welcome and appreciated. Thanks.