LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-02-2009, 11:39 AM   #1
dumkat
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-02-2009, 06:03 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by dumkat View Post
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 View Post
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.
 
Old 09-03-2009, 09:57 PM   #3
dumkat
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Well its a swf file and it pulls data from php.

Quote:
Originally Posted by unSpawn View Post
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.
 
Old 09-04-2009, 07:36 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
More details please.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron appears to be messed up (E: cron: subprocess post-installation script returned e bujutsukai Linux - Newbie 1 07-24-2008 03:39 AM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 01:57 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 01:50 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration