Re: converting a vid with ffmpeg - howto do progress bars?
| From: | Ashley Sheridan | Date: | Wed, 10 Dec 2008 21:42:39 +0000 |
| Subject: | Re: converting a vid with ffmpeg - howto do progress bars? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284435@lists.php.net to get a copy of this message | ||
On Wed, 2008-12-10 at 22:13 +0100, Rene Veerman wrote:
> Hi, i got ffmpeg to convert videos for my CMS to Flash-video.
> With debian, it was real easy to set up.
>
> The only drawback is that if i can't advance the progressbar during the
> call to ffmpeg..
> If i encode longer videos, it can take up to an hour each, and to halt
> the progressbar for that long is just bad imo.
>
> Any ideas on how to read what ffmpeg is up to?
>
>
>
First, what does running just the ffmpeg command do (without getting PHP
involved) ? Is there any information you see which it gives as a
prediction of how long the transcode will take? Also, how are you
running the command? When I do my transcodes I tend to do it in the
background, as this will then continue should the user break the
connection, and avoids timeout issues.
Ash
www.ashleysheridan.co.uk