Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (71)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8472)

  • add part of audio with loop to video using ffmpeg

    7 janvier 2019, par 1234567

    I have a video 5 min 30 seconds long and an audio 4 mins 30 seconds long

    I want to add part of audio(part of audio from 1 min 25 sec to 1 min 47 sec) to video(part of video from 2 min 30 sec to 3 min 55 sec)

    what I have been able to do is loop audio and add it to video

    with this command

    "-y","-i",j, "-filter_complex",
                           "amovie="+audio+":loop=1000," +
    "asetpts=N/SR/TB,atrim=0:85,adelay=150000|150000,apad," +
    "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.5[a1];" +
    "[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=3.5[a2];" +
    " [a1][a2]amerge,pan=stereo|c0code>

    how ever this is the problem I have faced

    It does add audio of 85 sec to video from 2:30 to 3:55 , but it starts from 0:00 of audio to 1:25 part of audio,

    What I want is to have a 22 sec clip of audio from (1 min 25 sec to 1 min 47 sec part of audio file) and loop it for 85 seconds and add that to video file

    how can that be done

  • avcodec/proresdec : rename dsp part for 10b and check dspinit for supported bits...

    17 novembre 2018, par Martin Vignali
    avcodec/proresdec : rename dsp part for 10b and check dspinit for supported bits per raw sample
    

    based on patch by Kieran Kunhya

    • [DH] libavcodec/proresdec2.c
    • [DH] libavcodec/proresdsp.c
    • [DH] libavcodec/proresdsp.h
    • [DH] libavcodec/simple_idct.c
    • [DH] libavcodec/simple_idct.h
    • [DH] libavcodec/tests/dct.c
    • [DH] libavcodec/x86/proresdsp_init.c
  • Extract part of a video using ffmpeg_extract_subclip - black frames

    20 août 2020, par albert1905

    I'm trying to use : "ffmpeg_extract_subclip" for extracting part of a video.

    


    And I'm facing a few problems :

    


    1.when I'm cutting a small video (1-3seconds) I'm getting black frames, only audio is working.
2.when I'm cutting longer video, the output video is stuck 2-3 seconds before the end.

    


    This is my simple code :

    


    from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

input_video_path = 'myPath/vid1.mp4'
output_video_path = 'myPath/output/vid1.mp4'
t1 = 6.5
t2 = 16    # random numbers, my last attempt..
    
ffmpeg_extract_subclip(input_video_path, t1, t2, targetname=output_video_path)


    


    I tried to look inside the code :
ffmpeg_extract_subclip Function

    


    But still couldn't understand what's wrong.. :(

    


    I'm still trying, and if anyone knows the problem or have a different approach, that will be amazing.

    


    Thanks a lot for your help !