Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (51)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (7954)

  • A/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0

    16 mai 2016, par Pedro

    I’m working with javacv and when I try run my app with Android 6, it crashes.
    The app only crash with android 6. I tested with android N, android 5 and android 4.4
    the app crash when do a instance of FFmpegFrameRecorder class.
    This is the code of my class :

    public class MainActivity extends Activity{

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

       new FFmpegFrameRecorder("", 320, 240, 1);
     }
    }

    this is my log error :

                                             --------- beginning of crash
    05-16 14:46:15.845 6144-6144/com.example.pedro.ffmpeg30 A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 6144 (.pedro.ffmpeg30)
    05-16 14:46:15.902 371-371/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    05-16 14:46:15.905 371-371/? A/DEBUG: Build fingerprint: 'google/shamu/shamu:6.0.1/MMB29K/2419427:user/release-keys'
    05-16 14:46:15.910 371-371/? A/DEBUG: Revision: '0'
    05-16 14:46:15.910 371-371/? A/DEBUG: ABI: 'arm'
    05-16 14:46:15.915 371-371/? A/DEBUG: pid: 6144, tid: 6144, name: .pedro.ffmpeg30  >>> com.example.pedro.ffmpeg30 <<<
    05-16 14:46:15.915 371-371/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    05-16 14:46:15.912 371-371/? W/debuggerd: type=1400 audit(0.0:525): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.912 371-371/? W/debuggerd: type=1400 audit(0.0:526): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.912 371-371/? W/debuggerd: type=1400 audit(0.0:527): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.912 371-371/? W/debuggerd: type=1400 audit(0.0:528): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:529): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:530): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:531): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:532): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:533): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:534): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:535): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.922 371-371/? W/debuggerd: type=1400 audit(0.0:536): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.940 371-371/? A/DEBUG:     r0 00000000  r1 00000002  r2 b6811031  r3 a0f5de7c
    05-16 14:46:15.940 371-371/? A/DEBUG:     r4 a0f59594  r5 b67c1a61  r6 b362f1a4  r7 00000001
    05-16 14:46:15.940 371-371/? A/DEBUG:     r8 b6f4c6ec  r9 0000000b  sl b362f1a4  fp b6f452fc
    05-16 14:46:15.941 371-371/? A/DEBUG:     ip fffffe8c  sp bea86820  lr a0efcec1  pc a0efe58a  cpsr 000d0030
    05-16 14:46:15.932 371-371/? W/debuggerd: type=1400 audit(0.0:537): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.964 371-371/? A/DEBUG: backtrace:
    05-16 14:46:15.965 371-371/? A/DEBUG:     #00 pc 0001a58a  /data/data/com.example.pedro.ffmpeg30/cache/javacpp23106072121027/libc.so
    05-16 14:46:15.965 371-371/? A/DEBUG:     #01 pc 00016695  /data/data/com.example.pedro.ffmpeg30/cache/javacpp23106072121027/libc.so
    05-16 14:46:15.965 371-371/? A/DEBUG:     #02 pc 00002465  /system/bin/linker (__dl__ZN6soinfo13call_functionEPKcPFvvE+48)
    05-16 14:46:15.965 371-371/? A/DEBUG:     #03 pc 0000252f  /system/bin/linker (__dl__ZN6soinfo10call_arrayEPKcPPFvvEjb+134)
    05-16 14:46:15.965 371-371/? A/DEBUG:     #04 pc 000026f5  /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+160)
    05-16 14:46:15.965 371-371/? A/DEBUG:     #05 pc 00006115  /system/bin/linker (__dl__Z9do_dlopenPKciPK17android_dlextinfo+224)
    05-16 14:46:15.966 371-371/? A/DEBUG:     #06 pc 00001c95  /system/bin/linker (__dl_dlopen+20)
    05-16 14:46:15.966 371-371/? A/DEBUG:     #07 pc 0025b13b  /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string, std::__1::allocator<char> > const&amp;, _jobject*, std::__1::basic_string, std::__1::allocator<char> >*)+650)
    05-16 14:46:15.966 371-371/? A/DEBUG:     #08 pc 002d13d7  /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+194)
    05-16 14:46:15.962 371-371/? W/debuggerd: type=1400 audit(0.0:538): avc: denied { search } for name="com.example.pedro.ffmpeg30" dev="dm-1" ino=742565 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    05-16 14:46:15.966 371-371/? A/DEBUG:     #09 pc 738b0105  /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x1ec9000)
    05-16 14:46:16.339 863-6279/? W/ActivityManager:   Force finishing activity com.example.pedro.ffmpeg30/.MainActivity
    05-16 14:46:16.339 371-371/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_07
    05-16 14:46:16.339 371-371/? E/DEBUG: AM write failed: Broken pipe
    </char></char>

    I’m using the last version downloaded here :
    http://search.maven.org/#search|ga|1|bytedeco

    my gradle dependencies :

    dependencies {
     compile fileTree(dir: 'libs', include: ['*.jar'])
     testCompile 'junit:junit:4.12'
     compile 'com.android.support:appcompat-v7:23.3.0'

     compile files('libs/javacv-1.2.jar')
     compile files('libs/javacpp-1.2.jar')
     compile files('libs/ffmpeg-3.0.2-1.2.jar')
     compile files('libs/ffmpeg-3.0.2-1.2-android-arm.jar')
    }
  • While working with ffmpeg : Created function in C file and after compilation with NDK accessing from android activity, getting signal 11 error

    30 mai 2016, par Dayanand Lande

    After successfully fire command ndk-build I got .so file in my libs folder, then after some changes in gradle file I got native_libs.xml .idea/libraries folder.

    Now I am accessing c function from my java code/ android activity. I am getting signal 11 error

    My code is

    C file

    #include
    #include <android></android>log.h>
    #include

    #include "libavcodec/avcodec.h"
    #include "libavformat/avformat.h"

    #define LOG_TAG "mylib"
    #define LOGI(...)  __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
    #define LOGE(...)  __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)


    //JNIEXPORT jint JNICALL Java_com_xxx_xxx_activities_SplashActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename);

    jint Java_com_xxx_xxx_activities_TutorialsActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename)
    {
       av_register_all();

       AVFormatContext *pFormatCtx;
       const jbyte *str;
       str = (*env)->GetStringUTFChars(env, filename, NULL);

       if(avformat_open_input(&amp;pFormatCtx, str, NULL, 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;
    }

    Loading and try to access method in java code is

    private static native int logFileInfo(String filename);


       static {
           System.loadLibrary("framegrabber");
       }

    In OnCreate of activity

    logFileInfo(file.getAbsolutePath());

    Finally error at point logFileInfo(file.getAbsolutePath()); is

    A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x106e in tid 8905 (Thread-20972)

    Please replay if you have any solution, Thanking in advance.

  • How to set FFmpeg to send a signal to java code when it's done with its job ?

    23 juin 2016, par Elaheh

    I have a java servlet which waits for an httprequest, when it arrives, it calls the FFmpeg to do mixing two videos. Java code needs to send the mixed video back to the requester when the FFmpeg finished its job.
    How can I set the FFmpeg to inform the java servlet when the mixed video is ready ?
    My code in current shape, starts sending the video while FFmpeg is not completely done.

    I can use thread.sleep() or similar methods, but since we need to measure the processing time for a research work, I cannot use that.

    I appreciate if you can help me on this.
    this is part of the code :

    String videoId=req.getParameter("id");        
            String ad= "/var/Videos/ads/angrybirds-adv.mp4";  
            String url="http://"+RequesterIP+"/"+videoId;
            System.out.println("url: "+url);
            String output= new SimpleDateFormat("yyyyMMddhhmm'.mp4'").format(new Date());
            String videoPath = "/var/Videos/"+output;
            List<string> cmds =  new ArrayList&lt;>();
            cmds.add("ffmpeg");
            cmds.add("-i");
            cmds.add(url);
            cmds.add("-i");
            cmds.add(ad);
            cmds.add("-filter_complex");
            cmds.add("[0:v][1:v] overlay");
            cmds.add(videoPath);
            ProcessBuilder pb = new ProcessBuilder(cmds);
            Process p = pb.start();

            /** Terminal **/
          final InputStream inStream = p.getErrorStream();
            new Thread(new Runnable() {
            public void run() {          
                    InputStreamReader reader = new InputStreamReader(inStream);
                    Scanner scan = new Scanner(reader);
                    while (scan.hasNextLine()) {
                        System.out.println(scan.nextLine());
                    }
                }
            }).start();      

    // send the mixed video to the requester
    File downloadFile = new File(videoPath);
    ...
    </string>

    More details :
    the ad video is the overlay video located in the same machine as FFmpeg, the original video is located on a public folder in the requester machine, and is accessible using this url : http://requester-IP/videoId