Skip to content
Advertisement

Tag: ffmpeg

Concatenate two audios with different duration time

I need to concatenate two audios, but I need to keep the size of the video with the size of the audio “backgroud.wav”. I’m doing like this: But the result is the size of the audio “voz.wav” which would be 30 seconds. While “background.wav” is 3 minutes long. I need the output to have the time of “background.wav”. How can

How to install ffmpeg for PHP

I’ve successfully installed ffmpeg using ssh, as root, on my dedicated server (CentOS 7). ffmpeg works fine – but now I need to use it without root access. When i try to use ffmpeg without root access, I get the following error : The final goal is to be able to use ffmpeg inside my PHP scripts which do not

ffmpeg not detecting video file duration

Am using the following code to detect video duration before uploading using ffmpeg, but it doesn’t seem to work: I need to echo video duration as text input to sql before uploading file to server. Answer i used https://github.com/wseemann/FFmpegMediaMetadataRetriever with following code to retrive video duration

Advertisement