[Ffmpeg-php-user] Testing for failure
Brought to you by:
tkirby
|
From: Wes W. <ka...@cm...> - 2005-05-04 16:51:01
|
How do I tell if new ffmpeg_movie() has failed to open a file? Currently
I am using the following line:
$movie =3D new ffmpeg_movie($file_name, true) or die("couldn't open
movie");
=20
But I want to recover more gracefully than that if the ffmpeg_movie
object can't be created so what should I test for?
=20
/***************************
Wesley Widner
Creative Media Group
****************************/
=20
|