Recherche avancée

Médias (91)

Autres articles (50)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (6428)

  • Stacking videos with ffmpeg via MATLAB not working as expected

    18 juillet 2022, par ersatzsheep

    I am stacking 4 video inputs in a 2x2 grid and running into a conversion failure.

    


    Basically, at least one of the videos is just a filler black video that I generated with this line (MATLAB, hence the eval) :

    


    eval(['!ffmpeg -framerate 1/3600 -i black_frame.JPG -c:v libx264 -t 3600 -pix_fmt yuv420p -vf scale=320:240 black_frame.mp4']);


    


    The other video inputs are 4 hr long videos with identical specs. I've concatenated them with this line :

    


    eval(['!ffmpeg -i "' v1 '" -i "' v3 '" -i "' v2 '" -i "' v4 '" -filter_complex "  [0:v] setpts=PTS-STARTPTS, scale=qvga [a0]; [1:v] setpts=PTS-STARTPTS, scale=qvga [a1]; [2:v] setpts=PTS-STARTPTS, scale=qvga [a2];  [3:v] setpts=PTS-STARTPTS, scale=qvga [a3];  [a0][a1][a2][a3]xstack=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[out] "  -map "[out]" -c:v libx264 "' output '"'])  


    


    When I input v1-v4 with normal videos (not the filler black video), it outputs very quickly and everything is good. The line to generate the filler black video is very fast too. But when I sub one of the video inputs with the file path for the filler black video, the speed tanks exponentially, stalls, and conversion fails.

    


    Any pointers for me ? I also tried just subbing one of the inputs with a black image file instead of generating a whole video and inputting that. But it does the same thing :/ Does it have to do with frame rate ? Should I try a different approach ? Thanks.

    


  • ffmpeg - less frames getting extracted than expected

    20 juin 2021, par Vrajesh Doshi
    


    ffmpeg -i instagram.mp4 -vf fps=29.97 thumb%06d.jpg -hide_banner

    
 


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'instagram.mp4' : Metadata :
 major_brand : isom
 minor_version : 512
 compatible_brands : isomiso2avc1mp41
 encoder : Lavf55.19.104 Duration : 00:00:13.61, start : 0.000000, bitrate : 1163 kb/s
 Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x640 [SAR 1:1 DAR 1:1], 1099 kb/s, 29.97 fps,
 29.97 tbr, 11988 tbn, 59.94 tbc (default)
 Metadata :
 handler_name : VideoHandler
 Stream #0:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
 Metadata :
 handler_name : SoundHandler Stream mapping : Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native)) Press [q] to stop, [?] for help [swscaler @ 0x55b2b53cf440] deprecated pixel format used, make sure
 you did set range correctly Output #0, image2, to 'thumb%06d.jpg' :
    
 Metadata :
 major_brand : isom
 minor_version : 512
 compatible_brands : isomiso2avc1mp41
 encoder : Lavf57.83.100
 Stream #0:0(und) : Video : mjpeg, yuvj420p(pc), 640x640 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
 Metadata :
 handler_name : VideoHandler
 encoder : Lavc57.107.100 mjpeg
 Side data :
 cpb : bitrate max/min/avg : 0/0/200000 buffer size : 0 vbv_delay : -1 frame= 405 fps=231 q=24.8 Lsize=N/A time=00:00:13.51 bitrate=N/A speed=7.72x video:5961kB audio:0kB subtitle:0kB other streams:0kB
 global headers:0kB muxing overhead : unknown

    


    



    The video duration is 13.61 seconds and frame rate is 29.97. So I was expecting 13.61 * 29.97 = 407.8917 i.e. 407 frames. But have got 405 frames. I am new to ffmpeg, need help to correctly get all 407 frames.

    



    I had also tried following command,

    



    ffmpeg -i instagram.mp4 thumb%06d.jpg -hide_banner


    



    but the output was same 405 frames.

    



    Possibly the start 2 frames are missing.

    



    I need to display the frames generated in the base video timeline. And on clicking on the frame I need to exactly seek the video to the frame position using HTML5 currentTime. Since the first 2 frames are not getting available, exact mapping is not getting possible.

    



    Please guide.

    


  • Revision 32595 : avec le numero de version des plugins

    1er novembre 2009, par fil@… — Log

    avec le numero de version des plugins