Welcome! Log In Create A New Profile

Advanced

problem with using "flv;" and "mp4;" at the same time

Posted by tay 
tay
problem with using "flv;" and "mp4;" at the same time
August 17, 2012 02:20PM
hi

i am trying to stream files and make the seek option work.

here is the nginx conf:

location /uploads/ {
alias /var/www/cgi-bin/uploads/;
internal;
mp4;
set $limit_rate $arg_speed;
limit_conn one 2;
access_log logs/traffic.log xfs;
}

** when i put mp4; i can seek mp4 videos but cant seek flv videos ( goes to 0:00 when seeking)

**when i change "mp4;" with "flv;" i can seek in flv videos but not in mp4 videos

**on both cases where i say i cant seek , the player is sending zzzz.flv?start=XXX or zzzz.mp4?start=XXX
but the video just starts from the beginning
it looks like nginx dosn't understand the start param: "start=XX" (because the start param works different for flv and mp4)


**when i put both mp4; and flv;
than only flv seeking works , when seeking mp4's it start from 0:00 .

-----------------------------------------------------------------------------------

i compiled nginx with this command :
./configure --with-http_stub_status_module --with-http_perl_module --with-http_flv_module --with-http_mp4_module


anyone have a clue how to make it work for both mp4 and flv ?

a full nginx.conf file is attached
thanks :)


*i am using the script xfilesharingpro if it matters



Edited 2 time(s). Last edit at 08/17/2012 02:24PM by tay.
Attachments:
open | download - nginx.conf (1.6 KB)
Re: problem with using "flv;" and "mp4;" at the same time
September 22, 2012 09:15PM
I'm having the same problem as you ... you got any solution? Thank you.

www.isbrasil.info
Re: problem with using "flv;" and "mp4;" at the same time
November 15, 2012 12:00PM
Hello, We have the exact same problem. When FLV is seeking we can not seek mp4 (Any mp4 seek attempt starts from beginning of video).
When we use just mp4; flv will not play at all. mp4 seek works fine.

Can some one please share their expertise here? Much appreciate any help.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 208
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready