Recherche avancée

Médias (91)

Autres articles (106)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (10639)

  • First Capturing thumbnail from a Video using php ?

    28 juillet 2012, par Ajay

    I have an upload functionality on my site. And i want the php script to take out a random frame from the uploaded video, and save it as an image. Is that possible ?please guide me how can i get first capture image in video upload in php

    Thanks for Advance.

  • How to load a video file(located in assets folder ) in NDK ?

    26 mars 2013, par user1059217

    I am executing ffmpeg by android ndk, I am able to run an sample, here [https://github.com/ccggaass/android-ffmpeg-sample].

    I want to put the video in android assets folder, so how to pass this file to the ffmpeg api :

    av_open_input_file(&pFormatCtx, "file :/sdcard/vid.3gp", NULL, 0, NULL) ;

    Does anyone know how to pass the file to av lib ?

  • Start/Stop Ffmpeg video capture

    2 novembre 2011, par Dasas

    I'm currently using ffmpeg for recording video from a webcam source.

    At the moment i use java to call for ffmpeg to execute.

    The code is pretty straightforward

    ffmpeg -f dshow -i video="Dualpix HD720p for Notebooks" -s cif -r 20 -f flv TEST.FLV
    Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL " + cmd);

    and it works fine.

    The only real issue occour when when i need to stop the recording process.

    I know that i can press q or even ctrl+c in the CMD but i need to stop the process without keyboard input.

    That would be pretty easy to achive by killing the process but in this case ffmpeg do not finalize the video leaving me with a corrupt, need to fix, output.

    Is there any way to trigger the finalizing process "remotely".

    Thx,
    D.

    *******EDIT**********

    Thx for the prompt answer, i think you're referring to

    Process.getOutputStream()

    As for this case i have tried with this code :

    public Process doCommand(String cmd) throws Exception {

       rt = Runtime.getRuntime();
       Process proc = rt.exec(cmd);
       recOS= proc.getOutputStream();
       regcIS= proc.getInputStream();

       return proc;

    }

      receOS.write(("q/n".getBytes()));
      recOS.flush();

    I'm still getting an error, to be more specific, java.io.ioexception The pipe is being closed ...