Recherche avancée

Médias (91)

Autres articles (83)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (14487)

  • Imprint an Image above a video's canvas [duplicate]

    25 août 2021, par ichthyocentaurs

    I want to add an image strip above/below a video using ffmpeg, but currently it overlaps the video content.

    


    The command I was using

    


    ffmpeg -i ./image_path.png -filter_complex \"[1:v][0:v]scale2ref=(3000/200)*ih/8/sar:ih/8[wm][base];[base][wm]overlay=0:0\" -pix_fmt yuv420p -c:a copy output.mp4

[wm]overlay=0:-200 Does not imprint anything

"pad=height=ih+40:color=#71cbf4,overlay=(main_w-overlay_w)/2:main_h-overlay_h" places at the bottom of the video canvas


    


    I want to place my image strip either above or below the video canvas.

    


  • ffmpeg render file with transparent background

    16 novembre 2022, par Валентин Никин

    I have the next scheme of tracks. I need to render that tracks to one track with ffmpeg.

    


    enter image description here

    


    After rendering it's should looks like

    


    enter image description here

    


    I want to use the next scheme :

    


      

    1. Rendering Track 001 to file.
    2. 


    3. Rendering Track 002 to file.
    4. 


    5. Overlay Track 002 on Track 001.
    6. 


    


    For the "Track 001" I can "concat" clips to one track without any problem.

    


    But the question is how I should concat clips for the "Track 002" ? The "Empty" places must be transparent for the overlaying on the 3 step.

    


    I already tried to use for the Empty places input with transparent color. But on the overlaying step transparent doesn't work.

    


    ffmpeg -f lavfi -i color=c=red@0.0:s=1920x1080:r=25:d=1 \
    -i Clip004.mp4 \
    -i Rendered_track_001.mp4 \
    -filter_complex "[0:v] [1:v] xfade=transition=fade:duration=2:offset=0.5[trak]; \
                    [2:v][trak]overlay[out]" \
     -map "[out]" -c:v vp9 -c:a copy test.webm


    


    I also tried to use alphaextract and alphamerge like this

    


    ffmpeg -f lavfi -i color=c=red@0.0:s=1920x1080:r=25:d=1 \
    -i Clip004.mp4 \
    -i Rendered_track_001.mp4 \
    -filter_complex "[0:v] [1:v] xfade=transition=fade:duration=2:offset=0.5[out]; \
                    [out]alphaextract[alpha];[2:v][alpha]alphamerge[out1]" \
     -map "[out1]" -c:v vp9 -c:a copy test.webm


    


    But it's fail with error

    


    [AVFilterGraph @ 0x556557d3ce00] The following filters could not choose their formats: 
Parsed_alphaextract_1
Consider inserting the (a)format filter near their input or output.
Error reinitializing filters!
Failed to inject frame into filter network: Input/output error
Error while processing the decoded data for stream #2:0


    


    Any help would be appreciated.

    


  • insert audio into another audio file (eg a censor bleep)

    3 avril 2019, par Redzarf

    I need to insert a short beep into another audio file (similar to a censorship bleep) using linux and/or php.

    I’m thinking there should be some way to do it with ffmpeg (with some combination of -t, concat, map, async, adelay, itsoffset ?) or avconv or mkvmerge - but haven’t found anyone doing this. Maybe I need to do it in 2 stages somehow ?

    For example if I have a 60 second mp3 and want to beep out 2 seconds at 2 places the desired result would be :

    0:00-0:15  from original
    0:15-0:17  beep (overwrites the 2 secs of original)
    0:17-0:40  from original
    0:40-0:42  beep
    0:42-0:60  from original

    I have a 2 second beep.mp3, but can use something else instead like -i "sine=frequency=1000:duration=2"