FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Working with Video in PHP





alalex
Hello guys,
I'm really not sure if this can be done with PHP, so if any of you knows anything about it, it would be great.

A while ago I developed a tool to put subtitles to that famous Hitler scene (Hitler Creator), but those subtitles are a simple overlay.

I need to know if there is a way to add those subtitles to the videoclip permanently, creating a copy of the video that has the subtitles on it, so that I can enable direct YouTube upload of your videos

Any information, classes, or tools would be perfect

PD: If nothing else can be done, I guess I could allow uploading the original clip, and then adding YouTube subtitles via their API (If they allow so)
jmraker
There are no video related functions in php to work with. You can try looking into http://corp.kaltura.com/
http://corp.kaltura.com/video_platform/video_editing
In their subtitle demo, the subtitles aren't really in the video.

or getting a command line video tool like mencoder
http://ubuntuforums.org/showthread.php?t=300249
http://forum.videohelp.com/threads/291805-ffmpeg-baking-subtitles-into-a-video
alalex
That's what I thought, but this application doesn't deserve the server load required to create the videos that way so I'll just forget it

Thanks
macky
yeah jmraker is right... as far as i know, it is impossible to do it with php.

even if possible, i believe it would be not great to use php for videos since PHP was developed mainly for web development and etc.

Although there are some libraries that can manipulate images such as GD library, PDF output using php and many many more...
rvec
most sites that do stuff with video's and PHP use ffmpeg on the server to send the video's to. If for some reason you aren't able to run your own server, there are some services out there that will do all kind of conversion and stuff on your video's (not free though).
Related topics
BlowDarts
How to get your dynamic PHP website crawled better by se ?
What's Your ISP? And what do you think of it? Poll
xbox 360
Any magicians here?
PHP Login Problem
Hey!!!
Jako loves come here
What about this logo ?
How to Make A PHP Portal.
Introduction/ web design
to make web site
Php nuke is driving me mad
PHP installed
PHP Editor's Available - FREEWARE
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.