Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (105)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (10891)

  • Java ffmpeg progress bar

    7 juin 2012, par user1440140

    Even I am working for making a progress bar for ffmpeg in java... So for that I want to read all the progress....

    String[] command = {"gnome-terminal", "-x", "/bin/sh", "-c","ffmpeg -i /home/tmp/F.webm /home/tmp/converted1.mp4"};

    And then just execute this by :

    Process process = Runtime.getRuntime().exec(command);

    This runs perfectly... BUt I want to read all this progress to make a progress bar... SO how can I read this from that terminal...

  • curl (7) error when trying to install Homebrew on mac

    16 janvier 2017, par Peleadora

    Wanted to install Homebrew on my mac (on version 10.11.6) and put this into terminal :

    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

    The thing i get is the following :

    curl: (7) Couldn't connect to server

    Now, I don’t have any knowledge about terminal and curl and proxy and all this stuff, but I really need Homebrew (actually I need ffmpeg but apparently homebrew is necessary for ffmpeg)... I remember having ffmpeg already installed half a year ago, but somehow I got it deleted. Now, I have a backup of that time, so can I just recover it - just homebrew and ffmpeg without recovering the whole backup ? Or is there a way just to install homebrew again ?

    Thanks for helping !

    -Peleadora

  • Elegant early exit from a spawned ffmpeg process in C

    21 octobre 2016, par jackson80

    I have a program where I build an ffmpeg command string to capture videos with options input through a gtk3 gui. Once I have all my options selected, I spawn a process with the ffmpeg command string. And I add a child watch to tell me when the process has completed.

     // Spawn child process
     ret = g_spawn_async (NULL, argin, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid1, NULL);
     if ( !ret )
     {
       g_error ("SPAWN FAILED");
       return;
     }

    /* Add watch function to catch termination of the process.  This function
      * will clean any remnants of process */
     g_child_watch_add (pid1, (GChildWatchFunc)cb_child_watch, widget );

    Executing ffmpeg from a terminal using a command line, the program will give an option to input a "q" at the terminal to end the ffmpeg process early.
    Is there any way to send a "q" to that spawned process to elegantly end the ffmpeg ? I’m fairly sure I could kill the process using the process id, but I would rather stop it using a mechanism that allows ffmpeg to gracefully exit..
    This is running Centos 7, kernel 4.7.5, ffmpeg version 3.0.2.
    Since I can still access the terminal where the ffmpeg output is displayed, I’ve tried typing a "q", but it has no effect on the process.