Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (69)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (9403)

  • ffmpeg - 'No such file or directory' though the file exists

    23 mai 2021, par Md Yeamin

    I am running following command to extract audio from videos and merge them into a single file :

    


    -y -hide_banner -i /storage/emulated/0/Videos/video_4.mp4 -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20210430-WA0010.mp4 -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20210430-WA0052.mp4 -filter_complex [0:a]atrim=duration=1119.028,volume=1[a_0];[1:a]atrim=duration=84.057,volume=1[a_1];[2:a]atrim=duration=278.029,volume=1[a_2];[a_0][a_1][a_2]concat=n=3:v=0:a=1[audio] -map [audio] -acodec aac -vn /storage/emulated/0/Videos/audio.aac 


    


    But ffmpeg says

    


    /storage/emulated/0/Videos/video_4.mp4: No such file or directory


    


    I can ensure that the file exist on that specified path. What might cause the issue ?

    


    Note : The same error occures for some other comands too, but in all the cases the video file exist in the specified path.

    


  • ffpmeg loop background music in audio file and add fadeout

    21 juin 2021, par Javed Saifi

    I have 2 files one is voice.mp3 and the second is background.mp3 currently I'm adding background music in voice.mp3 below is the command.

    


    ffmpeg -i voice.mp3 -i background.mp3 -filter_complex "[0]volume=1.0[a],[1]volume=0.5[b];[a][b]amix=duration=shortest" -ac 2 -c:a libmp3lame -q:a 4 output.mp3 -y


    


    What I want to achieve is.

    


      

    1. loop background.mp3 if it is shorter than voice.mp3 duration
    2. 


    3. if background.mp3 duration is greater than voice.mp3 then use duration shortest.
    4. 


    5. fadeout background
    6. 


    


  • Ffmpeg command to add shorter audio to video with loop

    5 avril 2018, par 1234567

    Ffmpeg command to add shorter audio to video with loop

    I am using this command to add audio to video, the audio is 18 seconds long and the video is 3 mins and 29 seconds long, this command adds audio but only for the first 18 seconds and then it stops

    "-y","-stream_loop","-1","-i", audio,"-i",j, "-filter_complex",
                           "[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];" +
                           "[1:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];" +
                           " [a1][a2]amerge,pan=stereo:c0code>

    how can we add the audio in a loop and add it to the video

    Edit

    For the time issue I had made the following changes

    "-y","-i",video,"-filter_complex","amovie="+audio+":loop=999,asetpts=N/SR/TB,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];" +[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];" +"[a1][a2]amerge,pan=stereo:c0code>

    this works good if we want to add audio the whole video

    now when we try to add audio which starts at a specific time and for a specific duration it fails
    here are two thing here,
    1) create a new clip with audio and video for specific duration
    this command doesnot work

    "-y","-i",video,,"ss",starttime,"-t", timetoedit,"-filter_complex","amovie="+audio+":loop=999,asetpts=N/SR/TB,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];" +[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];" +"[a1][a2]amerge,pan=stereo:c0code>

    or if we want to add just audio at a specific time

    like

    "-y","-i",video,"-filter_complex","amovie="+audio+":loop=999,asetpts=N/SR/TB,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];" +[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];" +"[a1][a2]amerge,pan=stereo:c0code>

    how can this be done

    this is useful
    https://superuser.com/questions/708125/add-audio-at-specific-time-in-video-using-ffmpeg

    but how can we use this for a specific start time and duration