Hi, does anyone knows where to get a script that allows you to convert video to 3gp format for mobile. I would like to have a script that could convert video file to 3gp format just like this site here
http://media-convert.com/

anyone can help me with this script. I just want to convert to 3gp format and nothing else. Just take that site as an example pf 3gp convertion.

    Though you could, theoretically, write your own video format converter in PHP, it'd be slow, and extremely annoying to write.

    You'd be better off calling an external executable file from PHP, using the system() command.

    Find a good command-line utility that can perform the conversion you need, and which will run on your web server's operating system, and use that.

      But how to do that could you help me further, thanks. Is it possible to write in cgi or perl.

        sokheng wrote:

        Is it possible to write in cgi or perl.

        No, you can't write it in CGI: CGI is a communications protocol. Perl: yes, but it would be even more of a hassle than in PHP - you'd still be better off calling an external executable file.

        greenie2600 wrote:

        Find a good command-line utility that can perform the conversion you need

        sokheng wrote:

        But how to do that

        I hear Google's a pretty good site for doing things like that. Would you like the URL?

          Ya sure, it would be great if there is such tool. Can you post it here?

          I dont have much knowledge in php, even if i have that command-line utility, what can i do. Anyone willing to help, i can offer US$30 dollar for it.

          But for this offer, i would want a better type of system with ability to convert more video formats like from flv to 3gp as well. Should able to convert sound format as well from mp3 to ogg so on.

          I think if can find the command-line utility, it would be useful for all that. And provided the script is written well with it. Anyway by using command-line utility, can it be hosted on a unix server with php.ini support.

            Go to http://www.effectmatrix.com/

            Download Total Video Converter.............

            It can be run from the command line (open tvc.chm for instructions)

            If you don't buy it, it'll put a watermark in the corner.

            I use it to create all the flash videos on my website but haven't tried the command line method

            One note, it doesn't put the metadata into flv files so you won't get a working progress bar.

            To do that you need to use FLVMDI (http://www.buraks.com/flvmdi/) which is either command line or GUI

              thank you very much ClarkF1

              i have the Total video converter on my windows computer but my hosting is a unix server , is it possible?

              And do you use it to auto convert video file on your website?

              Ya this is Total video converter instruction

              Command line option (only support for pro version)

              /h or /help --- Help information

              /f --- Input file

              /ds --- Open file with system directx

              /o --- Output file

              /tf --- From time Format hh:mm:ss.0.1s

              /td --- Duration timeFormat hh:mm:ss.0.1s

              /pi --- Output settings using ini filename

              /pn --- Output settings using profile name in ini file

              eg:

              Convert test.3gp to VCD format testout.mpg

              tvc /f test.3gp /o testout.mpg /pi ini\palvcd.ini /pn PAL VCD mpeg Normal

              But i dont know much about php. Anyone can help? Anyway, i also cant install this software on the server as most hosting plan are just hosting and not allow you to install software.

              And is calling an external executable file from PHP, using the system() command
              support for web hosting. I believe they have disable such a function for security measures.

              maybe anyone have any method of proving whether the server can allow php coomand line

                I've only use the program on windows and then uploaded the files to my hosting server which is unix.

                I suppose the closest you could come to is create batch file in windows to process all the unprocessed files in a directory and then upload them but I wouldn't know how to do that.

                  Why are you giving us the instructions? Read them yourself. Try to get it to work. If you have specific problems, ask them here, and we'll be glad to help you.

                  If you want to know whether your server allows the system() command, then just try running it. Duh.

                    Write a Reply...