I'm running into issues with proc_open() and stream_get_contents(), but am wondering if maybe it's a server config issue. Here's the behavior I'm seeing in 6.x-2.x-dev:
* If I convert the first couple minutes of a video, no problem
* If I convert 10 minutes of a video, the process gets stuck on $ffmpeg_object->output = stream_get_contents($pipes[1]); and won't ever complete (I let it run all night, just to check)
* If I replace the whole proc_open / stream_get_contents section with the following code from beta2, the full 10 minutes gets converted no problem.
ob_start();
passthru($ffmpeg_object->command." 2>&1", $command_return);
$ffmpeg_object->output = ob_get_contents();
ob_end_clean();
For now, I've hacked that last code back into the dev release to get it working. Any thoughts on what might be getting in the way of it processing correctly, if it's a bug or a server config issue?
Comments
Comment #1
delykj commentedSame bug here.
I fixed it like you.
Comment #2
arthurf commentedHave you tried the lastest dev version which sets verbosity on ffmpeg (which should have been done in the first place, doh)?