php ffmpeg compression video issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

php ffmpeg compression video issue

Post by jeevanism »

hello all,

how to do video compression using ffmpeg
Last edited by jeevanism on Sun Jan 29, 2012 12:35 am, edited 3 times in total.
User avatar
tr0gd0rr
Forum Contributor
Posts: 305
Joined: Thu May 11, 2006 8:58 pm
Location: Utah, USA

Re: php ffmpeg compression video issue

Post by tr0gd0rr »

What is the actual command you are using? You can convert one video after another using the && operator. You probably also want the process to fork so your php script doesn't have to wait for output. You can do that by adding "> /dev/null &" to the end.

Code: Select all

ffmpeg ... && ffmpeg ... > /dev/null &
Last edited by tr0gd0rr on Mon Jan 30, 2012 10:01 am, edited 1 time in total.
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

Re: php ffmpeg compression video issue

Post by jeevanism »

I will try this and post the result. thanx for the response.
Post Reply