DISQUS

Homo-Adminus Blog: Стриминг Flash Video при помощи Nginx

  • tibco · 3 years ago
    Hi there
    when can we get aio enabled on nginx?
    thanks
  • Boo · 3 years ago
    Сделал все, как сказано в статье, но nginx выдает ошибку 404. В чем может быть проблема?

    nginx/0.4.12
  • Scoundrel · 3 years ago
    Самый простой метод - поглядеть в error_log - там точно сказано :-)
  • Boo · 3 years ago
    Разобрался, спасибо.
  • Zenny · 2 years ago
    Impressive article. But I could not make nginx work with php, ruby etc in my debian 3.1 VPS with debian etch as HN with OpenVZ.

    I followed a tutorial at http://concentrationstudios.com/2006/8/26/nginx... but it does not behave like it is stated after executing the php-spin script in the article.

    Debian certainly has nginx binary package in their repositories but I am not sure whether they support all the nginx modules and scripting languages.

    Here I have noticed wonderful experts in nginx and lighttpd. I wish experts here (particularly Scondrel) could advise me how to proceed?

    Thank you! Spaciva bolshoi!
  • lhotski · 2 years ago
    А как реализовать flv-стриминг в nginx вместе с его внутренним редиректом (X-Accel-Redirect)? $request_uri после редиректа уже не содержит первоначального параметра start..
  • Scoundrel · 2 years ago
    2lhotski: А что мешает передавать этот параметр в редиректе? Скрипт получает его через GET и отдает назад в редиректе вместе с именем файла.
  • lhotski · 2 years ago
    2Scoundrel: Насколько я понял, параметр для X-Accel-Redirect не парсится как URI, а воспринимается как путь к файлу, который приаттачивается еще к пути в root внутри location. и при отсутсвии файла "/path/some.flv?start=XXX" естественно выдает 404.
    Может URI можно как то дополнительным заголовком сформировать? или я жестко туплю?
  • lhotski · 2 years ago
    2Scoundrel: о, пардон, нашел :)
  • Kareem Kouddous · 2 years ago
    Is there any way to secure the streams so that users cannot download the flv directly?
  • vadimka · 2 years ago
    немогу сообразить обязательно указывать file.flv?&start=123
    а если без этой переменной то должно отдать файл с 0 байта, правильно я понимаю?
  • Itam Giat · 2 years ago
    Hi,
    how is the performance of nginx? can it support thousands of users at the sametime?
    thanks
  • seeking_alpha · 2 years ago
    Itam,

    Nginx is famous for it's blazing performance.
  • Jeremy · 2 years ago
    Hello,
    how can I do live streaming video with Nginx ? It is possible ?
  • allendale · 2 years ago
    нашёл небольшой баг в nginx, если flv-директива стоит после защиты от хотлинка, то стриминг нихрена не работает - отдаёт весь файл целиком, если же до хотлинка - то работает.
    вот пример правильной конфигурации:
    location ~ \.flv$ {
    flv;
    }
    location ~ \.(jpg|jpeg|gif|mpg|mpeg|wmv|avi|flv)$ {
    access_log off;
    valid_referers none blocked server_names *.site.com/;
    if ($invalid_referer) {
    return 403;
    }
    }
  • steveking · 1 year ago
    YouTubeRobot.com today announces YouTube Robot 2.0, a tool that enables you to download video from YouTube.com onto your PC, convert it to various formats to watch it when you are on the road on mobile devices like mobile phone, iPod, iPhone, Pocket PC, PSP, or Zune
  • Jordan · 1 year ago
    location ~ \.flv$ { - I had a problem with this line of code, it gave me and 404 error, but when removed the space before \.flv everything was ok
  • fun info · 1 year ago
    What is the advantages using Nginx for Flash Video (FLV) Streaming?
  • mkv to dvd · 1 year ago
    Nginx, um, seems good. I will give it a try. Thank you for your post
  • Juegos Gratis · 1 year ago
    Gonna try it too. Thanks for the info!