Recherche avancée

Médias (91)

Autres articles (23)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (7287)

  • 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();
  • ffmpeg produces mp4 I cannot load on latest Safari on iOS

    28 mars 2016, par Michael Heuberger

    When I encode a video with these ffmpeg parameters (based on images), I cannot play that mp4 it produces on latest Safari (inside a tag) inside my iPhone 6s using the latest iOS too :

    ffmpeg
    -r 15.279071668502123
    -f image2 -thread_queue_size 64
    -i /home/michael-heuberger/abcd/frames/%d.webp
    -y
    -an
    -vcodec libx264
    -vf scale=trunc(iw/2)*2:trunc(ih/2)*2
    -crf 16
    -preset fast
    -profile:v baseline
    -pix_fmt yuv420p
    -loglevel warning
    -movflags faststart
    /home/michael-heuberger/abcd/videomail_good.mp4

    I think the above parameters should be solid. I am adding baseline and yuv420p, yet no luck on Safari 9. Why ?

    This makes it difficult for me to play videomails recorded on www.videomail.io on iOS devices.

    Am I missing something here ? Already did lots of research and tried various combinations, no luck.

    If you want to reproduce that, easy : just record a video on www.videomail.io and after that, copy the link of the recorded video page to your iPhone or just download it for local investigation.

    Any clues very welcome !

  • Revision 3555 : Début de tests sur les streams (icecast) fonctionne uniquement sur Safari ...

    8 juin 2010, par kent1 — Log

    Début de tests sur les streams (icecast) fonctionne uniquement sur Safari (5) pour les streams mp3 sans extensions Exemple : http://spip.arscenic.tv/news/article/test-radio