Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (53)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4932)

  • FFMPEG WAV file not spitting out correct audio length

    7 juin 2018, par Alexander Leon

    I am piping the audio out with the ’attachment’ header so that the result is immediately downloaded. With other formats, such as mp3, the duration on the downloaded file metadata is set correctly. With WAV tho, the duration reads 00:00, which makes it basically unusable by audio players like iTunes. Any help ?

    app.get('/', (req, res) => {
       res.contentType('audio/wav');
       res.attachment('somefile.wav');
       var pathToAudio = 'https://dl.dropbox.com/s/pc7qp4wrf46t9op/test-clip.webm?dl=0';
       ffmpeg(pathToAudio)
           // .output(stream, {end: true})
           .toFormat('wav')
           // setup event handlers
           .on('error', function(err) {
               console.log('an error happened: ' + err.message);
           })
           .pipe(res {end: true})
    });
  • Add aac single audio to MPEG DASH mpd files

    26 avril 2017, par Adminy

    I am trying to add manually to the .mpd file the following code.

       <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true" lang="English">
           <representation mimetype="audio/mp4" codecs="mp4a.40.2" audiosamplingrate="44100">
               <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
               <segmenttemplate timescale="44100" media="http://localhost/audio.aac" startnumber="1">
               </segmenttemplate>
           </representation>
       </adaptationset>

    But its not working, Does everything have to be segmented in .mpd files ? or can I have a single .acc file ?

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