Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (29)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6845)

  • java.lang.UnsatisfiedLinkError : Couldn't load ffmpeg library findLibrary returned null

    22 février 2017, par Muthukumar Subramaniam

    I am new to live streaming from android to youtube in android. I mentioned my Project Structrue and build the gradle file in android. FFmpeg library could not load in runtime.

    Note : I am working in windows 10 and android studio 2.1.2

       apply plugin: 'com.android.application'

    android {
       compileSdkVersion 23
       buildToolsVersion "23.0.1"

       packagingOptions {
           exclude 'META-INF/DEPENDENCIES'
           exclude 'META-INF/NOTICE'
           exclude 'META-INF/NOTICE.txt'
           exclude 'META-INF/LICENSE'
           exclude 'META-INF/LICENSE.txt'
       }

       defaultConfig {
           applicationId "com.ephron.mobilizerapp"
           minSdkVersion 14
           targetSdkVersion 23
           versionCode 1
           versionName "1.4"
           multiDexEnabled true
       }
       dexOptions {
           javaMaxHeapSize "4g"
       }


       buildTypes {
           release {
               minifyEnabled false
               proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
           }
       }
       sourceSets {
           main {
               assets.srcDirs = ['src/main/assets', 'src/main/assets/']

           }
       }
       sourceSets { main {
           jni.srcDirs = ['src/main/jni', 'src/main/jni/libs']
           jni.srcDirs = ['libs']
           jni.srcDirs = []
       } }
    }

    dependencies {
       testCompile 'junit:junit:4.12'
       compile files('libs/httpclient-4.5.2.jar')
       compile files('libs/httpcore-4.4.4.jar')
       compile files('libs/httpmime-4.2.1.jar')
       compile files('libs/YouTubeAndroidPlayerApi.jar')
       compile 'com.android.support:appcompat-v7:23.1.0'
       compile 'com.google.android.gms:play-services:10.0.1'
       compile 'com.google.code.gson:gson:2.2.2'
       compile 'com.google.firebase:firebase-messaging:9.2.0'
       compile 'testfairy:testfairy-android-sdk:1.+@aar'
       compile 'com.android.support:multidex:1.0.0'
       compile 'com.mcxiaoke.volley:library:1.0.19'
       compile 'com.squareup.picasso:picasso:2.5.2'
       compile 'cn.aigestudio.wheelpicker:WheelPicker:1.1.2'
       compile 'com.google.android.gms:play-services-maps:10.0.1'
       compile 'com.google.apis:google-api-services-youtube:v3-rev182-1.22.0'
       compile 'com.google.api-client:google-api-client-android:1.22.0'
       compile 'com.google.http-client:google-http-client-gson:1.19.0'
       compile 'com.google.android.gms:play-services-ads:10.0.1'
       compile 'com.google.android.gms:play-services-auth:10.0.1'
       compile 'com.google.android.gms:play-services-gcm:10.0.1'
       compile files('libs/ffmpeg-android.jar')
    }
    apply plugin: 'com.google.gms.google-services'

    My Project Structure mentioned below Link

    https://www.screencast.com/t/E0TFsMUi1

    Application.mk file

       APP_OPTIM := release
    APP_ABI := all
    APP_STL := gnustl_static
    APP_CPPFLAGS := -frtti -fexceptions

    Android.mk file

      #
    # Copyright (c) 2014 Google Inc.
    #
    # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
    # in compliance with the License. You may obtain a copy of the License at
    #
    # http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software distributed under the License
    # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
    # or implied. See the License for the specific language governing permissions and limitations under
    # the License.


    # set NDK_PROJECT_PATH := D:/MobilizerApp/app/src/main/jni

    WORKING_DIR := $(call my-dir)

    include $(CLEAR_VARS)
    LOCAL_PATH := $(WORKING_DIR)/../third_party/lame/libmp3lame
    LOCAL_MODULE    := lame
    LOCAL_C_INCLUDES := $(WORKING_DIR)/../third_party/lame/libmp3lame \
                       $(WORKING_DIR)/../third_party/lame/include
    LOCAL_CFLAGS := -DSTDC_HEADERS -std=c99
    LOCAL_ARM_MODE := arm
    APP_OPTIM := release

    LOCAL_SRC_FILES := VbrTag.c \
                      bitstream.c \
                      encoder.c \
                      fft.c \
                      gain_analysis.c \
                      id3tag.c \
                      lame.c \
                      mpglib_interface.c \
                      newmdct.c \
                      presets.c \
                      psymodel.c \
                      quantize.c \
                      quantize_pvt.c \
                      reservoir.c \
                      set_get.c \
                      tables.c \
                      takehiro.c \
                      util.c \
                      vbrquantize.c \
                      version.c


    #include $(BUILD_STATIC_LIBRARY)

    include $(BUILD_STATIC_LIBRARY)

    #include $(CLEAR_VARS)
    #LOCAL_MODULE  := mp3lame_a
    #LOCAL_STATIC_LIBRARIES := lame

    #include $(BUILD_EXECUTABLE)

    include $(CLEAR_VARS)
    LOCAL_PATH := $(WORKING_DIR)
    LOCAL_MODULE    := ffmpeg
    LOCAL_CFLAGS := -DHAVE_AV_CONFIG_H -std=c99 -D__STDC_CONSTANT_MACROS -DSTDC_HEADERS -Wno-deprecated-declarations
    LOCAL_SRC_FILES := ffmpeg-jni.c
    LOCAL_C_INCLUDES := $(WORKING_DIR)/libavcodec $(WORKING_DIR)/libavcodec/arm $(WORKING_DIR)/libavformat $(WORKING_DIR)/libavutil $(WORKING_DIR)/libavutil/arm

    LOCAL_STATIC_LIBRARIES := lame

    LOCAL_LDLIBS := -llog -lm -lz $(WORKING_DIR)/../third_party/lib/libavformat.a $(WORKING_DIR)/../third_party/lib/libavcodec.a $(WORKING_DIR)/../third_party/lib/libavfilter.a $(WORKING_DIR)/../third_party/lib/libavresample.a $(WORKING_DIR)/../third_party/lib/libswscale.a $(WORKING_DIR)/../third_party/lib/libavutil.a $(WORKING_DIR)/../third_party/lib/libx264.a $(WORKING_DIR)/../third_party/lib/libpostproc.a $(WORKING_DIR)/../third_party/lib/libswresample.a $(WORKING_DIR)/../third_party/lib/libfdk-aac.a

    APP_OPTIM := release

    include $(BUILD_SHARED_LIBRARY)

    FFMPEG.Java

    package com.ephronsystem.mobilizerapp;


    public class Ffmpeg {


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

       public static native boolean init(int width, int height, int audio_sample_rate, String rtmpUrl);

       public static native void shutdown();

       // Returns the size of the encoded frame.
       public static native int encodeVideoFrame(byte[] yuv_image);

       public static native int encodeAudioFrame(short[] audio_data, int length);
    }
  • Color matching by color mapping using feature detection

    22 mai 2018, par Fabien Biller

    My goal is to match colors of two videos filming the same scene at slightly different positions. For this purpose, I created an algorithm that searches for corresponding features in one matching still frame of both videos. I then normalized the color relationships of the matching pixels

    (r-value + 1) / 256
    (g-value + 1) / 256
    (b-value + 1) / 256

    and converted them into curves as in

    curves=r='0.1/0.2 ...':g=....'

    Yet the result is rubbish.

    I need to actually tell ffmpeg with a number of rgb-values : "This rgb-value is to be this rgb-value" and not separately map each red value of for instance 66 to 22, but map each 66-22-18 to 44-77-123. The missing mappings should be interpolated.

    Or can a list of

    Color1 maps to Color2

    be converted into curves or similar ?

  • Kaleidoscope-like video, what happened ? [closed]

    11 avril 2012, par ghost

    I have used dolphin-player (http://code.google.com/p/dolphin-player/), it is based on ffplay with libsdl, all movies are in 3 pictures like these these.

    can anyone know what the problem is, and how to repair it in code ?
    (Source code here)