Recherche avancée

Médias (91)

Autres articles (63)

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

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

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

  • How to save changes in video file in Ffmpeg C++ ?

    16 avril 2021, par TheSofya

    How to save changes in video file in Ffmpeg C++ ? Do we need encoder ? How to use avcodec_encode_video2 functions ?

    


    while (av_read_frame(pFormatCtx, &packet) >= 0)
    {

        if (packet.stream_index == videoStream) {
            avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); 
            if (frameFinished) {
                sws_scale(sws_ctx, (uint8_t const* const*)pFrame->data,
                    pFrame->linesize, 0, pCodecCtx->height,
                    pFrameRGB->data, pFrameRGB->linesize);

                if (i == secretframe) {
                    //Here we change pixels
                    hidetext(pFrameRGB, pCodecCtx->width, pCodecCtx->height, secretframe);
                    //unhidetext(pFrameRGB, pCodecCtx->width, pCodecCtx->height, secretframe); 

                    std::cout << "\n\n" << i << "\n\n";
                }
                if (i > secretframe) { 
                break; 
                }
                i++;
            }
        }


    


  • I am trying to use ffmpeg to separate audio from video, but after downloading the ffmpeg build I cannot seem to activate it in Power Shell [duplicate]

    19 janvier 2021, par Row Boater

    Ok, look y'all, I am NOT an aspiring programmer. I'm simply trying to separate audio from video of a youtube video I downloaded.

    


    What I've done :

    


    Downloaded YT vid using 4k video Downloader

    


    I downloaded ffmpeg build from https://ffmpeg.org/download.html#build-windows

    


    I downloaded WinZip in order to access the ffmpeg files.

    


    I thought I used winzip correctly, but whenever I paste the command code line recommended to me, ffmpeg -i video.mp4 -c:a pcm_s16le audio.wav, I receive the following :

    


    


    PS C :\Users\user\Videos\4K Video Downloader> ffmpeg -i video.mp4 -c:a
pcm_s16le audio.wav ffmpeg : The term 'ffmpeg' is not recognized as
the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that
the path is correct and try again. At line:1 char:1

    


      

    • ffmpeg -i video.mp4 -c:a pcm_s16le audio.wav
    • 


    • 

        + CategoryInfo          : ObjectNotFound: (ffmpeg:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException



      


    • 


    


    PS C :\Users\user\Videos\4K Video Downloader>

    


    


    This is all Phoenician to me, but what I take away is that I have not completed some step to fully incorporate the ffmpeg code into my system. I believe that I am not using Winzip correctly.

    


    Thanks for your time.

    


  • FFMPEG recombine a video with its original uncropped version

    9 décembre 2022, par Skyler

    I have a video which I cropped to run through a script to process these files much quicker. I would like to now combine the cropped videos back in with their original uncropped version, using the audio from one of the files (the cropped one in this case). The script to crop was :

    


    ffmpeg -i file.mp4 -filter:v "crop=1000:1000:580:0" -crf 20 -preset slow smaller.mp4


    


    So how do I remerge them ?