Jump to content

Adding intro/outro to a movie? PHP FFMPEG FLVTOOL2?


darkwolf

Recommended Posts

Alright, we can use the simple FFMPEG conversion command from the command line to convert a video to FLV.

 

 

exec("ffmpeg -i meow.wmv -ar 22050 -f flv  output/meow.flv");

 

 

Now say I have two seperate videos, one called intro.flv and one called outro.flv

 

How would I add these to the begining and end of output/meow.flv.

 

 

Also, I know using GD, or something alike, we can put text into a picture....

 

What about putting text into a video, on every frame.

 

 

I'm looking for something simple.

 

 

 

Maybe this is already answered here, maybe I'll answer myself, but I'll get results and thats all that matters, get my scripts working the way they need to, and anyone else can use this to help them.

When you say "add" do you mean append the intro/outro video to the actual data of the movie or like display the video at the beginning and end of a page? If you mean append the data to the actual video, you'll have to use some command line tool and I guess you can execute it through PHP, but PHP won't do the video editing for you. If you mean display it on different pages of a web page, well then that's different.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.