Current time: 04-17-2014, 08:04 PM Hello There, Guest! (LoginRegister)

flvtool2
04-17-2010, 05:25 AM
Post: #1
flvtool2
Hi, I'm trying to use flvtool2 to add metadata to files converted using dreamhost's flash converter. flvtool2 is installed but I get a bunch of error messages:

[gaborone]$ which flvtool2
/bin/flvtool2

So it's installed.

Then:

ERROR: undefined method `[]' for nil:NilClass
ERROR: /usr/local/lib/site_ruby/1.8/flv/stream.rb:138:in `add_meta_tag'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:184:in `add_meta_data_tag'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:137:in `update'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:47:in `send'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:47:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:46:in `each'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:46:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:239:in `process_files'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in `each'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in `process_files'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:168:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:228
ERROR: /bin/flvtool2:2:in `require'
ERROR: /bin/flvtool2:2

Any idea? TIA.

— ADB
Find all posts by this user
04-17-2010, 08:08 AM
Post: #2
flvtool2
How are you calling flvtool2 ?

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost
Visit this user's website Find all posts by this user
04-17-2010, 08:27 AM
Post: #3
flvtool2
Hi --

"flvtool2 -UP movie.flv"

I just need to inject metadata on movies converted using DH's converter (https://panel.dreamhost.com/index.cgi?tr...s.media&), needed so viewers can ff in my flv player.

Thanks!
Find all posts by this user
04-17-2010, 09:16 AM
Post: #4
flvtool2
BTW, if I use flvtool2 -UP movie.flv movie2.flv, it creates a 0k movie2.flv file.
Find all posts by this user
04-17-2010, 09:40 AM
Post: #5
flvtool2
Could be a problem with the initial file. I'll PM you a link to a small test FLV to try on your server.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost
Visit this user's website Find all posts by this user
04-17-2010, 10:48 AM
Post: #6
flvtool2
Not sure, since I was ale to do it with that same command ocally (OS X 10.4.11).

Thanks though, I'll try the file.
Find all posts by this user
04-17-2010, 10:53 AM
Post: #7
flvtool2
Same thing it seems, using the test file:

ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:259:in `initialize'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:259:in `open'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:259:in `open_stream'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:238:in `process_files'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in `each'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in `process_files'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:168:in `execute!'
ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:228
ERROR: /bin/flvtool2:2:in `require'
ERROR: /bin/flvtool2:2

Any other idea?
Find all posts by this user
04-17-2010, 11:40 AM
Post: #8
flvtool2
"Same thing" not quite, but...

Thanks.
Find all posts by this user
04-17-2010, 12:31 PM
Post: #9
flvtool2
Hrmm weird. Starting to look like a flvtool2 problem on the server. I rebuilt a customised ffmpeg install after being moved onto one of the whizz-bang new servers recently. I'll PM you the log in info and you can test your original FLV on that to see how it goes (I'm off to bed).

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost
Visit this user's website Find all posts by this user


Forum Jump: