
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (48)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7346)
-
FFMPEG gives "Error opening Filters" error
18 juin 2015, par liberationI am trying to compress a file and store it in MongoDB via GridFS. I am compressing it using a node module called stream-transponder which uses ffmpeg to compress it. My code looks like this
bodyParser.process('video/*', function(stream, req, next) {
var busboy = new Busboy({ headers : req.headers });
var fileId = new mongo.ObjectId();
var writestream = gfs.createWriteStream({
filename: (fileId.toString()) + ".mp4",
_id : fileId,
mode : "w",
content_type : "video/mp4"
});
new Transcoder(stream)
.videoCodec('h264')
.videoBitrate(800 * 1000)
.fps(25)
.aspectRatio(1.7777777)
.audioCodec('aac')
.sampleRate(44100)
.channels(2)
.audioBitrate(128 * 1000)
.format('mp4')
.on('finish', function () {
req.custom = fileId;
console.log(fileId);
next();
}).stream().pipe(writestream);
});The ffmpeg command line call that stream-transcoder makes looks like this :
ffmpeg -i - -vcodec h264 -b:v 800000 -r 25 -aspect 1.7777777 -acodec aac -ar 44100 -ac 2 -ab 128000 -f avi pipe:1
sometime’s the command looks like this
ffmpeg -i - -vf scale=min(trunc(320/hsub)*hsub\,trunc(a*240/hsub)*hsub):min(trunc(240/vsub)*vsub\,trunc(320/a/vsub)*vsub) -vcodec h264 -b:v 800000 -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128000 -f mp4 -movflags frag_keyframe+faststart pipe:1
eventhough I am uploading the same exact file I uploaded when I got the former command. They both give the same error (Opening Filters error).
I tried running encoding a file straight from the terminal with this command :
ffmpeg -i VIDEO0077.mp4 -c:v h264 -preset slow -crf 22 -c:a copy output2.mp4
and it worked like a charm. I am not sure what’s causing the Error Opening Filters error.
-
Catch "Unfortunately 'app' has stopped working" Error
2 juillet 2015, par cadesalaberryI am using a very unstable library on Android that crashes sporadically. I start it using the
startActivity()
in my code.The unstable part of the code is doing a lot of video processing and uploading the result to a server. I do not really mind if the activity crashes, but I need to signal the server that it did.
The crash comes from a memory leak (no time to solve it yet). Is there a way I can catch the error a display a more friendly/funny message instead ?
try {
context.startActivity(intent);
} catch (ApplicationCrashedException e) {
server.notifyServerOfCrash();
toast("I really disliked your face...");
}Edit : Here is the Error :
java.lang.OutOfMemoryError
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:151)
at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:264)
at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:409)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:219)
at java.lang.Thread.run(Thread.java:841)For some reason once the
BroadcastActivity
runs out of memory, the Activity gets killed and comes back to the previous one. It then displays the ’app’ has stopped working Dialog. If I press OK, it kills the entire application and comes back to the home screen.Ideally I would just have it come back to the previous activity notifying the server silently. (Not killing the application)
-
avfilter/hermite : fix "libavfilter/hermite.h:19:15 : error : no previous prototype...
22 septembre 2015, par Michael Niedermayer