Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (11406)

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

  • Unknown encoder 'libfaac' ubuntu 12.04 and ruby on rails 3

    5 novembre 2013, par hyperrjas

    I'm using carrierwave-video to upload video with my ruby on rails app. But I have this problem when try enconde the video :

    Unknown encoder 'libfaac'

    Errors: no output file created.

    I have tried with :

    sudo apt-get install libfaac-dev

    but I get the same error.

    Updated :

    After compile ffmpeg, I get the same error :

    Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       creation_time   : 2011-10-13 18:54:50
       encoder         : HandBrake 0.9.5 2011010300
     Duration: 00:06:43.28, start: 0.000000, bitrate: 380 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x600 [SAR 1:1 DAR 8:5], 279 kb/s, 9.25 fps, 25 tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2011-10-13 18:54:50
         handler_name    :
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 97 kb/s
       Metadata:
         creation_time   : 2011-10-13 18:54:50
         handler_name    :
    Please use -q:a or -q:v, -qscale is ambiguous
    Unknown encoder 'libfaac'

    Errors: no output file created.