Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (91)

Sur d’autres sites (16220)

  • How to overlay two video files including audio of each video using ffmpeg"

    11 janvier 2023, par user255048

    i would like to merge some music (video file) and singing (video file) into one video file.

    


    i've tried with this :

    


    ffmpeg -i music.mp4 -itsoffset 2 -i sing01.mp4 -filter_complex  overlay=635:300 test.mp4


    


    and everything is fine, except that i cannot hear the singing. what i should add to this command to do the job correctly ?

    


    thanks

    


  • ffmpeg - match a video with another video's codec

    31 mars 2022, par Nick Ginanto

    Is it possible to give a video as a reference for compression, resolution, codec to enact on another video ? So it will be easier to make videos the same instead of manually

    


  • moviepy output video only has sound in vs code and chrome but not in quicktime (the mac video player)

    24 janvier 2023, par UrLocalGoose

    I am using moviepy to make simple videos that require adding background music to a video. I have built essentially the whole application but I ran into a problem when showing people the videos. I tried emailing myself the video and it didn't have any sound, then I tried to play the video with the built in mac video player, quicktime, and it didn't have any sound, however, when I played the video in vs code's video player it worked perfectly, I also used the file path to view the video in chrome, and that worked too. I suspect that it has something to do with the encoding but I am a novice when it comes to video and audio encoding. This is what my code looks like :

    


    from moviepy.editor import *

background_video = VideoFileClip("./background.mp4")

background_music_audio = AudioFileClip("./music.wav")

comp = background_video.set_audio(background_music_audio)

comp.write_videofile("./test.mp4")


    


    I tried to make a video with background music but it had no sound