Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (73)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (9394)

  • Revision 1bf27df775 : Enable vpxenc to process and convert external mode_info This commit enables the

    28 juin 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Enable vpxenc to process and convert external mode_info

    This commit enables the encoder to convert the mode information
    read from external file into effective VP9 coding decisions. Further
    optimization for compression performance can be applied therein.

    Change-Id : Ic3abb8e223ed4b5aa54e5ed099feb450c1ad9363

  • ffmpeg run from c# Process not closing when using '-i anullsrc'

    1er octobre 2022, par Brown Bear

    I am generating a large collection MP4 videos from an OpenGL source. This has worked perfectly so far but I recently noticed that some TV media player don't like video without audio, see here for more info.

    


    So far i hve been using the following code :

    


        private bool StartRecording()
    {
        _ffmpeg = new Process();
        _ffmpeg.StartInfo.FileName = "ffmpeg.exe";
        _ffmpeg.StartInfo.Arguments = $"-f rawvideo -pix_fmt rgba -s {RecordSize.Width}x{RecordSize.Height} -r 30 -i - -c libx264 -crf 17 -pix_fmt yuv420p -b:v 1024k -bufsize:v 1835008 {RecordFile} -tune animation";
        _ffmpeg.StartInfo.RedirectStandardInput = true;
        _ffmpeg.Start();

        if(_ffmpeg.HasExited)
        {
            IsRecording = false;
            return false;
        }
        return true;
    }

    private void RecordFrame(RenderUpdate update)
    {
        if (_ffmpeg == null)
            return;

        var frame = Project.RecordFrame(update);
        var data = new byte[frame.Length];
        var height = RecordSize.Height;
        var width = RecordSize.Width;

        for (var k = 0; k < height; k++)
        {
            var j = height - k - 1;
            Buffer.BlockCopy(
                frame, k * width * 4,
                data, j * width * 4,
                width * 4);
        }

        _ffmpeg.StandardInput.BaseStream.Write(data, 0, data.Length);
    }

    private void StopRecording()
    {
        Project.StopRecording();
        if (_ffmpeg == null)
            return;

        _ffmpeg.StandardInput.Flush();
        _ffmpeg.StandardInput.Close();
        _ffmpeg.Close();
        _ffmpeg.Dispose();
    }


    


    And it has worked perfectly until I modified the 'ffmpeg' cmd line arguments to include '-i anullsrc' for the audio.

    


      _ffmpeg.StartInfo.Arguments = $"-f rawvideo -pix_fmt rgba -s {RecordSize.Width}x{RecordSize.Height} -r 30 -i - -f lavfi -i anullsrc=channel_layout=mono:sample_rate=8k -c:v libx264 -crf 17 -pix_fmt yuv420p -b:v 1024k -bufsize:v 1835008 {RecordFile} -tune animation";


    


    The moment I add '-f lavfi -i anullsrc' to the cmd line the call to 'StopRecording()' has no effect and ffmpeg continues to run.

    


    I can manually stop it by closing the console window or even using ctrl-c, but the job needs to be automated so this is just not an option.

    


    Ultimately my question is Why is ffmpeg behaving this way ?

    


    I've come up with a couple of work arounds, but I don't like either :

    


      

    1. Post process the videos as per the link I mentioned earlier. Not practical. I need to generate 1000s of videos and a single batch of 350 takes around 6 hours. 50% of that time is consumed by ffmpeg encoding, so to re-encode them all just to add a null audio track would nearly double the time.
    2. 


    3. Try to push a 'ctrl-c' through to the ffmpeg process as per this post. I did some quick tests with 'GenerateConsoleCtrlEvent' without sucess, and the idea of having to manually start and stop the Process via 'kernel32.dll' seems excessive not to mention old school.
    4. 


    


    Any insight would be greatly appreciated.

    


  • Revision bdd249be31 : Optimize the dequantization process on decoder side. Change-Id : I00621ff7165bbe

    19 février 2015, par Hangyu Kuang

    Changed Paths :
     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_decoder.c


     Modify /vp9/decoder/vp9_detokenize.c


     Modify /vp9/decoder/vp9_detokenize.h



    Optimize the dequantization process on decoder side.

    Change-Id : I00621ff7165bbe86a18794b4a816976c9effaf78