Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

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

Sur d’autres sites (3796)

  • Java Runtime Command with disrupt/additonal command

    11 juin 2014, par oneofakind

    Actually the example below is not what I want to do, its sort of related to what I really wanna do. Its basically having to execute a shell command or a cmd command and executing another command relating to the first command. Somehow it stops/proceeds/respond to the first command executed.

    It’s actually ffmpeg execution what I wanna do, recording the screen. Problem is that I cannot execute a "q" key to stop the recording. Example above is sort of a simple, but I hope applicable, to my main problem.

    Here is the simplified problem :

    StringBuffer output = new StringBuffer();
    String domainName = "google.com";
    String command = "ping -t " + domainName;
    Process p;
    try {
       p = Runtime.getRuntime().exec(command);
       p.waitFor();
       BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));

                   String line = "";          
       while ((line = reader.readLine())!= null) {
           output.append(line + "\n");
       }

    } catch (Exception ec) {
       ec.printStackTrace();
    }


    System.out.println(output);

    What will happen here is that it will ping endlessly unless interrupted to end the ping, what will happen to the code is that it will get stuck in the line :

    p.waitFor();

    That is because, I believe, it is waiting for the command to finish before it releases it. What I want to do is to execute a "ctrl+C" or command that will stop this execution and then manipulate the result continuing through

    BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
    ........
    ........

    I hope you guys got what I am trying to say. :D

    Please help. Thanks.

  • Extract audio from video in mp3 format using android-ffmpeg-library

    28 mai 2014, par user2870161

    I want extrat audio from any type of video file and save it in mp3 format using android-ffmpeg-library.

    My most of work is done here i am create wav file using this code but problame is when i create mp3 file it make only 0kb file in sdcard.

    I hope I’ve made myself clear, and thanks for taking the time to read this.

       if (inputPath == null || outputPath == null) {
           throw new IllegalStateException("Need an input and output filepath!");
       }  

       final List<string> cmd = new LinkedList<string>();


       String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath();
       String fileName = "3.mp4";
       String fileName1 = "2.mp3";

       String path  = baseDir + "/" + fileName;
       String path1  = baseDir + "/" + fileName1;

         File f = new File(path);

         if(f.exists()){
             System.out.println("File existed");
         }else{
             System.out.println("File not found!");
         }

         cmd.add(mFfmpegPath);
         cmd.add("-i");
         cmd.add(path);

         cmd.add("-vn");
         cmd.add("-acodec");
         cmd.add("copy");

         cmd.add(path1);








       final ProcessBuilder pb = new ProcessBuilder(cmd);
       return new ProcessRunnable(pb);
    </string></string>
  • Why ffmpeg C - API Doxygen document using c++ style of namespace for structure

    25 décembre 2018, par Vencat

    I’m new to ffmpeg C-API and learning it from doxygen document in official site. I hope the document explains about ffmpeg C-API, but I have seen some c++ style of class and namespace in it, for example please refer the below document part, where they are using c++ style of namespace for c structure.

    AVClass Struct Reference :

    https://ffmpeg.org/doxygen/trunk/structAVClass.html#details

    can anyone clear this to me.?