i am trying to enable video seeking.
i am using xfs version 1.9
let me tell you what i did:
first, i changed in index.cgi
Code: Select all
s1.addVariable('provider','video');
Code: Select all
s1.addVariable('provider','http');
after that i tried to configure nginx.
config 1 :
Code: Select all
./configure --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --with-http_mp4_module
Code: Select all
./configure --add-module=/root/nginx_mod_h264_streaming-2.2.7 --sbin-path=/usr/local/sbin --with-debug --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --with-http_mp4_module ; make && make install
--------------------------------------------------------
nginx conf file:
this is where i am having trouble...
i tried to add flv; and/or mp4; inside location d
Code: Select all
location /d/ {
perl download::handler;
}
than tried to add it here, for every type of user where the XXX are.
Code: Select all
# Free
location /download1_f/ {
alias /var/www/cgi-bin/uploads/;
XXX
internal;
set $limit_rate $arg_speed;
limit_conn one 2;
access_log logs/traffic.log xfs;
}
# Registered
location /download1_r/ {
.....
}
# Premium
location /download1_p/ {
......
}
but..................
on both of the locations - when i do that i get all sorts of errors, from seeking not working to "video not found" to 500 internal error when trying to watch flv files .
it looks like when the mp4 seeking is working than the flv files has problems and vice versa
in addition i installed yamdi and flvtools2
anyone knows how to fix the seeking?
admin can you help?