Recherche avancée

Médias (91)

Autres articles (77)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

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

Sur d’autres sites (4743)

  • ffmpeg4android : "Fatal signal 11 (SIGSEGV) .." Error

    6 février 2015, par Jonas B

    Running ffmpeg4android to crop video from 480x640 (rotated) to fit 4:3 I get this error 2/10 times.

    Command

    "ffmpeg", "-y", "-i", tempFile.getPath(), "-strict", "experimental", "-b:a", "128k", "-b:v", "2567k", "-vcodec", "mpeg4", "-vf", "[in] crop=360:480 [out]", tempFile.getPath().replace( ".mp4", "_cropped.mp4" )

    Error log

    02-06 10:11:57.067 13177-14055/mypackage I/Videokit﹕ license file not found...
    02-06 10:11:57.068 13177-14055/mypackage I/Videokit﹕ license file //license// created.
    02-06 10:11:57.069 13177-14055/mypackage D/Videokit﹕ license check rc : 2
    02-06 10:11:57.069 13177-14055/mypackage D/Videokit﹕ run() called
    02-06 10:11:57.466 13177-14055/mypackage A/libc﹕ Fatal signal 11 (SIGSEGV), code 2, fault addr 0x407fffff in tid 14055 (AsyncTask #3)

    //license// : my path to license file
    mypackage : censored package name

  • Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1) while running android ffmpeg comand

    10 février 2015, par Dinesh Raj

    There is no problem while running this code for first time,after opening the app.

    String path=Environment.getExternalStorageDirectory().toString();                                          
    final String[]  complexCommand = {"-y","-r", "1/5" , "-i",path+"/slideshow/img%d.jpg","-acodec", "copy stream" ,path+"/Movies/vid.mp4"};

    log while running the ffmpeg command first time in android.

    02-11 18:32:06.289: D/Videokit(13426): Opening an output file: /storage/sdcard0/Movies/2015_02_11_18_32_06.mp4.
    02-11 18:32:06.299: D/Videokit(13426): Successfully opened the file.
    02-11 18:32:06.389: I/Videokit(13426): Stream mapping:
    02-11 18:32:06.389: I/Videokit(13426):   Stream #0:0 -> #0:0
    02-11 18:32:06.389: I/Videokit(13426):  (mjpeg -> mpeg4)
    02-11 18:32:06.389: I/Videokit(13426): Press [q] to stop, [?] for help
    02-11 18:32:06.419: V/Videokit(13426): No more output streams to write to, finishing.
    02-11 18:32:06.419: I/Videokit(13426): frame=    1 fps=0.0 q=2.8 Lsize=       7kB time=00:00:02.00 bitrate=  30.5kbits/s    
    02-11 18:32:06.429: I/Videokit(13426): video:7kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 11.628588%
    02-11 18:32:06.429: D/Videokit(13426): 1 frames successfully decoded, 0 decoding errors
    02-11 18:32:06.429: I/Videokit(13426): Main ended with status 0

    But without closing the app , if i run this ffmpeg command second time getting this error, after opening an output file

    Opening an output file: /storage/sdcard0/Movies/2015_02_11_18_35_29.mp4.
    Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 13741 (v.env.slideshow)
  • GC and onTouch cause Fatal signal 11 (SIGSEGV) error in app using ffmpeg through ndk

    30 janvier 2015, par grzebyk

    I am getting a nasty but well known error while working with FFmpeg and NDK :

    A/libc(9845): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa0a9f000 in tid 9921 (AsyncTask #4)

    UPDATE

    After couple hours i found out that there might be two sources of the problem. One was related to multithreading. I checked it and I fixed it. Now the app crashes ONLY when the video playback (ndk) is on.

    I put a "counter" in touch event

     surfaceSterowanieKamera.setOnTouchListener(new View.OnTouchListener() {
               int counter = 0;
               @Override
               public boolean onTouch(View v, MotionEvent event) {            
                   if ((event.getAction() == MotionEvent.ACTION_MOVE)){
                       Log.i(TAG, "counter = " + counter);
                       //cameraMover.setPanTilt(some parameters);
                       counter++;
                    }

    And I started disabling other app functionalities one by one, but no video. I found out, that with every single functionality less, it takes app longer to crush - counter reaches higher values. After turning off everything besides video playback and touch interface (cameraMover.setPanTilt() commented out) the app crushes usually when counter is between 1600 - 1700.

    In such case logcat shows the above error and GC related info. For me it seems like GC is messing up with the ndk.

    01-23 12:27:13.163: I/Display Activity(20633): n = 1649
    01-23 12:27:13.178: I/art(20633): Background sticky concurrent mark sweep GC freed 158376(6MB) AllocSpace objects, 1(3MB) LOS objects, 17% free, 36MB/44MB, paused 689us total 140.284ms
    01-23 12:27:13.169: A/libc(20633): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9bd6ec0c in tid 20734 (AsyncTask #3)

    Why is GC causing problem with ndk part of application ?


    ORIGINAL PROBLEM

    What am I doing ?

    I am developing an application that streams live video feed from a webcam and enables user to pan and tilt the remote camera. I am using FFmpeg library built with NDK to achieve smooth playback with little delay.

    I am using FFMpeg library to connect to the video stream. Then the ndk part creates bitmap, does the image processing and render frames on the SurfaceView videoSurfaceView object which is located in the android activity (java part).

    To move the webcam I created a separate class - public class CameraMover implements Runnable{/**/}. This class is a separate thread that connects through sockets with the remote camera and manages tasks connected ONLY with pan-tilt movement.

    Next in the main activity i created a touch listener

    videoSurfaceView.setOnTouchListener(new View.OnTouchListener() {/**/
    cameraMover.setPanTilt(some parameters);
    /**/}

    which reads user’s finger movement and sends commands to the camera.

    All tasks - moving camera around, touch interface and video playback are working perfectly when the one of the others is disabled, i.e. when I disable possibility to move camera, I can watch video streaming and register touch events till the end of time (or battery at least). The problem occurs only when task are configured to work simultaneously.

    I am unable to find steps to reproduce the problem. It just happens, but only after user touches the screen to move camera. It can be 15 seconds after first interaction, but sometimes it takes app 10 or more minutes to crash. Usually it is something around a minute.

    What have I done to fix it ?

    • I tried to display millions of logs in logcat to find an error but
      the last log was always different.
    • I created a transparent surface, that I put over the videoSurfaceView and assigned touch listener to it. It all ended in the same error.
    • As I mentioned before, I turned off some functionalities to find which one produces the error, but it appears that error occurs only when everything is working simultaneously.

    Types of the error

    Almost every time the error looks like this :

    A/libc(11528): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9aa9f00c in tid 11637 (AsyncTask #4)

    the difference between two errors is the number right after libc, addr number and tid number. Rarely the AsyncTask number varies - i received #1 couple times but I was unable to reproduce it.

    Question

    How can i avoid this error ? What can be the source of it ?