Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (11)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (2803)

  • Compress Videos using FFMPEG and JNI

    1er octobre 2014, par Mr.G

    I want to create an android application which can locate a video file (which is more than 300 mb) and compress it to lower size mp4 file.

    i already tried to do it with this

    This tutorial is a very effective since you ’re compressing a small size video (below than 100 mb)

    So i tried to implement it using JNI .

    i managed to build ffmpeg using this

    But currently what I want to do is to compress videos . I don’t have very good knowledge on JNI. But i tried to understand it using following link

    If some one can guide me the steps to compress video after open file it using JNI that whould really great , thanks

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

       }

    }
  • Encoder (codec none) not found for output stream #0:1 [on hold]

    16 novembre 2013, par Gururak

    Hi i built ffmpeg executable on Redhat5. I want to mix two Audio using the command multiple
    "ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT.mp3".

    I enabled libflamemp3 library without any error.

    [root@localhost ~]# ffmpeg -i /root/media/Katlalli.mp3 -i /root/media/Katlalli.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=2 /root/media/OUTPutnew123.mp3
    ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 14 2013 03:17:10 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-46)
     configuration: --enable-libmp3lame
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    [mp3 @ 0x193ef240] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from '/root/media/Katlalli.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
     Duration: 00:04:41.46, start: 0.000000, bitrate: 191 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc), 200x200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    [mp3 @ 0x194090a0] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from '/root/media/Katlalli.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
     Duration: 00:04:41.46, start: 0.000000, bitrate: 191 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
       Stream #1:1: Video: mjpeg, yuvj420p(pc), 200x200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    File '/root/media/OUTPutnew123.mp3' already exists. Overwrite ? [y/N] y
    Output #0, mp3, to '/root/media/OUTPutnew123.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp (default)
       Stream #0:1: Video: none, q=2-31, 128 kb/s, 90k tbn
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    Stream mapping:
     Stream #0:0 (mp3) -> amix:input0
     Stream #1:0 (mp3) -> amix:input1
     amix -> Stream #0:0 (libmp3lame)
     Stream #0:1 -> #0:1 (mjpeg -> ?)
    Encoder (codec none) not found for output stream #0:1

    But when i try to combine two mp3 audio,
    "ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT.mp3".

    I am getting error like

    "Encoder (codec none) not found for output stream #0:1"

    so please help me how to link or install "libmp3flame" on Redhat5.