LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Cron and Flash (https://www.linuxquestions.org/questions/linux-server-73/cron-and-flash-752137/)

dumkat 09-02-2009 11:39 AM

Cron and Flash
 
Here is what I need to do:

I have flash files that i need converted to JPGs.

So the flash file itself Posts its pixels to a php file and the php file does the conversion


Can I run a cron script that can run flash files? I guess it would require running Fire Fox or something in command line mode.

Thanks in advance.

unSpawn 09-02-2009 06:03 PM

Quote:

Originally Posted by dumkat (Post 3667057)
So the flash file itself Posts its pixels to a php file and the php file does the conversion

WHAAT?


Quote:

Originally Posted by dumkat (Post 3667057)
Can I run a cron script that can run flash files?

Sure. A oneliner could look something like 'ffmpeg -i somename.flv -f image2 -vcodec mjpeg somename%d.jpg'. Reading the ffmpeg manual page and trial and error should show if you need additional parameters and you might need to wrap the oneliner in some simple shell script to process a directory of .flv files.

dumkat 09-03-2009 09:57 PM

Well its a swf file and it pulls data from php.

Quote:

Originally Posted by unSpawn (Post 3667442)
WHAAT?



Sure. A oneliner could look something like 'ffmpeg -i somename.flv -f image2 -vcodec mjpeg somename%d.jpg'. Reading the ffmpeg manual page and trial and error should show if you need additional parameters and you might need to wrap the oneliner in some simple shell script to process a directory of .flv files.


unSpawn 09-04-2009 07:36 AM

More details please.


All times are GMT -5. The time now is 09:53 AM.