Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (92)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10570)

  • Creating mosaic stack 25 videos ffmpeg windows cmd

    26 décembre 2019, par KIngking431

    Hi I am trying to make a video mosaic of 25 videos in ffmpeg

    I used Jim B’s perl script to make this script, previous on my mac it worked.
    But I can’t get it to work on my windows computer in command prompt.
    I think it executes each line of code individually

    ffmpeg \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Aarhus H 2019-12-25 15-06-03.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Aller°d 2019-10-15 17-09-32.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Ballerup St. 2019-10-19 10-58-47.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Charlottenlund.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Cph Lufthavn 2019-11-23 12-49-47.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Dyssegσrd St. 2019-10-29 19-41-17.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Ejby St. 2019-10-30 19-28-05.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Fruens B°ge St.2019-11-04 08-34-53.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Give St. 2019-11-05 12-49-39.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Hjerm St. 2019-11-13 13-40-01.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Islev St.2019-11-18 11-40-19.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Jyderup St.2019-11-19 08-18-10.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Kildebakke St 2019-11-20 20-15-20.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Lem St.2019-11-24 06-51-02.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Middelpart St 2019-11-24 19-07-51.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//N°rre Aaby St 2019-11-26 17-01-06.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Ordrup St 2019-11-28 12-10-28.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Padborg St 2019-11-28 14-05-33.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Roskilde St. 2019-12-02 11-53-34.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Snedsted St. 2019-12-06 17-06-49.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Trekroner St. 2019-12-12 20-39-38.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Ulstrup St. 2019-12-16 09-58-18.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Vojens St. 2019-12-19 12-02-10.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//Ydby St. 2019-12-25 16-55-38.mkv \
      -i C:/Users/Privat/Desktop/27-videoer/normalized//╪lgod St. 2019-12-23 09-36-51.mkv \
     -filter_complex " \
         [0:v] setpts=PTS-STARTPTS, scale=qqvga [a0]; \
         [1:v] setpts=PTS-STARTPTS, scale=qqvga [a1]; \
         [2:v] setpts=PTS-STARTPTS, scale=qqvga [a2]; \
         [3:v] setpts=PTS-STARTPTS, scale=qqvga [a3]; \
         [4:v] setpts=PTS-STARTPTS, scale=qqvga [a4]; \
         [5:v] setpts=PTS-STARTPTS, scale=qqvga [a5]; \
         [6:v] setpts=PTS-STARTPTS, scale=qqvga [a6]; \
         [7:v] setpts=PTS-STARTPTS, scale=qqvga [a7]; \
         [8:v] setpts=PTS-STARTPTS, scale=qqvga [a8]; \
         [9:v] setpts=PTS-STARTPTS, scale=qqvga [a9]; \
         [10:v] setpts=PTS-STARTPTS, scale=qqvga [a10]; \
         [11:v] setpts=PTS-STARTPTS, scale=qqvga [a11]; \
         [12:v] setpts=PTS-STARTPTS, scale=qqvga [a12]; \
         [13:v] setpts=PTS-STARTPTS, scale=qqvga [a13]; \
         [14:v] setpts=PTS-STARTPTS, scale=qqvga [a14]; \
         [15:v] setpts=PTS-STARTPTS, scale=qqvga [a15]; \
         [16:v] setpts=PTS-STARTPTS, scale=qqvga [a16]; \
         [17:v] setpts=PTS-STARTPTS, scale=qqvga [a17]; \
         [18:v] setpts=PTS-STARTPTS, scale=qqvga [a18]; \
         [19:v] setpts=PTS-STARTPTS, scale=qqvga [a19]; \
         [20:v] setpts=PTS-STARTPTS, scale=qqvga [a20]; \
         [21:v] setpts=PTS-STARTPTS, scale=qqvga [a21]; \
         [22:v] setpts=PTS-STARTPTS, scale=qqvga [a22]; \
         [23:v] setpts=PTS-STARTPTS, scale=qqvga [a23]; \
         [24:v] setpts=PTS-STARTPTS, scale=qqvga [a24]; \
         [a0][a1][a2][a3][a4][a5][a6][a7][a8][a9][a10][a11][a12][a13][a14][a15][a16][a17][a18][a19][a20][a21][a22][a23][a24]xstack=inputs=25:layout=0_0|w0_0|w0+w1_0|w0+w1+w2_0|w0+w1+w2+w3_0|0_h0|w0_h0|w0+w1_h0|w0+w1+w2_h0|w0+w1+w2+w3_h0|0_h0+h1|w0_h0+h1|w0+w1_h0+h1|w0+w1+w2_h0+h1|w0+w1+w2+w3_h0+h1|0_h0+h1+h2|w0_h0+h1+h2|w0+w1_h0+h1+h2|w0+w1+w2_h0+h1+h2|w0+w1+w2+w3_h0+h1+h2|0_h0+h1+h2+h3|w0_h0+h1+h2+h3|w0+w1_h0+h1+h2+h3|w0+w1+w2_h0+h1+h2+h3|w0+w1+w2+w3_h0+h1+h2+h3[out] \
         " \
       -map "[out]" \
       -c:v libx264 -t '30' -f matroska -  | ffplay -autoexit -left 10 -top 10  -

    I tried making powershell scripts for this but with no luck, I also tried to run it in the bash implemented in cmd.
    Is there something fundamental about commandprompt I am missing ?

  • AForge.Video.VideoFileWriter, Video Quality loss after a second

    29 décembre 2019, par Just another Dev

    I tried to use AForge to create mp4 video from images..but experience this quality loss after about 1 - 2 second into the video. Just wondering if anyone knows what went wrong with my code ?

    using AForge.Video.FFMPEG;
    VideoFileWriter writer = new VideoFileWriter();
    writer.Open(fileName, _width, _height, _frameRate, VideoCodec.MPEG4, 800000);
    var s = AForge.Imaging.Image.FromFile(@"[path]\image.jpg");
    int frameCount = _frameRate * scene.Time;
    for (int i = 0; i < frameCount; i++)
    {
       writer.WriteVideoFrame(s);
    }
    writer.Close();

    I use the above code to create a 3 second 1080p video with frame rate 60, bit rate 800k, and using this image as an example : https://www.bushandbeach.co.nz/wp-content/uploads/2019/05/A-Taste-of-Auckland-Full-Day-1-opt.jpg

    the output video is in here : https://youtu.be/j0z7711cyOM

    as you can see the image quality seems to be ok, for about 2 seconds and then it blurs out in the last second.

    Thanks so much

  • ffmpeg and libx264 videos do not play on video player

    24 décembre 2019, par Tobi

    for a few months now I encountered a problem using FFmpeg in combination with the video code h264. The video generation works fine and without any errors. I am using the following script since 2015 to build my videos from single pictures :

    #!/bin/bash                                                                    
    # ------------------------------------------------------------------------------
    #                                                                              
    # Video generator                                                              
    # Tobias Holzmann                                                              
    # Date: 18.03.15                                                                
    # Update: 24.12.2019                                                            
    # Switch back to ffmpeg from avconv                                            
    #                                                                              
    # ------------------------------------------------------------------------------

    frameRate=30                                                                    
    vcodec="h264"                                                                  
    crf=18              # Between 0-51; 23 is default. 0 = lossless                


    # ------------------------------------------------------------------------------

    ffmpeg \                                                                        
       -f image2 \                                                                
       -r $frameRate \                                                            
       -i animation.%4d.png \                                                      
       -r $frameRate \                                                            
       -crf $crf \                                                                
       -vcodec $vcodec \                                                          
       AVideo.flv                                                                  


    # ------------------------------------------------------------------------------

    Today I made it a bit more fancy and easier to use. However, the problem is, that all videos I generate with h264 do not play at all using the vlc player or the common Ubuntu video player. I get errors such as :

    shorty@animation: vlc AVideo.flv
    VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
    [000055c0e70af420] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [NULL @ 0x7fe318c2c2a0] Invalid NAL unit size (30490 > 15039).
    [NULL @ 0x7fe318c2c2a0] missing picture in access unit with size 15733
    [h264 @ 0x7fe318c2c2a0] Invalid NAL unit size (30490 > 15039).
    [h264 @ 0x7fe318c2c2a0] Error splitting the input into NAL units.
    [00007fe324c1c420] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  430.50  Thu Sep  5 22:38:52 CDT 2019 for hardware decoding
    [h264 @ 0x7fe325428ac0] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324c1fb00] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324eb9d80] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ed6080] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ef2400] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324f0e780] hardware accelerator failed to decode picture
    [h264 @ 0x7fe325428ac0] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324c1fb00] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324eb9d80] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ed6080] hardware accelerator failed to decode picture
    [h264 @ 0x7fe324ef2400] hardware accelerator failed to decode picture
    [00007fe324c1c420] main decoder error: buffer deadlock prevented
    [h264 @ 0x7fe324f0e780] hardware accelerator failed to decode picture
    ...
    ...

    I am wondering if someone does know where the problem is located. Any hint or feedback is appreciated. Thank you in advance and kind regards, Tobi.