Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (81)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (9826)

  • How to sync two videos of different length

    26 août 2020, par Huhngut

    I got two video files. The first one has good resolution but the wrong language and the second one has bad resolution but the wished language. Both of the files got a few seconds of black screen at the beginning but these seconds are different. I got a lot of these files and the intro seems to be always of a different length so I can't say always remove 2 seconds of audio and 3 seconds of video and then merge them.

    


    So I am wondering if there's some tool out there which s able to sync these files automatically.

    


    But it won't be enough to simply search for two identical images and calculate the time distance because the resolution is different (might its possible to scale the better one down for comparison) but even in this case, the program has to evaluate if the image has enough detail for comparison so it won't compare 2 black images. It would be good if the program scales the images to 50x50 to save time while comparing

    


    Does someone know any tool or has suggestions might even some python/java code for developing one. Any search suggestions or name ideas

    


  • Auto aspect on stream with ffmpeg

    6 mars 2018, par Felix Bäder

    I currently try to get an image each second from a udp stream with the following configuration :

    ffmpeg -i udp://localhost:1234 -vf "scale=iw*sar:ih , pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" -aspect 16:9  -update 1 img.jpg

     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: mjpeg, yuvj420p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.107.100 mjpeg
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1

    If the first frame of stream is 4:3 black borders are added to the output image. If the aspect is changed in stream from 4:3 to 16:9 the output image still contains the black broder and the aspect of the image between the borders is 4:3.

    If I restart ffmpeg while the aspect is 16:9 the borders are removed from the output and the output image looks fine.

    In the console I get the following log on the aspect change of stream :

    [swscaler @ 0x7fc6b1035600] deprecated pixel format used, make sure you did set range correctly

    Is there any option to fix this issue.

  • FFMPEG waveform transparent, background solid color

    11 mai 2016, par user1152226

    I am trying to generate a waveform with ffmpeg, I want the background to be a solid color, and the actual waveform to be transparent. The following achieves partially what i want, except that in has a black background. I would like to be able to change this to any color, but have the waveform be transparent. How can i achieve this with ffmepg ?

    ffmpeg -i input.mp3 -filter_complex \
    "[0:a]aformat=channel_layouts=mono,\
    compand=gain=-6, \
    showwavespic=s=600x120, \
    colorchannelmixer=rr=1:gg=0:bb=0:aa=1,\
    drawbox=x=(iw-w)/2:y=(ih-h)/2:w=iw:h=1:color=red,\
    format=rgba,\
    colorkey=#ff0000" \
    -vframes 1 output.png

    This generates this waveform : the background is black, the waveform itself is transparent. How do I change the background color to a different color, while still keeping the waveform transparent ?

    enter image description here