Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (36)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • 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

Sur d’autres sites (5391)

  • Java - handing file deletion

    2 janvier 2016, par QQMusic

    So I am using the youtube-dl command line program within Java with simple command line execute function and coupling it with ffmpeg to convert to mp3. Now the thing I am having trouble with it the fact that after I get the .mp4 file from youtube-dl, when I convert it into a .mp3, it will create a completely separate file.

    So the way it is now :

    1. Get `.mp4`
    2. Get `.mp3`
    3. delete `.mp4'

    The issue I am facing now is that if the user was to stop the program while it was between step 1 and step 2, then they would be left with the .mp4 file which is not wanted. So is there a way to delete certain files once the user exits the process, whether it being from safely ending the program (this one should be easy), ending the process, or closing the computer ?

  • What is wrong part in my Android code with ffmpeg ?

    6 janvier 2016, par Marko androshenko

    I want to get mixed video.(Image + Video)
    Total duration of original video is 180 sec. I want to put image to the front of video. So, I made some code in android studio.
    But I can not look any toast.
    What is wrong ? How to check the end of process ?

    ...
    path = "libray folder" ;
    ...

       private class ProcessVideo extends AsyncTask {
               @Override
               protected Void doInBackground(Void... params) {

                   Process ffmpegProcess = null;

                   try {
             // initialize command for process video
                 // library is video process library.
                       String[] command ={path,"-i", input, "-r", "1", "-q:v", "2", "-f", "image", input};


                       ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();

                       OutputStream ffmpegOutStream = ffmpegProcess.getOutputStream();
                       BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));

                       String line;

                       Log.v(THISTAG,"***Starting FFMPEG***");
                       while ((line = reader.readLine()) != null)
                       {
    // in progress
                           Log.v(THISTAG,"***"+line+"***");
                       }
    // finish all process
                       Log.v(THISTAG,"***Ending FFMPEG***");
                       videoProcessFinishFlag = true;

                   } catch (IOException e) {
                       e.printStackTrace();
                   }

                   if (ffmpegProcess != null) {
                       ffmpegProcess.destroy();
                   }
                   return null;
               }

               protected void onPostExecute(Void... result) {
    // show result
                  Toast toast = Toast.makeText(VideoEditorActivity.this, "Done Processing Video", Toast.LENGTH_LONG);
                   toast.show();
               }
           }
  • Efficiently streaming a remote file into ffmpeg

    17 janvier 2016, par YZats

    My use case requires transcoding a remote MOV file that can’t be stored locally. I was hoping to use http protocol to stream the file into ffmpeg. This works, but I’m observing this to be a very expensive operation with (seemingly) redundant network traffic, so am looking for suggestions.

    What I see is that ffmpeg starts out with a Range request “0-“ (which brings in the entire file), followed by a number of open-ended requests (no ending offset) at different positions, each of which makes the http server return large chunks of the file again and again, from the starting position to the very end.

    For example, http range requests for a short 10MB file look like this :

    bytes=0-  
    bytes=10947419-
    bytes=36-
    bytes=3153008-
    bytes=5876422-

    Is there another input method that would be more network-efficient for my use case ? I control the server where the video file resides, so I’m flexible in what code runs there.

    Any help is greatly appreciated