Recherche avancée

Médias (91)

Autres articles (63)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5058)

  • Using ffmepg wrapper to convert images to movie file

    24 mai 2020, par reborn

    I have recently been using the ffmpeg wrapper by Vitaliy Fedorchenko called NReco.VideoConverter. It's pretty great and I have managed to write another application with it that I hope to release soon after some testing and I purchase the license for the wrapper (it's a cool watermarker for videos).

    



    I am now trying to use that same wrapper to encode a video from still images, but sadly there is very little documentation available and I am feeling my way int he dark a little. I am hopeful that someone familiar with the wrapper might be able to help.

    



    I collect the images using the fileOpenDialogue and picking images to populate a listView. When I am ready, I then take these images to build an array and create the movie.

    



    application picture

    



        void ConvertToMovie()
    {
        if(listImages.Items.Count > 1)
        {
            var ffMpeg = new NReco.VideoConverter.FFMpegConverter();

            NReco.VideoConverter.FFMpegInput[] ffMpegInputs = new NReco.VideoConverter.FFMpegInput[listImages.Items.Count]; 

            for (int i = 0; i < listImages.Items.Count; i++)
            {
                var SSAImage = new NReco.VideoConverter.FFMpegInput(listImages.Items[i].SubItems[2].Text.ToString());
                ffMpegInputs[i] = SSAImage;
            }


            ConvertSettings csettings = new ConvertSettings();
            csettings.SetVideoFrameSize((int)MovieWidth.Value, (int)MovieHeight.Value);
            csettings.VideoFrameCount = listImages.Items.Count;
            csettings.VideoFrameRate = (int)FPS.Value;

            /*
            string argument = " -profile:v high ";
            csettings.CustomOutputArgs = argument;
            */

            if (FormatChooser.SelectedIndex == 0)
            {
                //This just takes the first picture and converts that single frame into a movie.
                ffMpeg.ConvertMedia(ffMpegInputs, @"Converted.avi", Format.avi, csettings);
                //ffMpeg.ConvertMedia(listImages.Items[0].SubItems[2].Text.ToString(), ffMpegInput.Format, @"Converted.avi", Format.avi, csettings);
            }
        }
        else
        {
            MessageBox.Show("You need at least two images to make a movie.", Title);
        }
    }


    



    Passing the images as an array to the function seems logical. At list of the methods are here : https://www.nrecosite.com/doc/NReco.VideoConverter/

    



    However, the only method that allows you to pass an array of the inputs is here :
https://www.nrecosite.com/doc/NReco.VideoConverter/html/M_NReco_VideoConverter_FFMpegConverter_ConvertMedia.htm

    



    So this makes sense to me that it would be the one to use.

    



    This does generate a .avi file, but the movie only contains the first frame from the array.

    



    I saw someone else had the same issue here : Nreco video converter make video from image sequence

    



    However, the responses seemed to suggest using a different method that allows you to pass a single image file only, then somehow the ffmpeg.exe will sequence the rest of them ? I couldn't get that to work at all.

    



    At this stage the only way I can see of making it work is creating a single frame movie file for each frame, and then concating all of the movie files together using :

    



    https://www.nrecosite.com/doc/NReco.VideoConverter/?topic=html/M_NReco_VideoConverter_FFMpegConverter_ConcatMedia.htm

    



    That's a pretty ridiculous notion though.

    


  • FFmpeg's trim filter to handle movie files with non-zero start_time for a transcoding task ?

    19 août 2014, par Drake

    For a movie file (ex, ooxx.mp4) with non-zero start_time in video stream, the negative start_time (ex, -0.5) can mean skipping first 0.5s frames, and the positive start_time (ex, 0.7s) can mean postponing the playback for 0.7s.

    I’m wondering if we can make use of FFmpeg’s trim filter (or something else) to strip out some video frames (for negative start_time) or put some empty (ex, black) frames ahead (for positive start_time) automatically ?

  • Created a black frame movie using ffmpeg

    28 juillet 2015, par Yunxiao Jia

    ffmpeg -i "data%04d_Projection_z_temperature_density.png" -r 47 -b 14M Projection_test_movie.mp4

    This is the command i have used, the output seems fine, but when I open it with realplayer, it just plain back. Need Help, thank you !