Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (68)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8862)

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

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

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