Graxeon Posted December 17, 2008 Share Posted December 17, 2008 I want to setup a website which gets FLV files from the internet and then converts them through the localhost to MPEG4 (for Sony PSP). So I was wondering if this was possible and what I need to look up to accomplish it: 1. Use my PSP's storage space (memory stick) as the "server" (yes, you can view HTML docs saved on your PSP through your PSP's browser) 2. The website has a PHP script (script is hosted online) which fetches FLV files from the internet. Those files would then be run through a converter (ffmpeg?) found on the "server" (my PSP's memory stick...if this is possible, of course). The output from FFMPEG would be a PSP-compatible .mp4 file. So 2 files are found within the server (.flv, and .mp4). I already have the PHP script which would fetch the FLV files. What I want to know is if FFMPEG is possible through the PSP's memory stick. If not, is it possible through my localhost on my computer? I could probably use XAMPP to setup the site and make it available through my router to my PSP. Or is there another type of converter that I can use? I hope that's clear enough...I seem to confuse people a lot xD Thanks for reading Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/ Share on other sites More sharing options...
ratcateme Posted December 17, 2008 Share Posted December 17, 2008 you cannot run php pages on a PSP they require extra processing unlike html that a psp cannot do you could setup xampp on a pc then access it through wifi and get the videos. Soctt. Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717333 Share on other sites More sharing options...
Graxeon Posted December 17, 2008 Author Share Posted December 17, 2008 The website has a PHP script (script is hosted online) I know But what I'm really asking is if I can run FFMPEG through my PSP or through my computer using XAMPP. If I can, can someone please direct me to a page that explains (in NEWBIE) terms as to how to setup and use FFMPEG installed on your computer. Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717341 Share on other sites More sharing options...
premiso Posted December 17, 2008 Share Posted December 17, 2008 exec That would be how if you can, and doubtful for the psp but the xampp should work. Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717342 Share on other sites More sharing options...
Graxeon Posted December 17, 2008 Author Share Posted December 17, 2008 Premiso, I've been there before but I don't see anything that explains how to install. That's for installing PHP, right? I only need instructions on how to install FFMPEG (in newbie terms) so it can be used through XAMPP. I know that I can Google it (I have) but I never find anything useful when it comes to FFMPEG Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717362 Share on other sites More sharing options...
premiso Posted December 17, 2008 Share Posted December 17, 2008 Umm no. Exec allows you to run programs through PHP via the shell (windows or linux) it should be installed with PHP by default. Read up on it, it would do exactly what you want, you just have to define exactly where the ffmpeg file is located and use the commandline version to run it. The only thing that could be problemmatic is the script will probably timeout, not sure if this would be a problem or not, but yea. Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717367 Share on other sites More sharing options...
Graxeon Posted December 17, 2008 Author Share Posted December 17, 2008 Oh darn...that's a lot of PHP to learn xD This forum always puts my hopes down >.< (it's ok though...I'll see how far I can go with it) Thank you Quote Link to comment https://forums.phpfreaks.com/topic/137290-dling-converting-video/#findComment-717374 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.