Recherche avancée

Médias (91)

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.

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

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

Sur d’autres sites (6089)

  • Using Xuggler to detect Webcam with Java

    18 octobre 2012, par Oneiros

    I'm trying to use Xuggler library to handle webcam video stream in Java.

    My project contains these files :

    • Xuggler Jar (xuggle-xuggler-5.4.jar)
    • SLF4J Jars (required by Xuggler and downloadable here) :
      • jcl-over-slf4j-1.6.4.jar
      • jul-to-slf4j-1.6.4.jar
      • log4j-over-slf4j-1.6.4.jar
      • slf4j-api-1.6.4.jar
      • slf4j-ext-1.6.4.jar
      • slf4j-migrator-1.6.4.jar
      • slf4j-simple-1.6.4.jar
    • DisplayWebcamVideo.java as main class

    I run the main method using "vfwcap" and "0" as arguments.
    Application starts correctly, i can see myself from the webcam but it's just the first frame : the stream freezes and i see this output :

    5022 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 75% full! frame dropped!

    5622 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 85% full! frame dropped!

    6522 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 95% full! frame dropped!

    6822 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 101% full! frame dropped!

    6822 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 101% full! frame dropped!

    What's the problem here ? :(

  • Using FFMPEG in Java (developing on Mac)

    1er mai 2012, par Luuk D. Jansen

    I am trying to evoke FFMPEG directly in my Java code (running under the Playframework !).
    The final product will run on a Linux/Debian distro, but I first need to test on my Mac (I don't know if it works on Debian yet).

    I try to execute the simple code :

    Process pr = Runtime.getRuntime().exec(new String[]{"bash","-c", "ffmpeg"});

    or simpler :

    Process pr = Runtime.getRuntime().exec("ffmpeg")

    or using ProcessBuilder :

    Process pr = new ProcessBuilder("/opt/local/bin/ffmpeg").start();

    What I get is an error code 133, but I cannot find what this means.
    In the terminal the command gives the normal output. I can also replace 'ffmpeg' with e.g. 'ls -la' and get the directory listing. But I don't know what the problem is that ffmpeg does not work.

    Anybody any clues ?
    Thanks !

    UPDATE :
    I looked at the error stream. These are the errors I get. How is it that it works in the terminal, but not in using Java ?

    14:43:19,619 DEBUG ~ FFMPEG: dyld: Library not loaded: /opt/local/lib/libogg.0.dylib
    14:43:19,619 DEBUG ~ FFMPEG:   Referenced from: /opt/local/bin/ffmpeg
    14:43:19,619 DEBUG ~ FFMPEG:   Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0
  • how to extract audio from video with xuggler in Java ?

    24 juin 2013, par Syed Sabhi Xaidi

    Actually i am extracting mp3 from flv it makes the mp3 file but with 0kb so please tell me what i do ?

    public class sasas

    public static void main(String[] args) {
       IMediaReader reader = ToolFactory.makeReader("D:/frames/mk.flv");

       IMediaWriter writer = ToolFactory.makeWriter("D:/frames/as.mp3",reader);

       int sampleRate = 44100;
       int channels = 1;
       writer.addAudioStream(0, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);

       while (reader.readPacket() == null);

          }