Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (87)

Sur d’autres sites (15971)

  • ffmpeg convert video to another format keep, audio and video bitrate and resolution

    1er avril 2017, par How to

    How i can convert video to another format using FFmpeg and keep the same audio, video bitrate and resolution on original file.

    ex.

    ffmpeg -i video.mp4 args output.avi(or another format)
  • overlay one video on top of anotherusing ffmpeg with time delay on overaly video

    27 septembre 2022, par user13773537

    I have tried the below command but the output file length is coming same as overlay video

    


    ffmpeg -i bg.webm -i ol.webm -filter_complex "[1:v]setpts=PTS-STARTPTS+1/TB[delayedGif];[0:v][delayedGif]overlay=enable='between(t,1,3)'[out]" -map [out] completesetpts.webm



    


    I have also tried the below command but it cuts the overlay video upto between start duration

    


    ffmpeg -i background.webm -vf "movie=overlay.webm, scale=250: -1 [inner]; [in][inner] overlay =10:10:enable='between(t, 05, 13)' [out]" output.webm


    


    Main Video 5mins
Overlay 2min should start from 1min
The output video of 5mins overlay should start from 1min to 3min

    


  • Overlay streaming video on another video with ffmpeg

    9 août 2017, par user3354787

    I am running a robot that uses fmpeg to send straming video to letsrobot.tv You can see my bot on the website called patton II. I want to overlay a video HUD on the stream.

    I have found a link explaining how to do this, however I do not know how to do it with a streaming video as input instead of a single image file.

    This is the command that is currently being used to stream the video :

    overlayCommand = '-vf dynoverlay=overlayfile=/home/pi/runmyrobot/images/hud.png:check_interval=500'
    videoCommandLine = '/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video%s %s -f mpegts -codec:v mpeg1video -s 640x480 -b:v %dk -bf 0 -muxdelay 0.001 %s http://%s:%s/hello/640/480/' % (deviceAnswer, rotationOption, args.kbps, overlayCommand, server, videoPort)
    audioCommandLine = '/usr/local/bin/ffmpeg -f alsa -ar 44100 -i hw:1 -ac 2 -f mpegts -codec:a mp2 -b:a 32k -muxdelay 0.001 http://%s:%s/hello/640/480/' % (server, audioPort)