
Recherche avancée
Autres articles (23)
-
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 -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6096)
-
to create video from image sequence on android
4 juin 2012, par preceptronI want to create video from image sequence (on android) by this code :
opencv_core.IplImage image = cvLoadImage("/sdcard/mytest/testimage.jpg");
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("/sdcard/mytest/test.3gp",256,256);
try {
recorder.setCodecID( CODEC_ID_H263);
recorder.setFormat("3gp");
recorder.setPixelFormat( PIX_FMT_YUV420P);
recorder.start();
for (int i=0;i<10;i++)
{
recorder.record(image);
}
recorder.stop();
}
catch (Exception e){
e.printStackTrace();
}But instead of my image I have got green screen. What I have to change in my code ?
And how I can add audio to my video ?
-
How to downscale 10bit video to YUV444p without error
4 juin 2015, par JerryI am currently trying to make a programe that parse a video and handle it as pixel map.
And I use
ffmpeg(windows build)
to do that.This is the command I use to convert video to raw
yuv444p
format.
And it works correctly on most video.| ffmpeg -i - -vcodec rawvideo -qp:v 0 -pix_fmt yuv444p -r "2" -vf scale=320:240 -f rawvideo pipe:1 >
But when the video is in Hi10 format (
yuv420p10le
).
The result will be incorrect.The ffmpeg seems doesn’t convert the color correctly
For example.
There are large green patches in the image.
So. how could I fix that ?
-
video preview from remote mp4 [h264] file
20 novembre 2015, par sathiaI was trying to make a video preview from a remote video (smaller size, short clip and no audio. you get the idea)
By knowing the video duration, and bitrate (constant) is rather easy to make several byte-range requests in order to fetch chunks of it.
Once all the needed chunks are downloaded I use the "concat" method of ffmpeg to make a single video (this is in order to avoid to download all the video locally)
well, technically it all works perfectly the problem is that most of the chunks I download have pretty severe aberrations, and I mean, it’s usually all green and pixelated, rubbish.
Is this a limit on the h264 protocol or I should maybe find the first keyframe and start from there (on each chunk of course) ? thanks