
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (96)
-
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 tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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
Sur d’autres sites (9830)
-
FFMpeg-sharp exception on avformat-52.dll
25 mars 2013, par BrunoLMI simply downloaded the source and compiled, so far so good.
Then I tried to run the example (VideoPlayer) and I got an exception at
MediaFile file = new MediaFile(m_txtPath.Text);
Message :
{"Unable to load DLL 'avformat-52.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
I tried to download the DLL from
http://loaddll.com/avformat-52-dll
and placed it at\Windows\System32\
and\Windows\SysWOW64\
. Also on allBin
folders I could find in my solution, the exception is the same...Why is that, how do I fix it ?
-
FFmpeg : java.lang.UnsatisfiedLinkError while calling Runnable class
12 mars 2013, par Yuliya TarasenkoI need to take a picture file and an audio file and create a video.
I know that it's possible to do with the help ofRuntime.getRuntime().exec("ffmpeg -i image.jpeg -i audio.mp3 out.avi")
but only for rooted devices, so I've tried to create JNI wrapper for main() from ffmpeg.c and call it from my Activity like here : http://demo860.blogspot.com/2010/07/android-ffmpeg-dynamic-module-jni.html
1.This code is in ffmpeg.c :
int m_argc = 0;
char *m_pargv [30];
int dynamic_ffpmeg_main (int argc, char **argv);
jint JNICALL Java_com_ccmedia_codec_ffmpeg_mod_1run ( JNIEnv *, jclass, jstring, jstring );
jint JNICALL Java_com_ccmedia_codec_ffmpeg_mod_1run ( JNIEnv *env, jclass class, jstring pj1, jstring pj2)
{
// as in http://demo860.blogspot.com/2010/07/android-ffmpeg-dynamic-module-jni.html
}
int dynamic_ffpmeg_main(int argc, char **argv)
{
// as in http://demo860.blogspot.com/2010/07/android-ffmpeg-dynamic-module-jni.html
}
int main(int argc, char **argv)
{
dynamic_ffpmeg_main ( argc, argv );
return 0;
}2.This code is in my .java :
public class FFmpegCreator implements Runnable {
static boolean m_bret = false;
static String m_szconfig = " -i /sdcard/file.mpg -vcodec mpeg4 aaa.mpg";
//public native String unimplementedStringFromJNI();
static {
try {
System.out.println("[AdDBCache] Module load try ffmpeg : "
+ System.getProperty("java.library.path"));
// System.load("/sdcard/arm_and/bin/libffmpeg.so");
System.loadLibrary("ffmpeg");
System.out.println("[AdDBCache] Module load success");
}
catch (Exception e) {
System.out.println("[AdDBCache] Module load err : "
+ System.getProperty("java.library.path"));
}
}
private static synchronized final native int Java_com_ccmedia_codec_ffmpeg_mod_1run(String name, String sztoken);
public void set_config(String sz_config) {
m_szconfig = sz_config;
}
public void run_core(String sz_file, String sz_token) {
int n_stat;
m_bret = false;
n_stat = Java_com_ccmedia_codec_ffmpeg_mod_1run(m_szconfig, sz_token);
m_bret = true;
}
public void run() {
run_core("", "");
}
}3.And this in my Activity :
FFmpegCreator f = new FFmpegCreator ();
new Thread(f).start();But I have
E/AndroidRuntime(25682): java.lang.UnsatisfiedLinkError: Java_com_ccmedia_codec_ffmpeg_mod_1run .
And I can't understand why... FFmpeg build was successful...
Could anyone help me, please ? I'll really appreciate if you could help me. Thank you. -
FFMpeg call from Node.js Results in 127
27 février 2013, par user2009114I am having an issue with running an FFMpeg execution command from a Node.js (actually a Meteor) application. From my application I am trying to run :
/usr/local/bin/ffmpeg-i,/Users//Documents//public/sample_iTunes.mov,-async,1,-acodec,libmp3lame,-b:a,128k,-vf,scale=min(1280\, iw) :-1,-b:v,1000k,-ar,44100,-ac,2,-vcodec,libx264,-x264opts,level=3.0,-profile:v,baseline,-preset:v,superfast,-threads,0,-flags,-global_header,-map,0,-f,segment,-segment_time,10,-segment_list,stream.m3u8,-segment_format,mpegts,-segment_list_flags,live,stream%05d.ts
However, I get this :
Transcoder exited with code 127
chdir() : No such file or directoryI am using a modified version of hls-vod module (https://github.com/mifi/hls-vod/). I have already tried changing the permissions of ffmpeg via chmod 777, as well as the /cache folder to which it encodes and the public folder containing the sample.mov. None of this seems to work. I installed FFmpeg using Homebrew so the usr/local/bin/ffmpeg is actually a sym link to usr/local/Cellar/..../ffmpeg. I don't know if this would play a part in it. Or perhaps it is something about Meteor.
Any help would be much appreciated, thanks !