Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (14)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (5427)

  • Video stream delayed on wowza server and quality is very low from ffmpeg

    13 juin 2013, par tulsi

    Form ffmpeg i fired some command to run video on wowza server

    ffmpeg -i /home/Downloads/GAmUk.mp4  -f mpegts udp:/ip:10000/live/test.stream

    and streaming is running as well only problem is latency not so good its played after long time on server please help me to play fast

  • Unable to execute CLI commands through PHP

    13 janvier 2012, par user940154

    OS : ubuntu 11.10
    Webserver : Apache
    Code : PHP
    I am trying to display the output of command "ffmpeg -i " on the webpage using php.
    Required : The webpage should show the information about video (text).
    Whats happening : The webpage shows no text output on running the php code.
    If I was however doing system("ls") the code runs fine and outputs the list of files.
    Here's my code

    <?php
    echo "Details of video file:";
    system('ffmpeg -i /home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi');
    ?>

    The same command works fine on my shell, and my system has ffmpeg installed. Here's a snapshot of executing this command directly on shell :

    ThinkPad-T420:~/Videos$ ffmpeg -i /home/xx/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi
    ffmpeg version git-2012-01-10-7e2ba2d Copyright (c) 2000-2012 the FFmpeg developers
    built on Jan 10 2012 12:01:19 with gcc 4.6.1
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-    amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
     libavutil      51. 34.100 / 51. 34.100
     libavcodec     53. 54.100 / 53. 54.100
     libavformat    53. 29.100 / 53. 29.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 58.100 /  2. 58.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    51.  2.100 / 51.  2.100
     Input #0, avi, from '/home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi':
     Metadata:
     encoder         : Lavf52.23.1
     Duration: 00:00:29.00, start: 0.000000, bitrate: 124422 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
     At least one output file must be specified

    I have tried appending "DISPLAY=:0" to my command and also done "xhost +" before running php code, but nothing is helping me out.

    Thanks.

  • encoding .avi file from bytearray using ffmpeg in javacv or java

    24 janvier 2012, par Ashwin Yakkundi

    I have converted an .avi file into byte[]. What I need to do is to convert the byte[] back to the original .avi file in java or javacv preferably using ffmpeg.

    The following is the code I used for conversion from .avi into byte[]

    import com.googlecode.javacv.cpp.opencv_core.IplImage;
    import com.googlecode.javacv.CanvasFrame;
    import com.googlecode.javacv.FFmpegFrameGrabber;

    import java.io.BufferedInputStream;
    import java.io.DataInputStream;
    import java.io.File;
    import java.io.FileInputStream;

    public class VideoDemoTest1{

       public static void main(String[] args) throws Exception {
           String filename = "/home/ashwin/Desktop/cow.avi";

           FileInputStream fis = new FileInputStream (filename);
           DataInputStream dis = new DataInputStream(fis);
           int length = dis.available();
           System.out.println("length of InputStream = " + length);

           byte[] videoByteArray = new byte[(int) length];

           // Read in the bytes
           int offset = 0;
           int numRead = 0;
           while (offset < videoByteArray.length
                  && (numRead = dis.read(videoByteArray, offset, videoByteArray.length - offset)) >= 0) {
                       offset += numRead;
           }

           System.out.println("length of videoByteArray is " + videoByteArray.length);
       }
    }