Results 1 to 7 of 7

Thread: lighthttpd streaming problems

  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default lighthttpd streaming problems

    HI, I have lighthttpd and i have a streaming problem. One some videos you can jump through the video duration and at some other videos you can not. Dose someone know why this happened?

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default Re: lighthttpd streaming problems

    Run flvtool2 -u file.flv and see if it fix the problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: lighthttpd streaming problems

    Quote Originally Posted by hostonnet
    Run flvtool2 -u file.flv and see if it fix the problem.
    How can i do that? I have the flv file to an other server. Also do i have to do that for every file?

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default Re: lighthttpd streaming problems

    You will need flvtool2 on the server to do that. To run on all files, get list of all files with ls -l, then if you have text editor that support regular experession (edit+,notpad++,etc..), you can run create commands easily.

    For one file, run flvtool2 -U filename.flv
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: lighthttpd streaming problems

    This problem is caused by vShare not running any conversions on FLV files that are uploaded to vShare. When someone uploads a FLV file, the system automatically renames it and adds it to your site without any conversions whatsoever. Because of this, any badly encoded FLVs will not have any metadata that gets generated by the flvtool as it never runs. The whole seek/scan function of lighttpd (or any streaming system for that matter) relies on the metadata so without it, it doesn't work.

    Since you have videos on another server, the best thing to do would be to install the flvtool on that server and run it on any video that does not automatically work. That's really the only thing that you can do with 2.6. In the next version, this should be easily fixable.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #6
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: lighthttpd streaming problems

    I made a test only for one file an i get this message. Dose someone know what happened :?:
    Code:
    ERROR: undefined method `[]' for nil:NilClass
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:138:in `add_meta_tag'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:184:in `add_meta_data_tag'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:137:in `update'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `send'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `execute!'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `each'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `execute!'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:239:in `process_files'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `each'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `process_files'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute!'
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:228
    ERROR: /usr/bin/flvtool2:2:in `require'
    ERROR: /usr/bin/flvtool2:2

  7. #7
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: lighthttpd streaming problems

    If you changed or upgraded ruby on your server, you will need to reinstall flvtool (flvtool is written in ruby).
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Similar Threads

  1. lighthttpd VS apache
    By bhanuprasad1981 in forum General Discussions
    Replies: 2
    Last Post: 03-19-2009, 08:03 PM
  2. Can vSahre do real streaming?
    By syang3 in forum Sales Questions
    Replies: 2
    Last Post: 11-11-2008, 03:43 PM
  3. Streaming with moviebox.js(thickbox)
    By Rodesh in forum General Discussions
    Replies: 0
    Last Post: 04-09-2008, 06:11 PM
  4. Streaming versus progressive downloads
    By brianatthebeach in forum Feature Requests
    Replies: 0
    Last Post: 02-02-2008, 12:32 AM
  5. my video is not streaming
    By baleyas in forum Installation Support
    Replies: 3
    Last Post: 08-12-2007, 04:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •