Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (103)

  • 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

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (10137)

  • How to start a download when file is processing by a software

    13 février 2016, par thesweetiger

    I encode a file with a special watermark for be downlaoded by the user
    I would like to be able to start the downlaod when ffmpeg encode the file.

    I have a php page which one create the water mark , launch ffmpeg and start the download with X-sendifle
    The download don’t start, adding sleep(15) let’s the download start just I receive only what is done

    Actually I use Apache2 as the webserver with X-sendfile mod

  • Révision 22722 : report de https://core.spip.net/projects/spip/repository/revisions/22719 (Perf is...

    12 janvier 2016, par Fil Up
  • Path and bundle strings have different number of entries ; invalid manifest : xuggle-xuggler

    7 décembre 2013, par henrycharles

    I am new to multimedia.I want to make a project for live video chat in java. Googling around I found about Xuggler.I successfully downloaded all the jars given in this How do you install the latest version of Xuggler (5.4, as of 18/05/2013) in eclipse ? .

    enter image description here

    and tried executing sample code from http://www.javacodegeeks.com/2011/02/xuggler-tutorial-frames-capture-video.html I am not getting any compilation error but the following runtime error. Any help would be much appreciated.

    com.xuggle.ferry.JNIManifest - path and bundle strings have different number of entries ; invalid manifest : xuggle-xuggler

    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;

    import javax.imageio.ImageIO;

    import com.xuggle.mediatool.IMediaReader;
    import com.xuggle.mediatool.MediaListenerAdapter;
    import com.xuggle.mediatool.ToolFactory;
    import com.xuggle.mediatool.event.IVideoPictureEvent;
    import com.xuggle.xuggler.Global;

    public class ABC {

       public static final double SECONDS_BETWEEN_FRAMES = 10;

       private static final String inputFilename = "D://ab.mp4";
       private static final String outputFilePrefix = "c://snapshots//mysnapshot";

       // The video stream index, used to ensure we display frames from one and
       // only one video stream from the media container.
       private static int mVideoStreamIndex = -1;

       // Time of last frame write
       private static long mLastPtsWrite = Global.NO_PTS;

       public static final long MICRO_SECONDS_BETWEEN_FRAMES =
           (long)(Global.DEFAULT_PTS_PER_SECOND * SECONDS_BETWEEN_FRAMES);

       public static void main(String[] args) {




           IMediaReader mediaReader = ToolFactory.makeReader(inputFilename);

           // stipulate that we want BufferedImages created in BGR 24bit color space
           mediaReader.setBufferedImageTypeToGenerate(BufferedImage.TYPE_3BYTE_BGR);

           mediaReader.addListener(new ImageSnapListener());

           // read out the contents of the media file and
           // dispatch events to the attached listener
           while (mediaReader.readPacket() == null) ;

       }

       private static class ImageSnapListener extends MediaListenerAdapter {

           public void onVideoPicture(IVideoPictureEvent event) {

               if (event.getStreamIndex() != mVideoStreamIndex) {
                   // if the selected video stream id is not yet set, go ahead an
                   // select this lucky video stream
                   if (mVideoStreamIndex == -1)
                       mVideoStreamIndex = event.getStreamIndex();
                   // no need to show frames from this video stream
                   else
                       return;
               }

               // if uninitialized, back date mLastPtsWrite to get the very first frame
               if (mLastPtsWrite == Global.NO_PTS)
                   mLastPtsWrite = event.getTimeStamp() - MICRO_SECONDS_BETWEEN_FRAMES;

               // if it's time to write the next frame
               if (event.getTimeStamp() - mLastPtsWrite >=
                       MICRO_SECONDS_BETWEEN_FRAMES) {

                   String outputFilename = dumpImageToFile(event.getImage());

                   // indicate file written
                   double seconds = ((double) event.getTimeStamp()) /
                       Global.DEFAULT_PTS_PER_SECOND;
                   System.out.printf(
                           "at elapsed time of %6.3f seconds wrote: %s\n",
                           seconds, outputFilename);

                   // update last write time
                   mLastPtsWrite += MICRO_SECONDS_BETWEEN_FRAMES;
               }

           }

           private String dumpImageToFile(BufferedImage image) {
               try {
                   String outputFilename = outputFilePrefix +
                        System.currentTimeMillis() + ".png";
                   ImageIO.write(image, "png", new File(outputFilename));
                   return outputFilename;
               }
               catch (IOException e) {
                   e.printStackTrace();
                   return null;
               }
           }

       }

    }