Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (57)

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

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

  • aacpsy : remove dead code

    31 mai 2016, par Rostislav Pehlivanov
    aacpsy : remove dead code
    

    This code wasn’t removed when the functionality was moved inside
    aacenc.c with commit 8005b6de4f88c9

    Fixes CID1361962

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/aacpsy.c
  • Command to get only one audio track in output specified by language code with ffmpeg

    22 mai 2023, par killerlearner

    Ffmpeg Command to get video with only English audio

    &#xA;

    I tried running ffmpeg -i input_video.ext -map 0:v -map 0:a:language=eng -c:v copy -c:a copy -map_metadata -1 -sn output.mp4&#xA;But the output file I got is 0 byte.&#xA;So can anyone tell me the write command.&#xA;I want to get video with only one language audio, I specify with code like eng, hin etc. With subtitles removed and x264 format !

    &#xA;