我尝试过xuggler和IMBPlayerForMpeg4,两者都因某些原因无法正常工作,所以如果你有新方法请告诉我,或者请重新解释其中任何一个......
IBMPlayer每次都会抛出IOException
Xuggler因为我无法确定的原因而崩溃,但它起源于 $stmt = $con->prepare('SELECT movie_name FROM movie_info LIMIT 3 OFFSET 0');
// Then fire it up
$stmt->execute();
// Pick up the result as an array
$result = $stmt->fetchAll();
// Now you run through this array in many ways, for example
for($x=0, $n=count($result); $x < $n; $x++){
echo $result[$x]['movie_name'];
}
提前致谢