
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (63)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (8025)
-
Ubuntu12.04 : libavformat header trouble when compiling C program
30 mai 2013, par Juneyoung OhMy code is super simple, just include "avformat.h" and call "av_register_all".
full code is below.
1 #include
2 #include
3 #include
4 //#include <libavcodec></libavcodec>avcodec.h>
5 #include <libavformat></libavformat>avformat.h>
6 //#include "libavcodec/avcodec.h"
7 //#include "libavformat/avformat.h"
8
9
10 int main (int argc, char* argv[]){
11 av_register_all();
12 /*
13 AVFormatContext* pFormatCtx;
14 const char* filename = "/home/juneyoungoh/Videos/CON1234ID.ts";
15
16 if(av_open_input_file(&pFormatCtx, filename, NULL, 0, NULL) != 0)
17 {
18 handle_error();
19 }
20
21 if(av_find_stream_info(pFormatCtx) < 0)
22 {
23 handle_error();
24 }
25
26 dump_format(pFormatCtx, 0, filename, 1);
27
28 //av_get_audio_frame_duration();
29 */
30 return 0;
31 }The problem is when I compile this in Terminal it show error.
/tmp/ccvgpGjv.o: In function `main':
getDuration.c:(.text+0x10): undefined reference to `av_register_all'
collect2: ld returned 1 exit statusmy avformat.h file is in
/usr/local/include/libavformat/avformat.h
.Here is something I have already tried.
- gcc getDuration.c
- gcc -I/usr/local/include/ getDuration.c
- gcc -I/usr/local/include/libavformat/ getDuration.c
- gcc -L/usr/local/include/ getDuration.c
- gcc -L/usr/local/include/libavformat/ getDuration.c
- gcc getDuration.c -lavformat
Give me the light of hope +_+
-
geting no result from GetStringUTFChars JNI
9 avril 2013, par talhamalik22android NDK for my android application. i am stuck on the starting lines and it is not compiling further. Following is my code. It doest not compile after "str = (*env)->GetStringUTFChars(env, filename, NULL) ;". Please check my java and c code
The java code :
public class MyffmpegActivity extends Activity {
private static native int logFileInfo(String filename);
static
{
Log.i("HEHA", "HOHA");
System.loadLibrary("mylib");
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_myffmpeg);
String path=Environment.getExternalStorageDirectory().getPath();
path=path+"/test.mp4";
Log.i("Name Returned is ", ":"+path);
int x=logFileInfo(path);
}The C code
jint Java_com_example_myffmpegtest_MyffmpegActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename)
{
av_register_all();
AVFormatContext *pFormatCtx;
const jbyte *str;
str = (*env)->GetStringUTFChars(env, filename, NULL);
if(av_open_input_file(&pFormatCtx, str, NULL, 0, NULL)!=0)
{
LOGE("Can't open file '%s'\n", str);
return 1;
}
else
{
LOGI("File was opened\n");
LOGI("File '%s', Codec %s",
pFormatCtx->filename,
pFormatCtx->iformat->name
);
}
return 0;} -
How to make a videoplayer using FFmpeg on android ndk
24 juillet 2012, par LMDSI'm trying to make a Video Player using ffmpeg and I use this tutorial http://dranger.com/ffmpeg/tutorial08.html, what I understand this tutorial convert a video to a video Image YUV, I'm trying to make the file that interact from .c to .java, I have this
code c from the tutorial08(http://dranger.com/ffmpeg/tutorial08.c), then I made
public class RtspReceiver extends Activity
public SurfaceView sfv;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.principal);
sfv=(SurfaceView) findViewById(R.id.im);
}
/* load our native library */
static {
System.loadLibrary("Interface");
}
private static native void Receive(SurfaceView sf);In the c I'm trying to understand how I can use this
JNIEXPORT void JNICALL isec_projecto_rtspreceiver_RtspReceiver_Receive(JNIEnv * env, jobject obj, jobject Surface)
{
//what I have to put in here?
}How can I put the SurfaceView that I have in the java, in the c ???
and other thing, in the tutorial08.c how can I extract the video and put them in the java ? am I thinking correctly ?