Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (56)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9918)

  • How to use Windows Media Foundation instead DirectShow Editing Services ?

    3 novembre 2016, par Den

    I am developing a non-linear video editor. I need to have the support timeline, mixing of audio streams, the transitions between videos, etc. These all features are in DirectShow Editing Services, but it is no longer supported in the new versions of Windows. Instead, offer to use Microsoft Media Foundation. Is it possible to implement the same functionality in the MF or is using other SDK ? For example, gstreamer. Maybe someone will recommend SDK for video editing on the basis of MF ?

  • Online video converter [on hold]

    9 novembre 2015, par Oleksandr Kyrpa

    can any one recomended same online video converter ? I have very slow netbook but needed play avi, wmv, mkv on my iPhone and Android tablet. Also I planed to by WP (Windows Phone) Nokia 920, but sucks Microsoft havent support my video libs so I need online video converter. My videos files size from 300M to 4GB and resolution from 360p to 720p and 1080.
    Can any help me with online video converter ?

  • How do I redirect the output of SpeechSynthesizer to a Process of ffmpeg

    27 septembre 2020, par TheOneAndOnlyMrX

    I am trying to have a SpeechSynthesizer generate some audio data, pipe it into a Process of FFmpeg, and have FFmpeg save the data to a file (output.wav). Eventually, the audio data will be used for something else, which is why I am using FFmpeg.

    


    using (MemoryStream voiceStream = new MemoryStream())
        using (Process ffmpeg = new Process())
        {
            SpeechSynthesizer synth = new SpeechSynthesizer();

            int samplesPerSecond = 48000;
            int bitsPerSample = 8;
            int channelCount = 2;
            int averageBytesPerSecond = samplesPerSecond * (bitsPerSample / 8) * channelCount;
            int blockalign = (bitsPerSample / 8) * channelCount;
            byte[] formatSpecificData = new byte[0];

            synth.SetOutputToAudioStream(
                voiceStream,
                new System.Speech.AudioFormat.SpeechAudioFormatInfo(
                    System.Speech.AudioFormat.EncodingFormat.Pcm,
                    samplesPerSecond,
                    bitsPerSample,
                    channelCount,
                    averageBytesPerSecond,
                    blockalign,
                    formatSpecificData
                    )
                );

            synth.Speak("Hello there");

            synth.SetOutputToNull();

            ffmpeg.StartInfo = new ProcessStartInfo
            {
                FileName = "ffmpeg",
                Arguments = $"-y -f u8 -ac 2 -ar 48000 -i pipe:0 out.wav",
                UseShellExecute = false,
                RedirectStandardOutput = true,
                RedirectStandardInput = true
            };

            ffmpeg.Start();

            using (Stream ffmpegIn = ffmpeg.StandardInput.BaseStream)
            {
                voiceStream.CopyTo(ffmpegIn);
                
                ffmpegIn.FlushAsync();
            }
        }


    


    When running the program, FFmpeg said that the input stream contains no data, and returns an empty file.
I believe that I do not interface properly with the Process object, however, the problem might also be my incorrect specification of the audio stream, since I do not know much about audio.