
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (99)
-
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (9699)
-
Getting IO Exception while using Runtime.getRuntime().exec()
16 septembre 2012, par user1662334I want to use command line facility in android to use ffmpeg library.But i am getting IO Exception while trying that,I have stored ffmpeg.exe in /files folder.This is the code :
public class MainActivity extends Activity {
Process p;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Process p = Runtime.getRuntime().exec("/data/data/com.example.ffmpegnew/files/ffmpeg",null, new File("/data/data/com.example.ffmpegnew/files"));
}
catch(Exception e)
{
System.out.println("exception"+e);
}
}
}This is the error :
09-16 16:24:38.751: I/System.out(2209): exceptionjava.io.IOException: Error running exec(). Commands: [/data/data/com.example.ffmpegnew] Working Directory: /data/data Environment: null
Please tell me what is the problem.Thanks in advance.
-
Getting exception while loading ffmpeg library
16 septembre 2012, par user1662334I am using ffmpeg library in one of my sample project.I have compiled it successfully,but while loading the library,i am getting the exception that this library is not found.
This is the Android.mk code :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ffmpegutils
LOCAL_SRC_FILES := native.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_LDLIBS := -L$(NDK_PLATFORMS_ROOT)/$(TARGET_PLATFORM)/arch-arm/usr/lib -L$(LOCAL_PATH) -lavformat -lavcodec -lavdevice -lavfilter -lavcore -lavutil -lswscale -llog -ljnigraphics -lz -ldl -lgcc
include $(BUILD_SHARED_LIBRARY)This is the code :
public class MainActivity extends Activity {
private static native void openFile();
private static native void drawFrame(Bitmap bitmap);
private static native void drawFrameAt(Bitmap bitmap, int secs);
private Bitmap mBitmap;
private int mSecs = 0;
static {
System.loadLibrary("ffmpegutils");
}
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(new VideoView(this));
setContentView(R.layout.main);
mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.ARGB_8888);
openFile();
Button btn = (Button)findViewById(R.id.frame_adv);
btn.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
drawFrame(mBitmap);
ImageView i = (ImageView)findViewById(R.id.frame);
i.setImageBitmap(mBitmap);
}
});
Button btn_fwd = (Button)findViewById(R.id.frame_fwd);
btn_fwd.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
mSecs += 5;
drawFrameAt(mBitmap, mSecs);
ImageView i = (ImageView)findViewById(R.id.frame);
i.setImageBitmap(mBitmap);
}
});
Button btn_back = (Button)findViewById(R.id.frame_back);
btn_back.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
mSecs -= 5;
drawFrameAt(mBitmap, mSecs);
ImageView i = (ImageView)findViewById(R.id.frame);
i.setImageBitmap(mBitmap);
}
});
}
}This is the exception :
09-16 15:00:06.272: E/AndroidRuntime(392): Uncaught handler: thread main exiting due to uncaught exception
09-16 15:00:06.291: E/AndroidRuntime(392): java.lang.ExceptionInInitializerError
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.Class.newInstanceImpl(Native Method)
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.Class.newInstance(Class.java:1479)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.os.Handler.dispatchMessage(Handler.java:99)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.os.Looper.loop(Looper.java:123)
09-16 15:00:06.291: E/AndroidRuntime(392): at android.app.ActivityThread.main(ActivityThread.java:4363)
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.reflect.Method.invokeNative(Native Method)
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.reflect.Method.invoke(Method.java:521)
09-16 15:00:06.291: E/AndroidRuntime(392): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-16 15:00:06.291: E/AndroidRuntime(392): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-16 15:00:06.291: E/AndroidRuntime(392): at dalvik.system.NativeStart.main(Native Method)
09-16 15:00:06.291: E/AndroidRuntime(392): Caused by: java.lang.UnsatisfiedLinkError: Library ffmpegutils not found
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.Runtime.loadLibrary(Runtime.java:489)
09-16 15:00:06.291: E/AndroidRuntime(392): at java.lang.System.loadLibrary(System.java:557)
09-16 15:00:06.291: E/AndroidRuntime(392): at com.churnlabs.ffmpegsample.MainActivity.<clinit>(MainActivity.java:36)
</clinit>Please help me.Thanks in advance.
-
Revision 6a4e2ddabc : Properly merge two different real time modes —rt —cpu-used=-5 uses the progre
31 janvier 2014, par Yaowu XuChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_onyx_if.c
Modify /vp9/encoder/vp9_onyx_int.h
Modify /vp9/encoder/vp9_rdopt.c
Properly merge two different real time modes— rt —cpu-used=-5 uses the progressive rtc mode
— rt —cpu-used=-6 uses the new super fast rtc modeChange-Id : Id6469ca996100cdf794a0e42d76430161f22f976