Forum: NGINX http_flv_module not working, any idea please

Posted by nsl (Guest)
on 2011-06-10 14:58
(Received via mailing list)
Hi every1,

I've NginX running on a "Debian GNU/Linux 5.0" with the following
compile options:

nginx version: nginx/0.8.53
TLS SNI support enabled
configure arguments:
  --prefix=/dh/nginx --with-ipv6 --with-pcre --with-md5-asm
--with-sha1-asm --with-http_ssl_module
  --with-http_realip_module --with-http_addition_module
--with-http_xslt_module --with-http_image_filter_module
  --with-http_sub_module --with-http_dav_module --with-http_flv_module
--with-http_gzip_static_module
  --with-http_random_index_module --with-http_secure_link_module
--with-http_stub_status_module
  --add-module=passenger-2.2.15/ext/nginx

The module was included on compile time, "--with-http_flv_module". On
the configuration file I've added the "flv location" as mentioned on
"http://wiki.nginx.org/HttpFlvStreamModule#flv".

On my "error.log" file I find no entries. On the "access.log" file I do
have the requests with the start parameter different from 0
(...start=77454640...), following:

"
<IPAddress> - - [09/Jun/2011:14:58:58 +0200] "GET
/ru/2011-04-24.flv?start=0 HTTP/1.1" 200 537240 "-" "Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303
Firefox/3.6.15"
<IPAddress> - - [09/Jun/2011:14:59:03 +0200] "GET
/ru/2011-04-24.flv?start=77454640 HTTP/1.1" 200 284368 "-" "Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303
Firefox/3.6.15"
"

Regarding the file being streamed I'm sure I've the "seekpoints" on the
metadata, but still on the browser when I try set the video on a not a
yet downloaded point, it starts from the begigning.
Can someone please help me on this? I'm I missing something
configuration wise...

Thank you in advance,

Cheers,
Lopes, N.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,205650,205650#msg-205650
Posted by shahzaib1232 (Guest)
on 2012-06-25 12:43
(Received via mailing list)
i am having the same issue ? can someone guide me? working on it more
than 3weeks

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,205650,227852#msg-227852
Posted by kalasnjikov (Guest)
on 2012-11-14 12:18
(Received via mailing list)
Same issue with me on Apache+Nginx.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,205650,232792#msg-232792
Posted by Maxim Dounin (Guest)
on 2012-11-15 10:14
(Received via mailing list)
Hello!

On Wed, Nov 14, 2012 at 06:17:37AM -0500, kalasnjikov wrote:

> Same issue with me on Apache+Nginx.

If you see flv pseudo streaming module not working - most likely
you didn't switch it on.  As you mention Apache, you likely use
proxy_pass instead.  Note that flv and proxy_pass are mutually
exclusive.

--
Maxim Dounin
http://nginx.com/support.html
Posted by kalasnjikov (Guest)
on 2012-11-15 10:25
(Received via mailing list)
Maxim Dounin Wrote:
-------------------------------------------------------
>
> --
> Maxim Dounin
> http://nginx.com/support.html
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


At last! I'm using proxy_pass and bumping my head against the wall for 
two
days! Thanks a LOT!

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,205650,232830#msg-232830
Posted by kalasnjikov (Guest)
on 2012-11-16 20:32
(Received via mailing list)
Flv streaming still does not working
What I doing wrong?
    server {
        listen  xxx.xxx.xxx.xxx:80;
        error_log /var/log/nginx/hp8el1;
        access_log /var/log/nginx/hp8al1;
        server_name  domain.com www.domain.com;
        client_max_body_size 1024m;
root   /home/domain/public_html;


    location / {
    location ~ \.flv$ { flv; }
    error_page 404 = @apache;
    error_page 403 = @apache;
        }

location @apache {
    proxy_pass http://xxx.xxx.xxx.xxx:8081;
}

        }

Thanks!

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,205650,232931#msg-232931
Posted by Andrew Alexeev (Guest)
on 2012-11-19 08:15
(Received via mailing list)
On Nov 16, 2012, at 11:32 PM, kalasnjikov wrote:

>
>        }
What exactly is not working? :)

Configuration seems to be valid, flv videos existing on the local 
storage should be pseudo-streamed by nginx just fine.

If you mean pseudo-streaming does not work for proxied requests, then 
apparently something's wrong with the Apache configuration. Do you have 
flv pseudo-streaming in Apache as well?

Cheers
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.