Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (39)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (3527)

  • Merge pull request #35 from j0k3r/composer-validation

    22 février 2016, par Grandt
    Merge pull request #35 from j0k3r/composer-validation
    

    Fix composer.json validation

  • Revision fe74c4286a : Rename quantize_sse2_intrinsics.c The only reason for the _intrinsics part of t

    24 avril 2013, par Johann

    Changed Paths :
     Add /vp8/encoder/x86/quantize_sse2.c
    (from /vp8/encoder/x86/quantize_sse2_intrinsics.c
    :f71e5246f214353fea1d14a1d10fcc38859db58d)
     Delete /vp8/encoder/x86/quantize_sse2_intrinsics.c


     Modify /vp8/vp8cx.mk



    Rename quantize_sse2_intrinsics.c

    The only reason for the _intrinsics part of the file name was for the
    interim period where only one of the functions was redone and the base
    file name was the same.

    Change-Id : I7851154f1633d48821bee885b1cadb2148e65a23

  • Trim video length in Android with javacv and ffmpeg

    11 juillet 2017, par Morya Yaroslav

    I’m trying to trim video length with ffmpeg implementation of FrameGrabber and FrameRecorder, but getting corrupted file of smaller size then it’s going to be. Maybe there is other way to trim video from start time to end time, also updating trim progress. Seems like it’s not recording changes between frames. Maybe there are some other ways to trim videos of different formats like mp4, flv and others. Here is code snippet :

           FrameGrabber grabber = new FFmpegFrameGrabber(mClip.getPath());
           grabber.start();
           grabber.setTimestamp(mClip.getClipStartMs()); // Write from specific moment

           File out = new File(mClip.getOutPutPath(params[0])); // Set destination to write
           FrameRecorder recorder = new FFmpegFrameRecorder(out, grabber.getImageWidth(), grabber.getImageHeight());


           recorder.setFormat(grabber.getFormat());
           recorder.setFrameRate(grabber.getFrameRate());
           recorder.setSampleRate(grabber.getSampleRate());
           recorder.setAspectRatio(grabber.getAspectRatio());
           recorder.setSampleFormat(grabber.getSampleFormat());

           recorder.setAudioCodec(grabber.getAudioCodec());
           recorder.setAudioBitrate(grabber.getAudioBitrate());
           recorder.setAudioChannels(grabber.getAudioChannels());

           recorder.setVideoCodec(grabber.getVideoCodec());
           recorder.setVideoBitrate(grabber.getVideoBitrate());

           recorder.start();

           Frame frame;
           Long timestamp;
           Long fullLength = mClip.getClipEndMs() - mClip.getClipStartMs();
           double percent = 0d, oldPercent = 0d;

           while ((frame = grabber.grabFrame()) != null && (timestamp = grabber.getTimestamp()) <= mClip.getClipEndMs()) {
               Log.d(ASYNC_SAVE_TAG, "Started command : ffmpeg " + mClip.toString());

               if (timestamp != 0d) {
                   oldPercent = percent;
                   percent = timestamp.doubleValue() / fullLength.doubleValue();
                   if (MathUtil.compare(percent, oldPercent) != 0) {
                       publishProgress(percent);
                   }
               }

               recorder.setTimestamp(grabber.getTimestamp() - mClip.getClipStartMs());
               recorder.record(frame);
           }

           grabber.close();
           recorder.close();