Hindi movies, hindi songs - Debt Consolidation - Valentine Gifts For Him - Free All Ebook PDF Download - Livescore euro 2008

PDA

View Full Version : How to Convert various video formats to .swf using php


adamjblakey
Apr 23rd 2007, 2:57 am
Hi,

I need to convert a user's upload to a .swf, basically what you tube does. From reading different things on the internet i understand that this cannot be done with just php something has to be done on the server side? But don't know exactly how to go about this?

Cheers,
Adam

phd
Apr 23rd 2007, 3:34 am
use ffmpeg (http://ffmpeg.mplayerhq.hu/) the best option for what u r looking for.

Subikar
Apr 23rd 2007, 3:45 am
Go and search ffmpeg this will solve your problem.

adamjblakey
Apr 25th 2007, 2:25 am
I have now installed ffmpeg on the server but i don't know how to go about the writing a script to convert e.g avi, mpeg etc format to .flv I have tried looking on google but cannot find the information need. Can anyone point me in the right direction?

MMJ
Apr 25th 2007, 3:29 am
You would want to convert it to .flv not .swf :)

adamjblakey
Apr 25th 2007, 4:10 am
Yea .flv :)

keaya
Feb 28th 2009, 7:29 am
I want to share E.M. Total Video Converter. I have been using it and I think it is the best one on the market.

gibbs_h
Feb 28th 2009, 8:01 am
you can use following commands to convert other video format to FLV :

ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320×240 video.flv
Where :
-i input file name
-ar audio sampling rate in Hz
-ab audio bit rate in kbit/s
-f output format
-s output dimension

Hope this would help you :)

candice7683
Mar 16th 2009, 1:38 am
i am using video to SWF (http://www.video-to-flash.com/video_to_flash/),with this tool,you can convert any video formats to SWF or flv.hope you can have a try.;)

SmallPotatoes
Mar 16th 2009, 2:41 am
i am using video to SWF,with this tool,you can convert any video formats to SWF or flv.hope you can have a try.;)

It's useless for the poster, who wants automated conversion performed on the web server.

gibbs_h's answer is the correct one, and it is also free.

Kaizoku
Mar 16th 2009, 3:03 am
You can also try mencoder, it is more advanced than ffmpeg.

djdeth
Mar 18th 2009, 5:59 pm
If you are doing it with PHP, get FFMPEG-PHP