Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (39)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5202)

  • Monit not restarting ffmpeg live stream when disconnected

    21 juillet 2017, par digibread

    No matter what I try I cannot get Monit to restart my ffmpeg live stream even though my bash script works from the command line. I start the ffmpeg live stream and all is working. Monit status shows that is ffmpeg is running. I then reboot the camera and the connection is lost, Monit tries to start it with the log file entries below. the config files.
    Here is my setup. Any help is greatly appreciated.

    Monit Status

    Process 'ffmpeg'
    status                       Running
    monitoring status            Monitored
    monitoring mode              active
    on reboot                    start
    pid                          17349
    parent pid                   1
    uid                          0
    effective uid                0
    gid                          0
    uptime                       0m
    threads                      1
    children                     0
    cpu                          0.0%
    cpu total                    0.0%
    memory                       8.3% [40.4 MB]
    memory total                 8.3% [40.4 MB]
    port response time           -
    data collected               Fri, 21 Jul 2017 15:36:31

    My bash file in /etc/init.d/monitoring1.sh

    #!/bin/bash
    pid_file="/var/run/ffmpeg.pid"

    case "$1" in
    restart)
       /etc/init.d/monitoring1.sh stop
       /etc/init.d/monitoring1.sh start
        ;;

    start)
       rm $pid_file
       /usr/bin/ffmpeg -timeout -1 -i rtsp://user:pw@mydomain:port/h264Preview_01_sub http://localhost:8090/monitoring1.ffm &
       ch_pid=$!
       echo "Start Monitoring1: ffmpeg = $ch_pid";
       echo $ch_pid > $pid_file
        ;;

    stop)
       echo "Stop ffmpeg Monitoring1";
       kill `cat $pid_file` &> /dev/null
        ;;
    *)
      echo "Usage: /etc/init.d/streambash.sh {start|stop|restart}"
      exit 1
       ;;
    esac
    exit 0
    echo $pid_file

    My /etc/monit/conf-available/ffmpeg

    check process ffmpeg with pidfile /var/run/ffmpeg.pid
    group nogroup
    start program = "/bin/bash /etc/init.d/monitoring1.sh start"
    stop program = "/bin/bash /etc/init.d/monitoring1.sh stop"
    if failed host localhost port 8090 type tcp with timeout 15 seconds for 5 cycles
      then restart

    /var/log/monit.log

    [UTC Jul 21 15:36:31] info     : 'ffmpeg' process is running with pid 17349
    [UTC Jul 21 15:36:31] debug    : 'ffmpeg' zombie check succeeded
    [UTC Jul 21 15:36:31] debug    : 'ffmpeg' connection test paused for 13 s while the process is starting
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' process is running with pid 17349
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' zombie check succeeded
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' succeeded testing protocol [DEFAULT] at [localhost]:8090 [TCP/IP] [response time 1.152 ms]
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' connection succeeded to [localhost]:8090 [TCP/IP]
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:43:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:43:02] debug    : Start Monitoring1: ffmpeg = 17421
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' started
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:43:32] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:43:32] debug    : Start Monitoring1: ffmpeg = 17430
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' started
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:44:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:44:02] debug    : Start Monitoring1: ffmpeg = 17436
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:03] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:03] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:04] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:05] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:06] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:07] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:08] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:09] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:10] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:11] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:12] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:13] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:14] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:15] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:16] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:17] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:18] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:19] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:20] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:21] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:22] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:23] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:24] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:25] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:26] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:27] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:28] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:29] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:30] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:31] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:32] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:32] error    : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17436
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:45:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:45:03] debug    : Start Monitoring1: ffmpeg = 17448
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:04] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:06] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:07] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:08] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:09] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:10] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:11] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:12] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:13] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:14] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:15] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:16] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:17] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:18] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:19] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:20] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:21] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:22] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:23] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:24] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:25] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:26] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:27] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:28] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:29] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:30] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:31] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:32] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:33] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:33] error    : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17448
  • Evolution #3587 : Intégrer le plugin upload HTML5 dans SPIP

    26 août 2017, par b b

    En lien avec #3582 mais j’hésite à attacher le ticket ci-présent au ticket roadmap. À noter qu’il existe aussi le super plugin bigup présenté par marcimat lors de la dernière party à Toulouse cf https://gitlab.com/magraine/bigup

  • Android java.lang.UnsatisfiedLinkError : android error for .so libraries

    14 septembre 2017, par Burak iren

    so libraries to my project for ffmpeg camera but I have got some errors when I load the library.

    I’m getting error like that "java.lang.UnsatisfiedLinkError : android" .

    My .so files directory is src-main-jniLibs-armeabi - so files. When I loading the so file gettting error I can’t load the so file. I have tried many answer but still going this error.

    If you want other config files I can load here.

    Error log is here also

    09-14 17:40:33.739 19728-20196/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #6
                                                  Process: com.leadtimeapp.io.internal.debug, PID: 19728
                                                  java.lang.RuntimeException: An error occurred while executing doInBackground()
                                                      at android.os.AsyncTask$3.done(AsyncTask.java:309)
                                                      at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
                                                      at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                      at java.lang.Thread.run(Thread.java:818)
                                                   Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.leadtimeapp.io.internal.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.leadtimeapp.io.internal.debug-2/lib/arm64, /data/app/com.leadtimeapp.io.internal.debug-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libjniavformat.so"
                                                      at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                                      at java.lang.System.loadLibrary(System.java:1076)
                                                      at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:586)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:540)
                                                      at com.googlecode.javacv.cpp.avformat.<clinit>(avformat.java:40)
                                                      at com.googlecode.javacv.cpp.avformat.av_register_all(Native Method)
                                                      at com.leadtimeapp.io.ffmpeg.NewFFmpegFrameRecorder.<clinit>(NewFFmpegFrameRecorder.java:302)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.initVideoRecorder(FFmpegRecorderActivity.java:464)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.access$1400(FFmpegRecorderActivity.java:66)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:368)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:360)
                                                      at android.os.AsyncTask$2.call(AsyncTask.java:295)
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                                                      at java.lang.Thread.run(Thread.java:818) 
                                                   Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.leadtimeapp.io.internal.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.leadtimeapp.io.internal.debug-2/lib/arm64, /data/app/com.leadtimeapp.io.internal.debug-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libavformat.so"
                                                      at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                                      at java.lang.System.loadLibrary(System.java:1076)
                                                      at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:577)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:540) 
                                                      at com.googlecode.javacv.cpp.avformat.<clinit>(avformat.java:40) 
                                                      at com.googlecode.javacv.cpp.avformat.av_register_all(Native Method) 
                                                      at com.leadtimeapp.io.ffmpeg.NewFFmpegFrameRecorder.<clinit>(NewFFmpegFrameRecorder.java:302) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.initVideoRecorder(FFmpegRecorderActivity.java:464) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.access$1400(FFmpegRecorderActivity.java:66) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:368) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:360) 
                                                      at android.os.AsyncTask$2.call(AsyncTask.java:295) 
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                                                      at java.lang.Thread.run(Thread.java:818) 
    09-14 17:40:34.168 19728-19790/? E/NativeCrypto: ssl=0x7f643ae900
    cert_verify_callback x509_store_ctx=0x7f76e3e1a0 arg=0x0
    09-14 17:40:34.168 19728-19790/? E/NativeCrypto: ssl=0x7f643ae900
    cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
    </clinit></clinit></clinit></clinit>

    My gradle is

    apply plugin: 'com.android.application'
    apply plugin: 'io.fabric'
    apply plugin: 'com.github.triplet.play'
    apply plugin: 'project-report'

    def buildVersionCode = new Date().format("yyMMddHHmm",
    TimeZone.getTimeZone("Europe/Istanbul")).toInteger()
    def buildVersionName = "1.1.2"
    def SupportVersion = '25.3.1'
    def OkHttpVersion = '3.2.0'
    def RetrofitVersion = '2.0.2'
    def FacebookVersion = '4.+'
    def GSonVersion = '2.6.2'

    android {

    compileSdkVersion 25
    buildToolsVersion "25.0.3"

    playAccountConfigs {
       defaultAccountConfig {
           ...
       }
    }

    defaultConfig {
       applicationId "...."
       resValue "string", "app_name", "..."
       resValue "string", "face_app_id", "...."
       minSdkVersion 16
       playAccountConfig = playAccountConfigs.defaultAccountConfig
       //noinspection OldTargetApi
       targetSdkVersion 25
       versionCode buildVersionCode
       versionName buildVersionName
       multiDexEnabled true
       renderscriptTargetApi 19
       renderscriptSupportModeEnabled true


    }

    signingConfigs {
       ....
    }

    lintOptions {
       abortOnError false        // true by default
       checkAllWarnings false
       checkReleaseBuilds false
       ignoreWarnings true       // false by default
       quiet true                // false by default
    }

    sourceSets {
       main.jni.srcDirs = []
       main.jniLibs.srcDirs = ['libs']
    }

    buildTypes {
       release {
           minifyEnabled true
           debuggable false
           signingConfig signingConfigs.release
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

           applicationVariants.all { variant ->
               variant.outputs.each { output ->
                   output.outputFile = new File(output.outputFile.parent,
                           output.outputFile.name.replace("-release", "-release-" + buildVersionName + "-" + buildVersionCode)
                   )
               }
           }
       }

       debug {
           debuggable true
           zipAlignEnabled true
           applicationIdSuffix ".debug"
       }

       productFlavors {
           arm7 {
               // in the future, ndk.abiFilter might also work
               ndk {
                   abiFilter 'armeabi-v7a'
               }
           }
           arm8 {
               ndk {
                   abiFilters 'arm64-v8a'
               }
           }
           arm {
               ndk {
                   abiFilter 'armeabi'
               }
           }
           x86 {
               ndk {
                   abiFilter 'x86'
               }
           }
           x86_64 {
               ndk {
                   abiFilter 'x86_64'
               }
           }
           mips {
               ndk {
                   abiFilters 'mips', 'mips64'
               }
           }
           universal {
               ndk {
                   abiFilters 'mips', 'mips64', 'x86', 'x86_64'
               }
           }
       }
    }

    lintOptions {
       abortOnError false
       checkReleaseBuilds false
       checkAllWarnings true
       htmlReport true
       htmlOutput file("lint-report.html")
       checkReleaseBuilds true

       disable 'MissingTranslation'
       disable 'UnusedResources'
       disable 'IconLauncherShape'
       disable 'GoogleAppIndexingApiWarning'
       disable 'SelectableText'
       error 'CommitTransaction'
       error 'InconsistentArrays'
       error 'Registered'
       error 'ManifestOrder'
    }

    }

    play {
    track = 'alpha'
    }

    dependencies {
    compile fileTree(dir: 'libs', include: ['.jar', '.so'])
    compile files('libs/javacpp.jar')
    compile files('libs/javacv.jar')

    compile project(':camera')
    compile project(':VideoRecorder')

    compile("com.android.support:appcompat-v7:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-v4'
       exclude group: 'com.android.support', module: 'support-annotations'
    }
    compile("com.android.support:cardview-v7:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-annotations'
    }
    compile("com.android.support:design:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-core-ui'
       exclude group: 'com.android.support', module: 'appcompat-v7'
       exclude group: 'com.android.support', module: 'support-v4'
    }
    compile("com.android.support:support-v4:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-media-compat'
       exclude group: 'com.android.support', module: 'support-compat'
    }
    compile('com.android.support:multidex:1.0.1') {
       exclude group: 'com.android.support', module: 'support-vector-drawable'
    }

    compile(group: 'org.bytedeco', name: 'javacv-platform', version: '1.3') {
       exclude group: 'org.bytedeco.javacpp-presets'
    }
    compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.2.1-1.3'
    compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.2.1-1.3', classifier: 'android-arm'

    compile "com.google.code.gson:gson:$GSonVersion"
    compile "com.squareup.okhttp3:okhttp:$OkHttpVersion"
    compile "com.squareup.retrofit2:retrofit:$RetrofitVersion"
    compile "com.facebook.android:facebook-android-sdk:$FacebookVersion"


    compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
       transitive = true;
    }
    compile('com.twitter.sdk.android:twitter:2.3.0@aar') {
       transitive = true;
    }
    compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'de.hdodenhof:circleimageview:2.0.0'
    compile 'com.wdullaer:materialdatetimepicker:2.3.0'
    compile 'com.github.zhaokaiqiang.klog:library:1.4.0'
    compile 'com.github.filippudak.progresspieview:library:1.0.4'
    compile 'com.daimajia.swipelayout:library:1.2.0@aar'
    compile 'com.amazonaws:aws-android-sdk-s3:2.4.7'
    compile 'io.paperdb:paperdb:1.5'
    compile 'org.greenrobot:eventbus:3.0.0'
    compile 'com.jakewharton:butterknife:8.4.0'
    compile 'com.flipboard:bottomsheet-core:1.5.0'
    compile 'com.flipboard:bottomsheet-commons:1.5.0'
    compile 'com.yqritc:android-scalablevideoview:1.0.4'
    compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
    compile 'com.google.android.gms:play-services-gcm:11.0.4'
    compile 'me.relex:circleindicator:1.1.8@aar'
    compile 'com.github.ihsanbal:scissors:1.1.3'
    compile 'org.zakariya.stickyheaders:stickyheaders:0.7.5'
    compile 'com.parse.bolts:bolts-android:1.4.0'
    compile 'com.parse:parse-android:1.15.8'
    compile 'com.getbase:floatingactionbutton:1.10.1'
    compile 'com.github.wooplr:Spotlight:1.2.3'
    compile 'com.adjust.sdk:adjust-android:4.7.0'
    compile 'com.google.android.gms:play-services-analytics:11.0.4'
    compile 'com.makeramen:roundedimageview:2.3.0'
    compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'
    compile 'com.github.castorflex.verticalviewpager:library:19.0.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
    compile 'jp.wasabeef:blurry:2.1.1'
    compile 'com.writingminds:FFmpegAndroid:0.3.2'

    }