Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (74)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8568)

  • Working Directory : null Environment : null when trying to call compiled FFMPEG in android

    10 janvier 2013, par TharakaNirmana

    I have the compiled FFMPEG file. I try to combine an image and an audio clip to form a video clip. Function to combine those two are : ffmpeg -i /mnt/sdcard/KaraokeVideos/allmapeople.mp3 -i /mnt/sdcard/KaraokeVideos/Penguins.jpg /mnt/sdcard/KaraokeVideos/video_finale.mpg.

    I have used that in the code :

    public class MainActivity extends Activity {

       private Process process;
       String command, text;

       // load the library - name matches jni/Android.mk-jj
       //static {

           //System.loadLibrary("ffmpeg");
       //}



       @Override
       public void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);
           try {
               Execute();
           } catch (IOException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }


       }

       private void Execute() throws IOException {
           // TODO Auto-generated method stub

           Process p = Runtime.getRuntime().exec("ffmpeg -i /mnt/sdcard/KaraokeVideos/allmapeople.mp3 -i /mnt/sdcard/KaraokeVideos/Penguins.jpg /mnt/sdcard/KaraokeVideos/video_finale.mpg");
           p.getInputStream();
       }

    But I get this exception in logcat :

    01-10 18:44:24.209: W/System.err(31790): java.io.IOException: Error running exec(). Command: [ffmpeg, -i, /mnt/sdcard/KaraokeVideos/allmapeople.mp3, -i, /mnt/sdcard/KaraokeVideos/Penguins.jpg, /mnt/sdcard/KaraokeVideos/video_finale.mpg] Working Directory: null Environment: null
    01-10 18:44:24.239: W/System.err(31790):    at java.lang.ProcessManager.exec(ProcessManager.java:211)
    01-10 18:44:24.239: W/System.err(31790):    at java.lang.Runtime.exec(Runtime.java:168)
    01-10 18:44:24.239: W/System.err(31790):    at java.lang.Runtime.exec(Runtime.java:241)
    01-10 18:44:24.249: W/System.err(31790):    at java.lang.Runtime.exec(Runtime.java:184)
    01-10 18:44:24.249: W/System.err(31790):    at com.mindtherobot.samples.ndkfoo.MainActivity.Execute(MainActivity.java:47)
    01-10 18:44:24.259: W/System.err(31790):    at com.mindtherobot.samples.ndkfoo.MainActivity.onCreate(MainActivity.java:35)
    01-10 18:44:24.259: W/System.err(31790):    at android.app.Activity.performCreate(Activity.java:4465)
    01-10 18:44:24.269: W/System.err(31790):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
    01-10 18:44:24.269: W/System.err(31790):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1919)
    01-10 18:44:24.269: W/System.err(31790):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1980)
    01-10 18:44:24.289: W/System.err(31790):    at android.app.ActivityThread.access$600(ActivityThread.java:122)
    01-10 18:44:24.289: W/System.err(31790):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1146)
    01-10 18:44:24.299: W/System.err(31790):    at android.os.Handler.dispatchMessage(Handler.java:99)
    01-10 18:44:24.309: W/System.err(31790):    at android.os.Looper.loop(Looper.java:137)
    01-10 18:44:24.309: W/System.err(31790):    at android.app.ActivityThread.main(ActivityThread.java:4340)
    01-10 18:44:24.319: W/System.err(31790):    at java.lang.reflect.Method.invokeNative(Native Method)
    01-10 18:44:24.319: W/System.err(31790):    at java.lang.reflect.Method.invoke(Method.java:511)
    01-10 18:44:24.329: W/System.err(31790):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    01-10 18:44:24.339: W/System.err(31790):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    01-10 18:44:24.339: W/System.err(31790):    at dalvik.system.NativeStart.main(Native Method)
    01-10 18:44:24.359: W/System.err(31790): Caused by: java.io.IOException: Permission denied
    01-10 18:44:24.359: W/System.err(31790):    at java.lang.ProcessManager.exec(Native Method)
    01-10 18:44:24.369: W/System.err(31790):    at java.lang.ProcessManager.exec(ProcessManager.java:209)
    01-10 18:44:24.379: W/System.err(31790):    ... 19 more
    01-10 18:44:24.699: D/gralloc_goldfish(31790): Emulator without GPU emulation detected.

    What is wrong here, any help would be great !

  • Revision 99f8bd72cb : Alter partition search at image edge. Added code to reduce the minimum partitio

    17 juin 2015, par paulwilkins

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Alter partition search at image edge.

    Added code to reduce the minimum partition size searched
    for super blocks at or straddling the edge of the image.

    If the first pass has detected formatting bars the "active" edge
    may not be the real edge.

    Change-Id : I9c4bdd1477e60f162a75fac95ba6be7c3521e05c

  • Anomalie #2947 (Fermé) : Ergonomie des Statistiques

    30 juin 2015, par b b

    Super, merci pour le retour, on ferme :)