Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (59)

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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7271)

  • FFMpeg + Beanstalk : How to pass the processes to it or achieve the same result without using Beanstalk

    6 avril 2017, par Ilia Rostovtsev

    My problem is that FFMpeg and Mencoder are extremely resourceful and running even one process of it makes HTTPd slow down but multiple processes of (FFMPEG /Mencoder) just hang it (HTTPd) completely. I would like my conversions to be processed with Beanstalk, for example.

    My concrete question is : How to transfer my current jobs to Beanstalk ?

    I have a simple PHP code that triggers conversion :

    RunInBackground('convert.php', array($upload, $video_id), $log_path);

    Now what would Beanstalk correct code would look like so these processes would NOT start all at the same time if multiple videos are uploaded ?

    If you believe that for my needs is better to use something else but Beanstalk and you know how to implement it, I would be still happy to see it !

    Thanks in advance,
    Ilia

  • PHP shell_exec wait for script to done ? [duplicate]

    6 mars 2016, par Melih Büyükbayram

    This question already has an answer here :

    I have a PHP script that queries a database for a list of jobs to be done and fires off other PHP scripts based on what it finds in the database (basically a process queue).

    Some of the scripts that the queue runner script executes may take 30 seconds or so to finish running (convert video, resizing images, etc).

    The problem is that shell_exec() in the queue runner script calls the processing scripts, but then doesn’t wait for them to finish, resulting in the queue not being completed.

    Queue runner script :

    #!/usr/bin/php
    <?php
       // Loop through database and find jobs to be done
       shell_exec("nohup $command > /dev/null 2> /dev/null & echo $! &");
    ?>

    Running the job script directly from the command line works and the PDF is created.

    Any ideas on how to fix this ? Or a better way to run a process queue ?

  • How to make a videoplayer using FFmpeg on android ndk

    24 juillet 2012, par LMDS

    I'm trying to make a Video Player using ffmpeg and I use this tutorial http://dranger.com/ffmpeg/tutorial08.html, what I understand this tutorial convert a video to a video Image YUV, I'm trying to make the file that interact from .c to .java, I have this

    code c from the tutorial08(http://dranger.com/ffmpeg/tutorial08.c), then I made

    public class RtspReceiver extends Activity

    public SurfaceView sfv;
    @Override
    public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.principal);
       sfv=(SurfaceView) findViewById(R.id.im);
    }

    /* load our native library */
    static {
       System.loadLibrary("Interface");
    }

    private static native void Receive(SurfaceView  sf);

    In the c I'm trying to understand how I can use this

    JNIEXPORT void JNICALL isec_projecto_rtspreceiver_RtspReceiver_Receive(JNIEnv * env, jobject  obj, jobject Surface)
    {
    //what I have to put in here?
    }

    How can I put the SurfaceView that I have in the java, in the c ???
    and other thing, in the tutorial08.c how can I extract the video and put them in the java ? am I thinking correctly ?