Is it possible to check ffmpeg-status?

676 views
Skip to first unread message

Allan

unread,
Nov 18, 2009, 6:42:16 AM11/18/09
to ffmpeg-php
Hey.

Is it somehow possible to check ffmpeg -s status via PHP?

Idea would be that when a user submits a video/audio file the data is
added to a database and endocing php is called -> this file should
first check if a ffmpeg-process is already running or not (so it
wouldn't start encoding 2 files at the same time) and then either
start a new process or do nothing (since at the end of every encoding
the system automatically checks for new files to be encoded to .flv).

Todd Kirby

unread,
Nov 18, 2009, 6:01:32 PM11/18/09
to ffmpe...@googlegroups.com
Use a lock file or add a field to your database that gets set when a transcoding process finishes.


--

You received this message because you are subscribed to the Google Groups "ffmpeg-php" group.
To post to this group, send email to ffmpe...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ffmpeg-php?hl=.



Reply all
Reply to author
Forward
0 new messages