Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (21)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version 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
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

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

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (4967)

  • Using Pipes for Stream Data in FFMPEG

    17 juillet 2024, par Aryan Kumar

    I am trying to input stream and decrease the bitrate of the video without saving it anywhere so i am hoping to pass it as a stream and get the output as a stream and send it to digital ocean spaces to get saved.
But I tried lots of things but my output Stream is getting empty. and the file is empty.

    


        public async Task VideoOperationAsync(Stream inputStream)
    {
        try
        {
            // Ensure the input stream is at the beginning
            inputStream.Position = 0;

            // Create a memory stream to hold the output data
            using (var outputStream = new MemoryStream())
            {
                var arguments = $"-i pipe:0 -f mp4 pipe:1";

                await Cli.Wrap("ffmpeg")
                    .WithArguments(arguments)
                    .WithStandardInputPipe(PipeSource.FromStream(inputStream))
                    .WithStandardOutputPipe(PipeTarget.ToStream(outputStream))
                    .WithValidation(CommandResultValidation.None)
                    .ExecuteAsync();

                // Ensure the output stream is at the beginning before reading
                outputStream.Position = 0;

                using (var fileStream = new FileStream(@"D:\Gremlin-data\VideoResized\output_cropped.mp4", FileMode.Create, FileAccess.Write))
                {
                    await outputStream.CopyToAsync(fileStream);
                }
            }
        }
        catch (Exception ex)
        {
            Console.WriteLine($"An error occurred: {ex.Message}");
            throw;  // Re-throw the exception if needed
        }
    }


    


    I also earlier tried this :

    


    public async Task VideoOperationAsync(Stream inputStream)

try

// Ensure the input stream is at the beginning
inputStream.Position = 0 ;

    


            var ffmpegProcess = new Process
        {
            StartInfo = new ProcessStartInfo
            {
                FileName = "ffmpeg",  // Ensure ffmpeg is in your PATH or provide the full path
                Arguments = $"-i pipe:0 -b:v 2000k -f mp4 pipe:1",  // Correct bitrate format
                RedirectStandardInput = true,
                RedirectStandardOutput = true,
                RedirectStandardError = true,  // Capture standard error
                UseShellExecute = false,
                CreateNoWindow = true
            }
        };

        ffmpegProcess.Start();

        // Write input stream to ffmpeg's standard input asynchronously
        Task writingTask = Task.Run(async () =>
        {
            await inputStream.CopyToAsync(ffmpegProcess.StandardInput.BaseStream);
            ffmpegProcess.StandardInput.BaseStream.Close();
        });

        // Read ffmpeg's standard output to a memory stream asynchronously
        using (MemoryStream ms = new MemoryStream())
        {
            Task readingTask = Task.Run(async () =>
            {
                await ffmpegProcess.StandardOutput.BaseStream.CopyToAsync(ms);
            });


    


  • Revision 64e2597465 : Disable update of last_show_frame for existing frame When showing a previously

    23 janvier 2014, par Adrian Grange

    Changed Paths :
     Modify /test/test-data.sha1


     Modify /test/test.mk


     Modify /test/test_vectors.cc


     Modify /test/test_vectors.h


     Modify /vp9/decoder/vp9_onyxd_if.c


     Modify /vp9/encoder/vp9_onyx_if.c



    Disable update of last_show_frame for existing frame

    When showing a previously decoded frame, i.e. when
    show_existing_frame=1, the update of the
    last_show_frame flag must be disabled.

    This is to ensure that the last_show_frame flag
    reflects the state of the flag for the immediately
    previously decoded frame rather then the value that
    was forced to ensure that a previously decoded frame
    would be displayed.

    This patch also adds a test vector to verify that the
    display_existing_frame flag works as expected. Code
    for generating the test vector can be found in this
    patch :
    https://gerrit.chromium.org/gerrit/#/c/68581/

    (Bug originally reported by Alexander Voronov
    <ru.xalba@gmail.com>).

    Change-Id : I731d288fba02088959f7fcc87707137fffc6acf5

  • Anomalie #4623 : Styles des fieldset dans l’espace privé

    17 avril 2021, par nicod _

    En vraie CSS sans trucage :

    .fieldset .fieldset fieldset 
        margin-left : var(—spip-form-gutter-x) ;
        border-left : 3px solid var(—spip-form-border-color) ;
        border-radius : 12px ;
        margin-bottom : var(—spip-form-gutter-y) ;
    
    .fieldset .fieldset fieldset .editer-groupe:last-child 
        padding-bottom : 0 ;