Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (44)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP 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.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6070)

  • Can not open file from avformat_open_input in android

    10 novembre 2013, par ssrp

    I have called av_register_all() function in my onLoad() function, but I get the -1330794744 return value when I try to open a .mp4 file in my sdcard. what would be the problem please help.

  • Running FFMPEG in Android [duplicate]

    1er février 2013, par user2028081

    Possible Duplicate :
    ffmpeg for a android (using tutorial : “ffmpeg and Android.mk”)

    I have tried several things running FFMPEG in android, searched around the whole net,No fruitful or direct solutions available. Refereed this and related was very helpful though.

    Moreover currently I am able to build the FFMPEG in Ubuntu 12. Created all the .SO binary everything.

    My question is, how do I change the ffmeg.c file which will enable me to pass ffmpeg commands ?

    According to this by following steps this is possible.

    With the design above, the change for ffmpeg.c is simple.

    Change the main(int argc, char **argv) function prototype to a java JNI interface prototype that Android java code can call.
    Change the output to stdout to the text files we created.
    Comment out a few lines that cause the compilation error.

    But I'm unable to change the main and how it would be.

    Please help me on this. If somebody have already achieved this thing.

  • How to install JavaCV on Android and use FrameGrabber

    9 octobre 2016, par Mark

    Could someone tell me where I’m doing wrong ? These are the steps that I have followed :

    1. Downloaded the adt-bundle-windows from android developer website
    2. Created a new project and a libs/armeabi folder
    3. Extract all the *.so files from javacv-android-arm.jar, opencv-2.4.3-android-arm.zip, and ffmpeg-1.0-android-arm.zip directly into the newly created "libs/armeabi" folder, without creating any new subdirectories.

      (A part that I don’t understand is "Extract all the *.so files from javacv-android-arm.jar", I simply inserted the javacv-android-arm.jar file inside libs/armeabi folder)

    4. Navigated to Project > Properties > Java Build Path > Libraries and click "Add JARs...".
    5. Selected both javacpp.jar and javacv.jar from the newly created "libs" folder.

    After that I have downloaded OpenCV2.4.3 from here and ffmpeg from here and extracted the files on my C :/ root.
    Finally after setting my system path...,

    C:\opencv\build\x64\vc10\bin;C:\ffmpeg-64\bin;C:\Program Files\Java\jdk1.7.0_10\bin

    ...if I try to use simply FrameGrabber in my Android application...

    import com.googlecode.javacv.FFmpegFrameGrabber;
    import com.googlecode.javacpp.Loader;
    import com.googlecode.javacv.*;
    import com.googlecode.javacv.cpp.*;
    import static com.googlecode.javacv.cpp.opencv_core.*;
    import static com.googlecode.javacv.cpp.opencv_imgproc.*;
    import static com.googlecode.javacv.cpp.opencv_calib3d.*;
    import static com.googlecode.javacv.cpp.opencv_objdetect.*;

    import android.os.Bundle;
    import android.app.Activity;
    import android.view.Menu;

    public class MainActivity extends Activity {

       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);

           FFmpegFrameGrabber i = new FFmpegFrameGrabber("/mnt/sdcard/SinglePerson.avi");
       }

    ...I get the following errors :

    01-29 17:59:26.976: E/AndroidRuntime(30656): FATAL EXCEPTION: main
    01-29 17:59:26.976: E/AndroidRuntime(30656): java.lang.NoClassDefFoundError: com.googlecode.javacv.FFmpegFrameGrabber
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.example.xxxxxxxxx.MainActivity.onCreate(MainActivity.java:23)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.Activity.performCreate(Activity.java:4465)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.os.Handler.dispatchMessage(Handler.java:99)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.os.Looper.loop(Looper.java:137)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at android.app.ActivityThread.main(ActivityThread.java:4424)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at java.lang.reflect.Method.invokeNative(Native Method)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at java.lang.reflect.Method.invoke(Method.java:511)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    01-29 17:59:26.976: E/AndroidRuntime(30656):    at dalvik.system.NativeStart.main(Native Method)

    Someone can help me please ?