Recherche avancée

Médias (91)

Autres articles (45)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (6643)

  • Writing script to automate my work with video and srt files [closed]

    8 octobre 2020, par Shubham Thakur

    I am trying to write a python script to automate my work. The script will be doing following functions with the drone footage.

    


      

    1. Get video in mp4 and mov format and extract srt subtitle from it.
    2. 


    


    The SRT file of video has information about telemetry of drone like speed, location, altitude, shutter, ISO, etc. The next functin of the script will be to.

    


      

    1. Edit srt file to delete all information except of its location and save the file to update the srt file.
    2. 


    


    I am new to python and have very less experience in working with files in python. After looking up I found that ffmpeg can be used to do 1st function of my script. But I dont know how to approach writing my script.
Any suggestion will be helpful.
Thank You

    


  • FFmpeg API example (encode_video.c) does not work correctly

    30 janvier 2023, par NewbieCoder

    I am using the official encode_video.c example to test if FFmpeg works correctly for me. 
I got the pre-built windows edition from ffmpeg.zeranoe.com/builds. It is built already with libx264 and other external libraries. I got both dev and shared editions and added the DLLs, header files and libs accordingly in Visual Studio.

    



    Now the encode_video.c example does not work correctly.

    



    



    What I tried :

    



    I compiled the example and run it on many different file formats and codecs such as the following.

    



    First I tried all of these file formats (.mp4, .m4v, .h264, .x264, .avi, .flv) with codec name as libx264. The code executed without errors but the output video file did not play in VLC or Windows 10 default player.

    



    Next, I tried all of those above file formats but with codec name as mpeg4. The code executed without errors but the output video file played only for .m4v in VLC.

    



    



    What is expected :

    



    All of those combinations should have produced a video file which could be played in VLC. None of them worked except for .m4v as file format and mpeg4 as codec name.

    



    



    Please tell me how to make this work for h264. I mainly want it to work for h264 as that is only important for now.

    



    I am running the code like ./encode_video.exe test.mp4 libx264 where first argument is output filename and second argument is codec name.

    



    This is the output for test.mp4 and libx264 as command line arguments https://imgur.com/a/AHLQwuK

    



    It seems that in the encode function, it goes over the below code and returns because of AVERROR(EAGAIN) or AVERROR_EOF. Please tell me what is happening.

    



    while (ret >= 0) {
        ret = avcodec_receive_packet(enc_ctx, pkt);
        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
            return;
        else if (ret < 0) {
            fprintf(stderr, "Error during encoding\n");
            exit(1);
        }

        printf("Write packet %3"PRId64" (size=%5d)\n", pkt->pts, pkt->size);
        fwrite(pkt->data, 1, pkt->size, outfile);
        av_packet_unref(pkt);
    }


    



    I used DepenciesGUI to find out the DLLs linked and it shows that the DLLs are correctly linked. Please help me figure out what the problem is now !!

    


  • Case-insensitive URL match for canPlayURL(), etc. (eg. so foobar.MP3 will work)

    10 juin 2010, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2.js Case-insensitive URL match for canPlayURL(), etc. (eg. so foobar.MP3 will work)