Streaming with ffmpeg ?
Posted: Tue Feb 17, 2009 4:51 am
I thought I had ffmpeg working ok as it will generate files for download in mpg, wmv, avi formats just fine.
Out of interest I thought I'd try mpeg streaming - no success. found this in the logs
[Mon Feb 16 20:32:05 2009] [notice] Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Feb 16 20:33:36 2009] [error] [client 192.168.1.10] socket_sendto( /tmp/zms-221004s.sock ) failed: Connection refused, referer: http://192.168.1.228/html/zm/index.php?view=watch&mid=4
[Mon Feb 16 20:33:36 2009] [error] [client 192.168.1.10] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-221004s.sock ) failed: Connection refused',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.228/html/zm/index.php?view=watch&mid=4
Using latest everything - maybe a permission error ?
Tim
Out of interest I thought I'd try mpeg streaming - no success. found this in the logs
[Mon Feb 16 20:32:05 2009] [notice] Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations
[Mon Feb 16 20:33:36 2009] [error] [client 192.168.1.10] socket_sendto( /tmp/zms-221004s.sock ) failed: Connection refused, referer: http://192.168.1.228/html/zm/index.php?view=watch&mid=4
[Mon Feb 16 20:33:36 2009] [error] [client 192.168.1.10] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-221004s.sock ) failed: Connection refused',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.228/html/zm/index.php?view=watch&mid=4
Using latest everything - maybe a permission error ?
Tim