From edmond at gridnetworks.com Thu Apr 6 18:35:11 2006 From: edmond at gridnetworks.com (Andrew Edmond) Date: Thu, 6 Apr 2006 15:35:11 -0700 Subject: [FLVTool2-users] FLVTool2 Error + FLVMDI questions Message-ID: <200604062235.k36MZCCP009875@rubyforge.org> All -- I am trying to simulate injecting metadata into FLV files generated with the On2 Flix Engine for Linux. One of our flash developers is programming the streaming method using FLV/PHP/lighthttpd, and it's my job to get our entire content library transcoded from DVD to flash8 (using Linux) and get the metadata required by the streaming technique into the files (using Linux). First things first, using the subversion tree checked out from today, on Ubutnu linux, I am getting this error: flvtool2 -UP our_movie_480p.flv our_movie_480p_with_meta.flv 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 `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:44: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: /usr/bin/flvtool2:2 Second, is it accurate to say that using: flvtool2 -UP [infile] [outfile] Will make an outfile with all the correct metadata information to use with the PHP style streaming methods? Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/flvtool2-users/attachments/20060406/a2a50415/attachment.htm From lists at inlet-media.de Fri Apr 7 03:15:24 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 07 Apr 2006 09:15:24 +0200 Subject: [FLVTool2-users] FLVTool2 Error + FLVMDI questions In-Reply-To: <200604062235.k36MZCCP009875@rubyforge.org> References: <200604062235.k36MZCCP009875@rubyforge.org> Message-ID: <1144394125.9543.19.camel@localhost> Hi Andrew, Am Donnerstag, den 06.04.2006, 15:35 -0700 schrieb Andrew Edmond: > All -- > > I am trying to simulate injecting metadata into FLV files generated > with the On2 Flix Engine for Linux. One of our flash developers is > programming the streaming method using FLV/PHP/lighthttpd, and it's my > job to get our entire content library transcoded from DVD to flash8 > (using Linux) and get the metadata required by the streaming technique > into the files (using Linux). > > First things first, using the subversion tree checked out from today, > on Ubutnu linux, I am getting this error: > > flvtool2 -UP our_movie_480p.flv our_movie_480p_with_meta.flv > 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 `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:44: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: /usr/bin/flvtool2:2 Can you please send me an example file that causes this error. > Second, is it accurate to say that using: > > flvtool2 -UP [infile] [outfile] > > Will make an outfile with all the correct metadata information to use > with the PHP style streaming methods? flvtool2 -U [infile] [outfile] That is all you need. Ciao, Norman -- Norman Timmler http://blog.inlet-media.de From michaelr524 at yahoo.com Wed Apr 12 12:15:37 2006 From: michaelr524 at yahoo.com (michael ravits) Date: Wed, 12 Apr 2006 09:15:37 -0700 (PDT) Subject: [FLVTool2-users] error Message-ID: <20060412161537.36402.qmail@web38611.mail.mud.yahoo.com> I have also received this error. The file can be downloaded from: http://www.flashcomguru.com/downloads/phpstream.zip It has already been processed with the flvmdi tool. C:\Inetpub\wwwroot\flv>flvtool2.exe -U golfers.flv golfers1.flv ERROR: undefined method `[]' for nil:NilClass ERROR: flv/stream.rb:138:in `add_meta_tag' ERROR: flvtool2/base.rb:184:in `add_meta_data_tag' ERROR: flvtool2/base.rb:137:in `update' ERROR: flvtool2/base.rb:47:in `send' ERROR: flvtool2/base.rb:47:in `execute!' ERROR: flvtool2/base.rb:46:in `each' ERROR: flvtool2/base.rb:46:in `execute!' ERROR: flvtool2/base.rb:44:in `process_files' ERROR: flvtool2/base.rb:225:in `each' ERROR: flvtool2/base.rb:225:in `process_files' ERROR: flvtool2/base.rb:44:in `execute!' ERROR: lib/flvtool2.rb:168:in `execute!' ERROR: lib/flvtool2.rb:228 C:\Inetpub\wwwroot\flv> --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/flvtool2-users/attachments/20060412/69475b38/attachment-0001.htm From unifi at uni-fi.com Sat Apr 15 09:47:47 2006 From: unifi at uni-fi.com (Uni-Fi Main) Date: Sat, 15 Apr 2006 09:47:47 -0400 Subject: [FLVTool2-users] Flvtool2 does not write onMetadata to file Message-ID: <4440F983.8090304@uni-fi.com> I am working with flvtool2 and everything seems to be going ok. The output displays (see below), but the output file does not include the metadata. Can anyone help me figure out what is going on? I know I am so close and it is probably something very small that I am doing wrong. Thanks! flvtool2 -UP avi_test.flv meta_test3.flv --- avi_test.flv: hasKeyframes: true cuePoints: audiodatarate: 0 hasVideo: true stereo: canSeekToEnd: false framerate: 23 audiosamplerate: videocodecid: 2 datasize: 193563 lasttimestamp: 3.083 audiosamplesize: audiosize: 0 hasAudio: false audiodelay: 0 videosize: 192742 metadatadate: Fri Apr 14 21:22:53 GMT-0400 2006 metadatacreator: inlet media FLVTool2 v1.0.5 - http://www.inlet-media.de/flvtool2 lastkeyframetimestamp: 3 height: 353 filesize: 193884 hasMetadata: true keyframes: times: - 0 - 0.5 - 1 - 1.5 - 2 - 2.5 - 3 filepositions: - 804 - 72179 - 99673 - 123158 - 145067 - 164413 - 180394 audiocodecid: videodatarate: 498.00064871878 duration: 3.125 hasCuePoints: false width: 505 ... From erixtekila at gmail.com Tue Apr 18 18:46:04 2006 From: erixtekila at gmail.com (erixtekila) Date: Wed, 19 Apr 2006 00:46:04 +0200 Subject: [FLVTool2-users] Flvtool2 does not write onMetadata to file In-Reply-To: <4440F983.8090304@uni-fi.com> References: <4440F983.8090304@uni-fi.com> Message-ID: <8753fa908833010364eada2205ba4ca1@gmail.com> Le 15 avr. 06, ? 15:47, Uni-Fi Main a ?crit : > I am working with flvtool2 and everything seems to be going ok. The > output displays (see below), but the output file does not include the > metadata. Can anyone help me figure out what is going on? I know I am > so > close and it is probably something very small that I am doing wrong. > Thanks! > > flvtool2 -UP avi_test.flv meta_test3.flv Obviously, this command update the avi_test.flv itself? Try to look here to further example, using pipe and redirections : http://projects.inlet-media.de/flvtool2/wiki/UsageExamples HTH ----------- erixtekila http://blog.v-i-a.net/ From spam4carina at gmx.at Wed Apr 26 03:47:53 2006 From: spam4carina at gmx.at (Carina S) Date: Wed, 26 Apr 2006 09:47:53 +0200 (MEST) Subject: [FLVTool2-users] performance issues with large files Message-ID: <4230.1146037673@www023.gmx.net> hi, Sorry for crossposting but I just found this mailing list an I guess this is the better place for my question than the inlet-media blog. I recently started testing the flvtool2 and I discovered some performace issues when I try to inject metadata into large flv files (the duration of the metadata injection increases exponentially & the tool uses a lot of RAM an ~50% of the CPU). *********************************************************************** My test results: FLVTOOL2: 4 minutes long flv File: 4 seconds 10 min flv (15MB filesize): 35 sec, uses 25 MB of RAM 25 min flv (37MB filesize): 3 min 40 sec, uses 58 MB of RAM 100 min flv (150MB filesize): >1 hour, uses 250 MB of RAM jfyi: With FLLMDI - which I don't want to use because it's only a win32 app - it takes about 3 minutes to inject the data in the 100 min flv. *********************************************************************** Do you have similar experiences? Is there a way to solve this problem? Or are there plans to fix this problem? kind regards, Carina -- Echte DSL-Flatrate dauerhaft f?r 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl From lists at inlet-media.de Wed Apr 26 04:27:47 2006 From: lists at inlet-media.de (Norman Timmler) Date: Wed, 26 Apr 2006 10:27:47 +0200 Subject: [FLVTool2-users] performance issues with large files In-Reply-To: <4230.1146037673@www023.gmx.net> References: <4230.1146037673@www023.gmx.net> Message-ID: <1146040067.9812.10.camel@localhost> Hi Carina, i saw your comment on my blog but did not find time to respond. The problem is, that FLVTool2 is reading the whole file into memory and examining each tag. A streaming mode is not implemented but planned. I cannot give you a release date, because i am busy at the moment. Sorry about that. Ciao, Norman Am Mittwoch, den 26.04.2006, 09:47 +0200 schrieb Carina S: > hi, > > Sorry for crossposting but I just found this mailing list an I guess this is > the better place for my question than the inlet-media blog. > > > I recently started testing the flvtool2 and I discovered some performace > issues when I try to inject metadata into large flv files (the duration of > the metadata injection increases exponentially & the tool uses a lot of RAM > an ~50% of the CPU). > > > *********************************************************************** > My test results: > FLVTOOL2: > 4 minutes long flv File: 4 seconds > > 10 min flv (15MB filesize): 35 sec, uses 25 MB of RAM > > 25 min flv (37MB filesize): 3 min 40 sec, uses 58 MB of RAM > > 100 min flv (150MB filesize): >1 hour, uses 250 MB of RAM > > > jfyi: With FLLMDI - which I don't want to use because it's only a win32 app > - it takes about 3 minutes to inject the data in the 100 min flv. > *********************************************************************** > > Do you have similar experiences? Is there a way to solve this problem? > Or are there plans to fix this problem? > > > kind regards, > Carina > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users -- Norman Timmler http://blog.inlet-media.de From erixtekila at gmail.com Fri Apr 28 05:16:21 2006 From: erixtekila at gmail.com (erixtekila) Date: Fri, 28 Apr 2006 11:16:21 +0200 Subject: [FLVTool2-users] -a switch Message-ID: Hi, Coulld you tell me what is the behavior of the -a switch ? * Introduced -a switch, that collapses cutted regions -a Collapse space between cutted regions Is it for adding several previously cutted regions ? Sorry I don't get it. Cheers. ----------- erixtekila http://blog.v-i-a.net/ From erixtekila at gmail.com Fri Apr 28 05:28:34 2006 From: erixtekila at gmail.com (erixtekila) Date: Fri, 28 Apr 2006 11:28:34 +0200 Subject: [FLVTool2-users] redirections Message-ID: Hi, Something I don't get. Why the #1 commed doesn't works and the the #2 do ? flvtool2 -CU -a -o 60000 timecode.flv > ARMtimecode_1.flv flvtool2 -CU -a -o 60000 timecode.flv stdout > ARMtimecode_1.flv ">" means to me redirect output. Can you clear it to me ? Greetings. ----------- erixtekila http://blog.v-i-a.net/ From lists at inlet-media.de Fri Apr 28 05:30:16 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 28 Apr 2006 11:30:16 +0200 Subject: [FLVTool2-users] -a switch In-Reply-To: References: Message-ID: <1146216616.9983.11.camel@localhost> Am Freitag, den 28.04.2006, 11:16 +0200 schrieb erixtekila: > Coulld you tell me what is the behavior of the -a switch ? > * Introduced -a switch, that collapses cutted regions > -a Collapse space between cutted regions > > Is it for adding several previously cutted regions ? > Sorry I don't get it. If you cut a flv and have an in-point above 0 the timestamps of each tag are not recalculated. That means the new file starts with an offset of your in-point value. This is good for streaming flv files and want to play from a specific position in the file. If you just want to cut the file and have a new one with corrected timestamp positions (first tag starts at position 0) , use the -a switch. If multiple cut regions are possible within one command, they will be put next to each other when using the -a switch, so that you don't get holes between them. But multiple cut regions are not implemented, yet. -- Norman Timmler http://blog.inlet-media.de From lists at inlet-media.de Fri Apr 28 05:38:01 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 28 Apr 2006 11:38:01 +0200 Subject: [FLVTool2-users] redirections In-Reply-To: References: Message-ID: <1146217082.9983.17.camel@localhost> Am Freitag, den 28.04.2006, 11:28 +0200 schrieb erixtekila: > Something I don't get. > Why the #1 commed doesn't works and the the #2 do ? > > flvtool2 -CU -a -o 60000 timecode.flv > ARMtimecode_1.flv > flvtool2 -CU -a -o 60000 timecode.flv stdout > ARMtimecode_1.flv > > ">" means to me redirect output. > > Can you clear it to me ? Sure. FLVTool2 has no chance to get to know, that the output is redirected. You must tell it. If you omit the 'stdout' keyword, the timecode.flv file gets updated instead. -- Norman Timmler http://blog.inlet-media.de From erixtekila at gmail.com Fri Apr 28 05:43:55 2006 From: erixtekila at gmail.com (erixtekila) Date: Fri, 28 Apr 2006 11:43:55 +0200 Subject: [FLVTool2-users] redirections In-Reply-To: <1146217082.9983.17.camel@localhost> References: <1146217082.9983.17.camel@localhost> Message-ID: <7e0fa80de4a4d502a5012ef01eac78b1@gmail.com> Le 28 avr. 06, ? 11:38, Norman Timmler a ?crit : > Am Freitag, den 28.04.2006, 11:28 +0200 schrieb erixtekila: > >> Something I don't get. >> Why the #1 commed doesn't works and the the #2 do ? >> >> flvtool2 -CU -a -o 60000 timecode.flv > ARMtimecode_1.flv >> flvtool2 -CU -a -o 60000 timecode.flv stdout > ARMtimecode_1.flv >> >> ">" means to me redirect output. >> >> Can you clear it to me ? > > Sure. > > FLVTool2 has no chance to get to know, that the output is redirected. > You must tell it. If you omit the 'stdout' keyword, the timecode.flv > file gets updated instead. > OK, thanks. BTW are stdout and stdin are traditionnal shell keywords ? Never heard about them before, beside the fact it's handy. I saw that you've create a "pipe" which is "|" I presume ? Best. ----------- erixtekila http://blog.v-i-a.net/ From lists at inlet-media.de Fri Apr 28 05:56:09 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 28 Apr 2006 11:56:09 +0200 Subject: [FLVTool2-users] redirections In-Reply-To: <7e0fa80de4a4d502a5012ef01eac78b1@gmail.com> References: <1146217082.9983.17.camel@localhost> <7e0fa80de4a4d502a5012ef01eac78b1@gmail.com> Message-ID: <1146218169.9983.22.camel@localhost> Am Freitag, den 28.04.2006, 11:43 +0200 schrieb erixtekila: > BTW are stdout and stdin are traditionnal shell keywords ? > Never heard about them before, beside the fact it's handy. > > I saw that you've create a "pipe" which is "|" I presume ? No, that are no keywords as far as i know. I chose them by my self. Some day i found it simpler to use the word pipe for both, so i implemented them. In the linux world | is called a pipe and > is called output redirection. -- Norman Timmler http://blog.inlet-media.de From erixtekila at gmail.com Fri Apr 28 06:08:38 2006 From: erixtekila at gmail.com (erixtekila) Date: Fri, 28 Apr 2006 12:08:38 +0200 Subject: [FLVTool2-users] redirections In-Reply-To: <1146218169.9983.22.camel@localhost> References: <1146217082.9983.17.camel@localhost> <7e0fa80de4a4d502a5012ef01eac78b1@gmail.com> <1146218169.9983.22.camel@localhost> Message-ID: <4490f70ebe0d15dced2d8ef1f15e7f45@gmail.com> >> BTW are stdout and stdin are traditionnal shell keywords ? >> Never heard about them before, beside the fact it's handy. >> >> I saw that you've create a "pipe" which is "|" I presume ? > > No, that are no keywords as far as i know. I chose them by > my self. Some day i found it simpler to use the word pipe > for both, so i implemented them. In the linux world | is > called a pipe and > is called output redirection. hm, yes Normann. I 'm aware of this. Didn't meant that. No problem, i'll manage. ;) Thanks. ----------- erixtekila http://blog.v-i-a.net/ From erixtekila at gmail.com Sat Apr 29 15:54:08 2006 From: erixtekila at gmail.com (erixtekila) Date: Sat, 29 Apr 2006 21:54:08 +0200 Subject: [FLVTool2-users] -P doesn't work on last release -r6 ? Message-ID: <1cfe370ad6166b483f7802d2e898c080@gmail.com> Hi Normann, I've downloaded the last snapshot at rubyforge : 1.05-rc6. I was used to use the svn last version. Unfortunatly, it seems that the rubyforge version doesn't print the metadata at all, even if inserted correctly. So flvtool2 -UP my.flv prints out everything correctly, but if you try after flvtool2 -P my.flv Output is empty The same behavior happens on files that has already metadata. -P doesn't output anything anymore. Strange has it was working just perfectly on release candidate 5 I've dig in an HexEditor. Eventhough the output isn't there, the metadata do after an flvtool2 injection. Thanks to look at this. Should I submit a ticket ? Greetings ----------- erixtekila http://blog.v-i-a.net/ From erixtekila at gmail.com Sat Apr 29 17:37:12 2006 From: erixtekila at gmail.com (erixtekila) Date: Sat, 29 Apr 2006 23:37:12 +0200 Subject: [FLVTool2-users] SVN broken ? Message-ID: <3fbcdfd1ac9c16d7de75e07b9537b62f@gmail.com> I anderstand now why I didn't get the last release of flvtool2 : because I only used svn update, and the svn server seems to be down. via$ svn co http://svn.inlet-media.de/svn/flvtool2/trunk subversion/libsvn_ra_dav/util.c:826: (apr_err=160029) svn: PROPFIND request failed on '/svn/flvtool2/trunk' subversion/libsvn_ra_dav/util.c:389: (apr_err=160029) svn: Could not open the requested SVN filesystem Something wrong ? ----------- erixtekila http://blog.v-i-a.net/ From bob.kaehms at gmail.com Sun Apr 30 18:21:38 2006 From: bob.kaehms at gmail.com (Bob Kaehms) Date: Sun, 30 Apr 2006 15:21:38 -0700 Subject: [FLVTool2-users] .mov to .flv + adding actionscript via web flash editor? Message-ID: Hi, Sorry if this type of question is in the FAQ... also sent directly to inlet-media, but this list may be more appropriate. I'm looking for a way to allow users to upload .mov and possibly other common file formats to a website, then use a flash based converter/editor to tie actionscript to specific frames. Specifically a getURL action. I found a nice commercial program that looks like it provides that kind of functionality, but need something in the open source space, as this is for a masters project. Thanks for any thoughts or pointers. Not sure if FLVTool2 does the conversion for you. Looks like it might be able to handle part of the real time editing / actionscript management. BTW, is this something I could do directly as a flash application if I were really creative? Not sure I can program flash to suck in and convert a .mov file, and then allow for real time editing of actions... Any insight or pointers would be appreciated.