Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (90)

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

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

Sur d’autres sites (7939)

  • fast video overlay on a png image

    30 mars 2016, par AHC

    I am using the following code to overlay my video on a background .png file :

    ffmpeg -i C:\image.png -i C:\input.mp4  \
    -filter_complex "[1:v][0:v]scale2ref=-1:950[ovrl][0v]; \
    [0v][ovrl]overlay=x=(main_w-overlay_w)/2:y=0[watermark]" \
    -map "[watermark]" -map 1:a -codec:v libx264 -preset veryfast \
    -crf 18 -c:a copy C:\output.mp4

    So, basically, my image.png is 1800x1200 and I am overlaying the video on top of this image starting from y=0 and the x coordinate to fall into the middle of the image.
    However, since my input videos are of different resolution, of different sizes, that is why I am scaling the videos to fit exactly a height of 950 pixels and of a relative width.
    Everything is working fine !
    The question is : how can I optimize this process to get the same result but MUCH FASTER ?
    This is taking ages to process the videos one by one.

  • How to make multiple ffmpeg commands run in parallel [duplicate]

    9 février, par Kim Mỹ

    I'm using the following ffmpeg command to compress video :

    


    `nice -n 10 ${ffmpegPath} -i "${chunkPath}" -c:v libx264 -preset fast -crf 28 "${compressedPath}"`


    


    However, when I run two instances of ffmpeg of this command to achieve parallelism :

    


    Either in two child processes within a single Node.js application or in two separate Node.js applications running at the same time, it seems only one command is processed, and the other is skipped.

    


    I've noticed that 2 FFmpeg instances are loaded into RAM and both create a starting file for the final compressed video, they finish compression around the same time. However, the total processing time is effectively doubled compared to compressing a single video file alone, which only takes half the time.

    


    I also try to pass the -threads argument but it produces same result.

    


  • UPDATED : Gstreamer queries NVR with wrong startTime

    12 septembre 2022, par james.kolinto

    I'm a newbie in gstreamer and I am trying to query a NVR(Network Video Recorder) to get recorded videos of my rtsp camera. Here is my gst pipeline :

    


    


    gst-launch-1.0 rtspsrc location="rtsp ://-NVR ip- :-NVRport-/ ?uuid=-cameraIP-&startTime=20220823170000000&endTime=20220824080200000"
 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink

    


    


    startTime is in the format of : Year-Month-Day-Hour(2 digits)-Minute(2 digits)-Seconds(5 digits)

    


    Here, gstreamer queries the NVR with given startTime and endTime, since there is a timezone difference between my computer and NVR I expect to get the recorded video between startTime + 3 and endTime + 3.

    


    However I get the recorded video starting from totally random startTimes !

    


    I am pretty sure that there is no problem with my NVR because the same url given as location here works well with VLC and ffmpeg-ffplay.

    


    Any thoughts ?