On Sun, May 4, 2008 at 12:28 PM, bartkowski dominik <[EMAIL PROTECTED]>
wrote:
> you have to write an algorithm in python or php.
>
>  ffmpg -i media
>
>  and you parse the output using regular expressions in python it looks
like that;

Of course, you could also do it the easier way and see how exactly ffmpeg -i
media outputs the "Duration: <number>" thing and then do that using regular
C code. this would not only be much shorter and easier to understand, but
also be a thousand-fold faster and it would actually have some relevance on
this mailinglist, which happens to be called libav-user, not
ffmpeg-php-and-python-scripting-user.

Anyway...

Ronald
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to