
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (40)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (4561)
-
Anomalie #4706 : safehtml vire des trucs légitimes
12 mai 2021cedric - a écrit :
Et par contre RealET, ton url en data:xxx est un cas légitime et potentiellement dangereux, il est donc normal que safehlml la supprime, ne t’en déplaise
Super, merci.
Et pour NivoSlider, c’est résolu : https://git.spip.net/spip-contrib-extensions/nivoslider/commit/2fc16f04
-
Evolution #4762 : Donner une préférence de poids aux utilisations de pipelines
3 mai 2021, par RastaPopoulos ♥Oui alors c’est pour ça que je demandais, je n’arrive pas trop à voir si c’était facilement implémentable ou pas. Donc si y a des libs qui aident tant mieux. Si un jour on ajoute cette possibilité, ça fera un système pas mal super fin pour l’extension, encore plus qu’actuellement.
S’il y a déjà pour le cas "tout à la fin" c’est une bonne chose, super. Je suis persuadé d’avoir déjà vu sur la zone un cas qui aurait aimé être le plus au début, inversement, mais je n’arrive plus à me retrouver lequel.
-
NoClassDefFoundError at FFmpegFrameRecorder
30 janvier 2015, par Sanjay RapoluI am developing a android application and converting set of images into videos is one of its functionality. whenever I am trying to create an object of FFmpegFrameRecorder, NoClassDefFoundError java lang.ClassNotFoundException org.bytedeco.javacv.FFmpegFraerecorder exception is getting throwed. Here is the code on which I’m working. can anyone please suggest the reason for this error and the solution ?
package com.example.makevideo;
import java.io.File;
import org.bytedeco.javacpp.opencv_core;
import org.bytedeco.javacpp.opencv_core.IplImage;
import org.bytedeco.javacv.FFmpegFrameRecorder;
import android.app.Activity;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import static org.bytedeco.javacpp.opencv_highgui.cvLoadImage;
public class MainActivity extends Activity {
private static final String EXTR_DIR = "Screenshot";
String path = Environment.getExternalStorageDirectory() + File.separator
+ EXTR_DIR;
Button Record;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
System.out.println("Application Runs");
Toast.makeText(getApplicationContext(), path, Toast.LENGTH_SHORT)
.show();
;
recording();
}
private void recording() {
// TODO Auto-generated method stub
Record = (Button) findViewById(R.id.Record);
Record.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
System.out.println(path);
Toast.makeText(getApplicationContext(), path, Toast.LENGTH_LONG)
.show();
Log.d("Record",
"Environment.getExternalStorageDirectory().getPath() : "
+ path);
record();
}
});
}
private void record() {
File folder = new File(path);
File[] listOfFiles = folder.listFiles();
opencv_core.IplImage[] iplimage = null;
if (listOfFiles.length > 0) {
System.out.println("in IFFF...");
// Toast.makeText(getApplicationContext(), listOfFiles.length,
// Toast.LENGTH_SHORT).show();
iplimage = new opencv_core.IplImage[listOfFiles.length];
for (int j = 0; j < listOfFiles.length; j++) {
String files = "";
if (listOfFiles[j].isFile()) {
files = listOfFiles[j].getName();
System.out.println(" j " + j + listOfFiles[j]);
}
String[] tokens = files.split("\\.(?=[^\\.]+$)");
String name = tokens[0];
Toast.makeText(getApplicationContext(),
"size=" + listOfFiles.length, Toast.LENGTH_SHORT)
.show();
iplimage[j] = cvLoadImage(path + File.separator + name + ".jpg");
}
}
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path
+ File.separator + "OUTPUT" + System.currentTimeMillis()
+ ".mp4", 200, 150);
try {
recorder.setVideoCodec(13); // CODEC_ID_MPEG4 //CODEC_ID_MPEG1VIDEO
// //http://stackoverflow.com/questions/14125758/javacv-ffmpegframerecorder-properties-explanation-needed
recorder.setFrameRate(1); // This is the frame rate for video. If
// you really want to have good video
// quality you need to provide large set
// of images.
recorder.setPixelFormat(0); // PIX_FMT_YUV420P
recorder.start();
for (int i = 0; i < iplimage.length; i++) {
recorder.record(iplimage[i]);
}
recorder.stop();
Toast.makeText(MainActivity.this, "Record Completed",
Toast.LENGTH_SHORT).show();
} catch (Exception e) {
e.printStackTrace();
}
}
}