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
Tag: ffmpeg
FFmpeg Laravel how can make ffmpeg -f concat -i mylist.txt -c copy Two_BeSureToWearFlowersInYourHair.mp3 by Laravel
how can make ffmpeg -f concat -i mylist.txt -c copy Two_BeSureToWearFlowersInYourHair.mp3 by Laravel FFmpeg Answer Take a look at exec and shell_exec functions and backtick operator in php. There are also a couple of ffmpeg libraries for php including PHP-FFMpeg and ffmpeg-php
Generate thumbnail from video using ffmpeg and add to mysql database
Im a noobie in php but still im trying 🙂 Im making bulk video uploader/importer to database. Looking ideas how to extract thumbnails from videos on upload and add those thumbnails to mysql database for each video… :/ Im trying using ffmpeg, but i dont found the way how to implement it to my code… Answer Concerning the FFMpeg part,
ffmpeg real-time encoding while file uploading by chunks
Now the process is: File upload Encode file with ffmpeg when file has been uploaded Can be done at the same time?, obviusly yes, but I don’t know how. The file upload process is by 8MB chunks stored in server, then, temporary I have videofile.ext.tmp that is growing up to final uploaded file. I read about ffmpeg -stream_loop or -loop
ffmpeg command executes via command line, but not via PHP script
I am working on a simple video upload and compression system and I am currently using the following process. First Step I use a multipart/form-data to upload the original video file, which I store in /var/www/site/videos_pre/video.mp4. My public folder is var/www/site/public_html/. I store an entry in my database with the video information. Second step I have a converter process which
php-ffmpeg installation on apache2
Trying to run PHP-FFMPEG and after install via composer I’m currently getting this. PHP Fatal error: Uncaught AlchemyBinaryDriverExceptionExecutableNotFoundException: Executable not found, …
Heroku : FFMpeg installed but php worker can’t find it
Context I’ve a RabbitMQ’s queue that contains AMQPMessage, those messages are referencing a video that needs to be treated (cut essentially and encoded in x264 also) Here’s the code that cause the …
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
FFmpeg – Resize Largest Video Dimension to 320
I’m trying to dynamically change the resolution of videos uploaded to a server via PHP, using FFmpeg. IE, I want to preserve portrait or landscape orientation – if Y is higher than X, I want to change …