Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (63)

  • 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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (5503)

  • Core : core.js, methods.js, Fix for #1567 - jquery-validation ignores data obj when validating, incorrectly returning previous status

    11 septembre 2015, par christopherbauer
    Core : core.js, methods.js, Fix for #1567 - jquery-validation ignores data obj when validating, incorrectly returning previous status
    

    This change determines if either the validated element’s value OR one of the data properties has changed before aborting the remote request. If your remote validation is skipped due to being dependent on the value of another field, this fixes that issue.

  • ffmpegframerecorder no audio output stream

    10 février 2015, par Sanjay Rapolu

    im trying to combine set of images and audio into one video file
    but whenever I try to record a frame of audio on to the ffmpegframerecorder,it gives the error ffmpegframerecorderexception no audio output stream.can anyone please help me with this problem ?

    public void newrecording()
    {
       try {

           Log.d("Record",
                   "Environment.getExternalStorageDirectory().getPath()  : "
                           + path);
           File folder = new File(path);
           FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path1
                   + "/"+System.currentTimeMillis()+".mp4",200,150);
           //recorder.setVideoCodec(5);
           recorder.setVideoCodec(13); // CODEC_ID_MPEG4 //CODEC_ID_MPEG1VIDEO
           // //http://stackoverflow.com/questions/14125758/javacv-ffmpegframerecorder-properties-explanation-needed

           recorder.setFrameRate(100); // This is the frame rate for video. If
           // you really want to have good video
           // quality you need to provide large set
           // of images.
           recorder.setPixelFormat(0); // PIX_FMT_YUV420P

           recorder.start();

           File[] listOfFiles = folder.listFiles();
           String files = "";

           if (listOfFiles.length > 0)
           {

               for (int j = 0; j < listOfFiles.length; j++) {
                   if (listOfFiles[j].isFile()) {
                       files = listOfFiles[j].getName();
                       System.out.println(" j " + j + listOfFiles[j]);
               String[] tokens = files.split("\\.(?=[^\\.]+$)");
                       String name = tokens[0];
                       if(tokens[1].compareTo("jpg")==0)
                       {
                           Frame frame1= null;
                           Frame frame2=null;
                           FrameGrabber grabber2 = new FFmpegFrameGrabber(path1+"/audio1.mp3");
                           FrameGrabber grabber1 = new FFmpegFrameGrabber(path + File.separator + name + ".jpg");
                           grabber1.start();
                           grabber2.start();
                           while ((frame1 = grabber1.grabFrame()) != null ||
                                   (frame2 = grabber2.grabFrame()) != null) {
                               recorder.record(frame1);
                               recorder.record(frame2);
                               System.out.println("after recording of frame for "+ j+"th time");

                           }
                           grabber1.stop();
                           grabber2.stop();

                       }
                   }

               }


           }          
           recorder.stop();

       } catch (Exception e) {
           Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_SHORT).show();
           e.printStackTrace();
       }

    }

    }

  • Importing a part of a project in Eclipse

    10 mars 2015, par Arif Gencosmanoglu

    On Eclipse, I imported FFmpeg as a project to reduce a selected video sizes for my android application. But my .apk size went up from 2MB to 24MB.

    This project includes a lot of extra properties for video editing. However I use only one single command line to reduce my video resolution. The code I added :

    LoadJNI vk = new LoadJNI();
                       try {
                           String workFolder = getApplicationContext()
                                   .getFilesDir().getAbsolutePath();

                           String[] complexCommand = {
                                   "ffmpeg",
                                   "-y",
                                   "-i",
                                   "/storage/emulated/0/DCIM/Camera/20150224_125355.mp4",
                                   "-strict", "experimental", "-s", "160x120",
                                   "-r", "25", "-vcodec", "mpeg4", "-b", "150k",
                                   "-ab", "48000", "-ac", "2", "-ar", "22050",
                                   "/storage/emulated/0/TempFolder/out.mp4" };
                           vk.run(complexCommand, workFolder,
                                   getApplicationContext());

                           Log.i("test", "ffmpeg4android finished successfully");
                       } catch (Throwable e) {
                           Log.e("test", "vk run exception.", e);
                       }

    To sum up, is there a way to import a portion of a project (as a module maybe) ? or do I have to find another method to reduce my video size ?