Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (58)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (4104)

  • I am trying understand ffmpeg's source code

    2 novembre 2019, par Harsh Sinha

    I was thinking to edit ffmpeg’s source code but can’t understand where is rhe made or where is the end and start. Is there any way I can understand the folder structure ?

  • configure.ac : Remove SPE detection code

    7 juillet 2018, par Anton Blanchard
    configure.ac : Remove SPE detection code
    

    We don't have any SPE code, so there's no need to detect it
    at configure time.

    Signed-off-by : Anton Blanchard <anton@ozlabs.org>

    • [DH] configure.ac
  • C# Start Process on Mac - FFMPEG - Exit Code 1

    3 février 2016, par Ben Hayward

    I am trying to start a process on Mac and Windows (using Unity) to run FFMPEG to convert a video to a .ogv video. My code is as follows :

       string command = "ffmpeg -i '" + filepath + "'  -codec:v libtheora -qscale:v 10 -codec:a libvorbis -qscale:a 10 -y '"+workingDir+"/ogv_Video/"+System.IO.Path.GetFileNameWithoutExtension(filepath)+".ogv'";
       UnityEngine.Debug.Log("Command: "+command);

       try{

           System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo (workingDir+"/..", command);
           startInfo.CreateNoWindow = true;
           startInfo.RedirectStandardOutput = true;
           startInfo.RedirectStandardError = true;
           startInfo.UseShellExecute = false;
           startInfo.FileName =workingDir+"/ffmpeg";

           //Process.Start (startInfo);
           Process p = Process.Start(startInfo);
           p.EnableRaisingEvents = true;
           string strOutput = p.StandardOutput.ReadToEnd();
           UnityEngine.Debug.Log ("Running..."+strOutput);
           p.WaitForExit();

           UnityEngine.Debug.Log ("Got here. "+strOutput);
           int exitCode = p.ExitCode;
           UnityEngine.Debug.Log ("Process exit code = "+exitCode);
       }
       catch(Exception e) {
           UnityEngine.Debug.Log ("An error occurred");
           UnityEngine.Debug.Log ("Error: "+e);
       }

    The command executes and does not through any exception. However, it terminates instantly and prints Exit Code 1 which is "Catchall for general errors" -this seems not too helpful !

    What am I doing wrong with my code, please ?

    You’ll notice that my code prints out the command in full. If I copy that command and paste it into the terminal, it runs absolutely fine.