Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (106)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (6146)

  • ffmpeg get last x seconds with high accuracy

    12 mars 2018, par rbarab

    I would like to batch process mp4 videos, getting the last x seconds of each and saving them to individual files.
    I need to do this with a very high accuracy, preferably to 0.001 seconds or better.
    Found a related question (FFMPEG : get last 10 seconds) suggesting -sseof, which works great, but as the answer said it’s not completely accurate with stream copy.

    I am trying to match video lengths to the length of a reference video.

    Would I need to re-encode ? Can sseof handle this accurate enough if I specify duration as 00:00:00.000000 (which I get from reference video ffprobe) ?

    Please see related ffprobe -i below, all videos to be processed have this same encoding.

      Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:00:58.67, start: 0.000000, bitrate: 639 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360, 499 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 131 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    duration=58.673000

    Is there a better way to achieve frame-level accuracy ? As end goal I would need to overlay these videos with 25fps ’frame-level accuracy’.

    Thanks a lot !

  • FFMPEG, Extract first frame and hold for 5 seconds

    8 mars 2018, par Nick Weeden

    I’m trying to overlay a 15 second video transition on the beginning of an image sequence (png sequence with an alpha to reveal the image below), which I can do fine with the overlay filter. But I want to hold the first frame of the image sequence for 5 seconds before playing the animation. I’ve tried trim/select but I can’t seem to get it be a duration of 5 seconds, I also can’t seem to concat it back with the other video to do the transition. So my questions are :

    1. How do I get the first frame and hold it for 5 seconds, the method below works but doesn’t seem like the cleanest option ?

    -framerate 30 -t 60.0 -i input1.%04d.jpg -framerate 30 -t 15.0 -i transition1_%03d.png -filter_complex "color=c=red:d=5:s=480x270:r=30[bg] ; [bg][1:v]overlay[transhold] ; [0:v][transhold]overlay=repeatlast=0[out]"

    1. How can I concat that with the original before I overlay it on the main video, I can do it with two overlays with the start of the actual transition offset by the length of the hold using the command below, but it seems a bit clunky.

    -framerate 30 -t 60.0 -i input1.%04d.jpg -framerate 30 -t 15.0 -i transition1_%03d.png -filter_complex "color=c=red:d=5:s=480x270:r=30[bg] ; [1:v]split[trans][transhold] ; [trans]setpts=PTS+5/TB[trans] ;[transhold]select=eq(n\0)[transhold] ;[bg][transhold]overlay[transhold] ; [0:v][transhold]overlay=repeatlast=0[tmp1] ; [tmp1][trans]overlay[out]"

    This is all part of a larger command where I’m compiling four HD images into a 4k feed each with it’s own transition so the cleaner I can be the better really. I’d also like to be able to vary the duration of the hold for the different HD inputs. If I need to I could bring in the first image as a different input but I would still need to concat them. I thought there must be a way to do this with filters...

  • ffplay - Two videos (.mp4), one display screen and just a few seconds to display them together [closed]

    1er juillet 2024, par Gabe Mata

    I have two videos (.mp4), one display screen and just a few seconds to display them together.

    


    I am able to displayed them together on a split screen via ffmpeg and then opening the output file. The problem is that it takes a long time (3 minutes).

    


    Here is the Code : (first code)

    


    ffmpeg -i _20180114094126_flightvideo_cam1.mp4      \
       -i _20180114094126_flightvideo_cam2.mp4       \
       -filter_complex "                              \
               [0:v]crop=1280:360:0:0[v0];             \
               [1:v]scale=1280:-1,crop=1280:360:0:0[v1];\
               [v0] [v1]vstack[v]" \
       -map [v]                     \
       -vcodec libx264               \
       -pix_fmt yuv420p               \
       -preset ultrafast               \
        6000screen_take1.mkv  


    


    On the other hand, when using ffplay I am able to modify one video at the time and play it right away :

    


    $ ffplay -i _20180114094126_flightvideo_cam1.mp4 -vf scale=425:-2 


    


    How can I have the same outcome as the first code above, but display it on my screen right away(without waiting for the output file to be created, 3 minutes in this case) ?

    


    Please let me know if this is not clear.