Recherche avancée

Médias (91)

Autres articles (84)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6581)

  • Finding audio peaks in video files

    23 octobre 2013, par Adam Langsner

    I have a bunch of video files that I want to process. I want to write a program that can find the audio peaks in each file and return the times where those peaks occurred.

    I've looked for a lot of different APIs in different languages but couldn't get any of them to work. I am partial to php and java, so if anyone knows any good audio processing libraries in those languages that would be great ! But really I don't care too much about the language. I will need to run this program on a cron.

    Also, is it possible to use system calls to ffmpeg from within a script to accomplish this ? Thanks in advance.

  • How to append images to a video ? [closed]

    25 juillet 2022, par shyakocat

    When generating images, I want to save them as a video. (It's not a hard problem, there are lots of solution like FFMideaToolkit or AForge.Net)

    


    But I also want to make the task pauseable. That means, if I shutdown the program or the program crashed (before completion), it will memorize the progress. Next time I start the program, it can resume from last frame and continue the task.

    


    I thought out some ways to implement :

    


    method 1. Regenerate entire video.

    


    method 2. When program paused, save the current video (which is complete and playable). Next time program continued, I open the video file above-mentioned, and append remaining images to it.

    


    method 3. When program paused, save the current video (which is complete and playable). Next time program continued, I create a new video file to save remaining images. In the end, all images consumed, I concat all video fragments to one video file.

    


    What I concerned is method 2. method 1 is not acceptable. method 3 is feasible, but it has an extra concat at last.

    


    However libraries mentioned could not solve it. I don't know how to do. Because I'm not good at video process. Some details like changing the header or deal with I/B/P frame is trivial for me, so I just need a powerful tool (As I think if I use FFMPEG.AutoGen without leading, I will make plenty of mistakes, but it's also welcome to provide related tutorials). I need some hint, thanks !

    


      

    • Using C# or C++ is ok.
    • 


    • Directly using ffmpeg.exe command line is not ok.
    • 


    • At least support format avi (No compressed) and mp4 (H264), maybe it's impossoble for some robust format to solve that.
    • 


    


  • Adding current time as timestamp in H.264 raw stream with few frames

    2 avril 2020, par Michaël

    I have a program that spits out an H.264 raw stream (namely, screenrecord on Android). I'm using FFmpeg to add a PTS (presentation time stamp) on the frames as follows :

    



    $ my-program | ffmpeg -i - -filter:v setpts='(RTCTIME - RTCSTART) / (TB * 1000000)' out.mp4


    



    This filter computes the current time, and puts it as the PTS.

    



    The trouble is that my-program does not produce any output if there isn't any change in the video. Since FFmpeg seems to wait for a bunch of frames before putting them through the setpts filter, the computed PTS won't be correct. In particular, the last frame of a sequence will be timestamped when the next sequence starts.

    



    Is there a way (with FFmpeg or otherwise) to add the current time as PTS to H.264 raw frames, where "current time" is when receiving the frame, rather than outputting it ?

    



    Note : The problem is not from buffering from the pipe.