Recherche avancée

Médias (91)

Autres articles (67)

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

  • La gestion des forums

    3 novembre 2011, par

    Si les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
    Accès à l’interface de modération des messages
    Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
    S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (4634)

  • What encoding settings for BlackBerry HTML5 streaming ?

    27 septembre 2012, par user1441859

    For several days I've been desperately trying to get my videos stream on BlackBerry as well as the major desktop and mobile browser.
    The videos are embedded in this way :

    <video preload="auto" controls="controls">
    <source src="url.mp4" type="video/mp4"></source>
    <source src="url.ogv" type="video/ogv"></source>
    //flash fallback
    </video>

    When opening the page in the BB browser the black video frame with the controls appears but when I try to play the video the frame stays black and displays an error message : "Video portion is of an unsupported format".
    Sound does play however.

    By now I have tried H.264 and mpeg4 with AAC audio and both of them don't play properly on my BB (OS version 6.0).
    I've been using ffmpeg to encode the files.

  • Need a workaround for error in xuggler todo with vorbis

    25 septembre 2012, par Chris

    I have been at this for days, I am using xuggler, the only version i can use is 3.4 because upto 4.4 writing to outputstream directly causes jvm crash.

    I need to encode audio using vorbis, however, when i run code which works with any other audio codec I get

    2012-09-25 13:54:16,578 [Thread-4] ERROR org.ffmpeg - [libvorbis @ 0308a010] libvorbis : buffer overflow.
    2012-09-25 13:54:16,578 [Thread-4] WARN com.xuggle.xuggler - error : avcodec_encode_audio failed (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:1586)

    I think a workaround for found for this is in later versions of StreamCoder.cpp

    if (mCodecContext->codec->id == CODEC_ID_FLAC
             || mCodecContext->codec->id == CODEC_ID_VORBIS)
     {
       // FLAC &amp; VORBIS audio for some reason gives an error if your output buffer isn&#39;t
       // over double the frame size, so we fake it here.  This could be further optimized
       // to only require an exact number, but this math is simpler and will always
       // be large enough.
       bufferSize = (64 + getAudioFrameSize() * (bytesPerSample + 1)) * 2;
     }

    But if I use the following code to make the IBuffer,

       int bufferSize = aCoder.getAudioFrameSize() * (aCoder.getBitRate());
       final byte[] audioBuf = new byte[bufferSize];
       //read audio bytes into audiobuf....

       buf = IBuffer.make(null, audioBuf, 0, (64 + aCoder.getAudioFrameSize() *    (aCoder.getBitRate() + 1)) * 2);
       System.out.println("afterbufmake");
       smp = IAudioSamples.make(buf,1,IAudioSamples.Format.FMT_S16);
               if (smp == null) {
                     System.out.println("smp == null");
                  // return;
               }

    smp always ends up null.

    Can anyone think of what might be happening with buffer overflow for just Vorbis and a workaround as I have only 3.4 version of Xuggler that works for what I need which is writing to outputstream.

    Thank you.

  • Using FFMpeg Video Frames From directories

    11 août 2017, par Peter Friedlander

    I have hundreds of folders containing video, audio, images.. which I need to create video thumbs foreach 10 seconds of video of every video file found (mp4/avi/mov/3gp) and placed in one location /thumbs/.

    I have this, which I’ve been trying to figure out for days.

    find . -exec ffmpeg -i {} -vf fps=1/8 {}.png \;

    or

    find /Users/media/Desktop/videoframes/input/  -regex ".*\.\(mp4\)" -print0 | while read -d $'\0' file;  do  ffmpeg -i $file -vf fps=1/8 ${file}%d.png done

    I know little about the syntax but want to learn more but Im stumped.

    Thanks !