From walder at allink.ch Sun Jul 2 09:22:19 2006 From: walder at allink.ch (Mike Walder) Date: Sun, 2 Jul 2006 15:22:19 +0200 Subject: [FLVTool2-users] FLVs not playing in flash when created on Mac OS X In-Reply-To: <1e51b12dbfa9607882288f1f9b14a1a1@gmail.com> References: <1e51b12dbfa9607882288f1f9b14a1a1@gmail.com> Message-ID: That would be cool. Here is the link: http://kunden.allink.ch/flv/FLVConverter.app.zip I will add some more features in a few weeks. cheers mike ALLINK GmbH Mike Walder 076 580 70 91 walder at allink.ch www.allink.ch pub 1024D/6BA391C6 2005-10-31 Mike Walder Key fingerprint = A7B6 DDB1 55F2 2E9C 8D6C 245D F8FB B025 6BA3 91C6 Am 30.06.2006 um 11:17 schrieb erixtekila: >> Thanks anyway for the info. I am working on a ffmpeg gui for os x. >> The >> application is finished all I needed was to find out why the ruby >> script didn?t run on all os x machines. But in that case the 10.3 os >> should work fine. > Want me to test here ? > > ----------- > erixtekila > http://blog.v-i-a.net/ > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > > From oszkar.nagy at gmail.com Mon Jul 3 11:42:54 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Mon, 3 Jul 2006 16:42:54 +0100 Subject: [FLVTool2-users] FLVTool on Mac OS X Message-ID: <60D4DCA5-13C5-4602-9664-0E90EE5CF8B2@gmail.com> Hi! Two cases regarding flvtool2 where I don't know what to do. 1. Tried to inject cue points from a valid xml-file following the structure of the sample xml with the command: flvtool2 -AUPt myxml.xml input.flv output.flv It did inject the tags according to the information printed on the screen however if I load the file in Flash, it does not see any cue points, and the hasCuePoints element is false. I tried changing the line endings as well but nothing happened. 2. All worked fine up until I updated my system from 10.4.6 to 10.4.7. after executing the same command I get: ERROR: undefined method `each' for nil:NilClass ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:82:in `add' 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:44: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 Any ideas on theese? Oszkar Nagy From oszkar.nagy at gmail.com Wed Jul 5 05:50:07 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Wed, 5 Jul 2006 10:50:07 +0100 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem Message-ID: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> Just found out why wasn't showing up my injected metadata in Flash on Mac OS X although flvtool2 reported that it is inside. The problem was that some of the cue points were closer than 1000 msec. If I left more than 1000 msec gap between the cue points it worked fine in Flash as well. So question: Why does flvtool2 put cue points just on whole seconds? With the standard Flash encoder you can define cue points at let's say 00:26:13:123 whereas with flvtool2 only at 00:26:13:000. Would be really nice to have this precision as in some cases its really needed. Hope this helps somebody... From erixtekila at gmail.com Wed Jul 5 17:59:35 2006 From: erixtekila at gmail.com (erixtekila) Date: Wed, 5 Jul 2006 23:59:35 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> Message-ID: > Just found out why wasn't showing up my injected metadata in Flash on > Mac OS X although flvtool2 reported that it is inside. > The problem was that some of the cue points were closer than 1000 > msec. If I left more than 1000 msec gap between the cue points it > worked fine in Flash as well. > > So question: Why does flvtool2 put cue points just on whole seconds? > With the standard Flash encoder you can define cue points at let's > say 00:26:13:123 whereas with flvtool2 only at 00:26:13:000. > > Would be really nice to have this precision as in some cases its > really needed. > > Hope this helps somebody... Sorry but I don't think this is the issue. First what version of flvtool2 do you use ? What is the standard Flash encoder ? Macromedia's ? Precision is not as you mention. Let me try to explain : flv is a serie of frames and keyframes. The number of frames depends of your encoding settings. You could add two sorts of cuepoints in the flv. But the more accurate time you get?will be the one used with the flvtool2 -k switch. -k Keyframe mode slides onCuePoint(navigation) tags added by the add command to nearest keyframe position So you'd anderstand better how the time of your cuepoint is dependant of your encoding. You should give the framerate and number of keyframe/frame used in your settings. That way, wil a simple calculation, we'll be able to know if flvtool2 fails where FVE achieve the task. IMHO FVE (Flash Video Exporter) tells you precise time although it won't be able to be precise. Just my 2 cents. ----------- erixtekila http://blog.v-i-a.net/ From oszkar.nagy at gmail.com Thu Jul 6 06:42:17 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Thu, 6 Jul 2006 11:42:17 +0100 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> Message-ID: <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> First, erixtekila thank you for your input, greatly appreciated. Let me try to explain the problem in greater detail, and please correct me if I'm wrong in anything as I am no expert on this. Situation and environment: I have flvtool2 1.0.5 RC6 running on intel Mac OS X 10.4.7. and I am using the following command to inject: flvtool2 -AUPt mydata.xml input.flv output.flv I have an FLV video encoded from an uncompressed AVI with Macromedia's Flash 8 Video Encoder which is shipped with Flash 8 Prof. The settings were Sorenson Spark, 500kbps data rate and automatic keyframe placement, with the original framerate which was 29.97. The video has several chapters in it which begin at a specific time. I have an XML file which contains the start and stop time of each chapter in miliseconds (and of course the start time of a chapter is not necessarily on a keyframe). I am injecting this data (start and stop times of chapters + other here unrelevant data) into the FLV. Problem: When I inject the data from the XML file if I have a cue point (navigation or event) at 1000 msec (00:00:01:000 in Flash) and another one at let's say 1100 msec (00:00:01:100 in Flash) the flvtool2 reports back that the tags are injected but you can see nothing in Flash in the parameters window (although they are in, you can read them in actionscript). If the gap between these two cue points is greater than 1000 then it injects and you can see the data in Flash (in parameter window) as well. Now my biggest problem is whenever I inject the data all the cue points are placed at whole seconds. For example I injected the sample XML file with the three events, I only changed the timestamps: 333,1000,1100 for the three events With these none of the cue points showed up in Flash. (time 0,1,1 reported by flvtool2) If I changed them to: 333, 1000, 2100 then they showed up with the following timestamp in Flash: 00:00:00:000, 00:00:01:000, 00:00:02:000 (time 0,1,2 reported by flvtool2) but they shouldn't they be 00:00:00:333, 00:00:01:000, 00:00:02:100???? I am a relly bit confused here as I don't know if is this a Flash bug or that 2 navigation cue points can not be on the same second or am I missing something here (could easily be) ? The reason I am asking this is that I would like to insert cue points at locations which are not necessarily on keyframes or whole seconds and be able to navigate to these points or have aevents attached to them. Can this be done? Anyway flvtool2 is a great program! Oszkar Nagy > Sorry but I don't think this is the issue. > First what version of flvtool2 do you use ? > What is the standard Flash encoder ? Macromedia's ? > > Precision is not as you mention. > Let me try to explain : > flv is a serie of frames and keyframes. > The number of frames depends of your encoding settings. > > You could add two sorts of cuepoints in the flv. > But the more accurate time you getwill be the one used with the > flvtool2 -k switch. > -k Keyframe mode slides onCuePoint(navigation) tags added > by the > add command to nearest keyframe position > > So you'd anderstand better how the time of your cuepoint is dependant > of your encoding. > You should give the framerate and number of keyframe/frame used in your > settings. > That way, wil a simple calculation, we'll be able to know if flvtool2 > fails where FVE achieve the task. > > IMHO FVE (Flash Video Exporter) tells you precise time although it > won't be able to be precise. > > > Just my 2 cents. > ----------- > erixtekila > http://blog.v-i-a.net/ > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > From erixtekila at gmail.com Sat Jul 8 04:57:32 2006 From: erixtekila at gmail.com (erixtekila) Date: Sat, 8 Jul 2006 10:57:32 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> Message-ID: <7e30e209f2cbbd3012c6d7f6878a10da@gmail.com> > I am a relly bit confused here as I don't know if is this a Flash bug > or that 2 navigation cue points can not be on the same second or am I > missing something here (could easily be) ? The reason I am asking this > is that I would like to insert cue points at locations which are not > necessarily on keyframes or whole seconds and be able to navigate to > these points or have aevents attached to them. Can this be done? Of course it is. You are using flvtool2 1.0.5 RC6 and you should update your version to the last svn repository. BTW, let post here the ouptut of a flvtool2 -UPs movie.flv Just to check something. See ya. ----------- erixtekila http://blog.v-i-a.net/ From erixtekila at gmail.com Sat Jul 8 05:10:29 2006 From: erixtekila at gmail.com (erixtekila) Date: Sat, 8 Jul 2006 11:10:29 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> Message-ID: <6283c292057e82a449733a241816996d@gmail.com> You should also try not to print the output > flvtool2 -AUPt mydata.xml input.flv output.flv I remember that options are executed in order. Also you should use redirection to output in another file : flvtool2 -AUt mydata.xml input.flv stdout > output.flv flvtool2 -P output.flv This command doesn't work in r6 version. The one in the repository, do. HTH ----------- erixtekila http://blog.v-i-a.net/ From oszkar.nagy at gmail.com Mon Jul 10 05:04:13 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Mon, 10 Jul 2006 10:04:13 +0100 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <6283c292057e82a449733a241816996d@gmail.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> Message-ID: Hi! Thanks again for help! Here is the output of flvtool2 -UPs myvideo.flv: ------------------------------------------------------------------------ ----------------------------------------------------------------- /Users/intel/Desktop/Video full lesson test/Flash_sorenson/ fl7_800_80_autokf.flv: hasKeyframes: true cuePoints: audiodatarate: 80.5466342619987 hasVideo: true stereo: true canSeekToEnd: true framerate: 30 audiosamplerate: 44000 videocodecid: 2 datasize: 109349944 lasttimestamp: 976.814 audiosamplesize: 16 audiosize: 10246230 hasAudio: true audiodelay: 0.038 videosize: 99094042 metadatadate: Mon Jul 10 09:49:59 GMT+0100 2006 metadatacreator: inlet media FLVTool2 v1.0.5 - http://www.inlet- media.de/flvtool2 lastkeyframetimestamp: 976.814 height: 480 filesize: 109616645 hasMetadata: true keyframes: times: - 0.038 - 2.007 - 3.975 - 5.944 .... removed inbetween ... - 972.544 - 974.512 - 976.481 - 976.814 filepositions: - 10211 - 229038 - 447325 - 666500 ... removed inbetween ... - 109055518 - 109295687 - 109558328 - 109604776 audiocodecid: 2 videodatarate: 808.932034143655 duration: 976.847 hasCuePoints: false width: 720 ------------------------------------------------------------------ I also downloaded the one from the repository but nothing changed so far (it's 1.0.5 RC6 as well, but might be a new build) I also tried "flvtool2 -AUt mydata.xml input.flv stdout > output.flv" with the same results. The really weird thing is that in Flash if use the onMetedata event to output the metadata it reports all the CuePoints "undefined" but at the same time the onCuePoint event fires up correctly and I can get the embedded data with the parameters. Also here is a sample from my xml (I am using ): TeachingPoint_1 53667 53667 59233 navigation TeachingPoint_2 59267 59267 83167 navigation Question_2_1 93267 83200 93267 2 2 event I also convert the line endings to Unix line endings. Oszkar Nagy On 8 Jul 2006, at 10:10, erixtekila wrote: > You should also try not to print the output > >> flvtool2 -AUPt mydata.xml input.flv output.flv > > I remember that options are executed in order. > Also you should use redirection to output in another file : > > flvtool2 -AUt mydata.xml input.flv stdout > output.flv > > flvtool2 -P output.flv > This command doesn't work in r6 version. > The one in the repository, do. > > HTH > ----------- > erixtekila > http://blog.v-i-a.net/ > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users From erixtekila at gmail.com Mon Jul 10 07:27:20 2006 From: erixtekila at gmail.com (erixtekila) Date: Mon, 10 Jul 2006 13:27:20 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> Message-ID: OK. > duration: 976.847 Your file is pretty long. Be aware that cuepoint timestamps are in millseconds. > 53667 You should try to add your cuepoints with -k switch. If not, I have no clue why it doesn't work. File to long ? Normann ? Le 10 juil. 06, ? 11:04, Oszkar Nagy a ?crit : > Hi! > > Thanks again for help! > > Here is the output of > flvtool2 -UPs myvideo.flv: > > ----------------------------------------------------------------------- > - > ----------------------------------------------------------------- > /Users/intel/Desktop/Video full lesson test/Flash_sorenson/ > fl7_800_80_autokf.flv: > hasKeyframes: true > cuePoints: > audiodatarate: 80.5466342619987 > hasVideo: true > stereo: true > canSeekToEnd: true > framerate: 30 > audiosamplerate: 44000 > videocodecid: 2 > datasize: 109349944 > lasttimestamp: 976.814 > audiosamplesize: 16 > audiosize: 10246230 > hasAudio: true > audiodelay: 0.038 > videosize: 99094042 > metadatadate: Mon Jul 10 09:49:59 GMT+0100 2006 > metadatacreator: inlet media FLVTool2 v1.0.5 - http://www.inlet- > media.de/flvtool2 > lastkeyframetimestamp: 976.814 > height: 480 > filesize: 109616645 > hasMetadata: true > keyframes: > times: > - 0.038 > - 2.007 > - 3.975 > - 5.944 > .... > removed inbetween > ... > - 972.544 > - 974.512 > - 976.481 > - 976.814 > filepositions: > - 10211 > - 229038 > - 447325 > - 666500 > ... > removed inbetween > ... > > - 109055518 > - 109295687 > - 109558328 > - 109604776 > audiocodecid: 2 > videodatarate: 808.932034143655 > duration: 976.847 > hasCuePoints: false > width: 720 > ------------------------------------------------------------------ > > I also downloaded the one from the repository but nothing changed so > far (it's 1.0.5 RC6 as well, but might be a new build) > > I also tried "flvtool2 -AUt mydata.xml input.flv stdout > output.flv" > with the same results. > > The really weird thing is that in Flash if use the onMetedata event > to output the metadata it reports all the CuePoints "undefined" but > at the same time the onCuePoint event fires up correctly and I can > get the embedded data with the parameters. > > Also here is a sample from my xml (I am using ): > > > > TeachingPoint_1 > 53667 > > 53667 > 59233 > > navigation > > > > TeachingPoint_2 > 59267 > > 59267 > 83167 > > navigation > > > > Question_2_1 > 93267 > > 83200 > 93267 > 2 > 2 > > event > > > I also convert the line endings to Unix line endings. > > Oszkar Nagy > > On 8 Jul 2006, at 10:10, erixtekila wrote: > >> You should also try not to print the output >> >>> flvtool2 -AUPt mydata.xml input.flv output.flv >> >> I remember that options are executed in order. >> Also you should use redirection to output in another file : >> >> flvtool2 -AUt mydata.xml input.flv stdout > output.flv >> >> flvtool2 -P output.flv >> This command doesn't work in r6 version. >> The one in the repository, do. >> >> HTH ----------- erixtekila http://blog.v-i-a.net/ >> >> _______________________________________________ >> Flvtool2-users mailing list >> Flvtool2-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/flvtool2-users > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > From duncan.reid at gmail.com Mon Jul 10 15:59:17 2006 From: duncan.reid at gmail.com (Duncan Reid) Date: Mon, 10 Jul 2006 15:59:17 -0400 Subject: [FLVTool2-users] 1.0.5 RC6 - Windows Version Message-ID: <87ad8d9a0607101259l1301e71dk4c6b9f9db4cf8032@mail.gmail.com> Hello All, I seem to be able to inject cuepoints via an xml file as per the example... flvtool2 -A -t examples/tags.xml in.flv out.flv but outside of that i'm consistently getting these types of errors: C:\flvtool>flvtool2 -UPs gear-3.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 or C:\flvtool>flvtool2 -U gear-3.flv out.flv which actually creates the "out.flv" but it's 0 bytes. 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 I noticed from the example provided in the help that the in / out paths were optional so i haven't used them yet, everything is located with the tool itself for testing purposes. I may be way off base with my command line useage though. I have tried many different ways but can't quite get it, seems like i am missing a switch or something? Again this is not my strong point and i've googled for hours trying to find information, but there isn't much out there and the wiki supposedly had some good examples but that seems to be gone unfortunately. Tried google cache but nothing is showing up for me there either. Does anyone have any good reference points or examples? Or am i just running on the wrong platform? :-) I'm on windows prototyping at the moment, will be moving over to linux shortly. apologies for the length of this email... Thanks, Dunc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/flvtool2-users/attachments/20060710/a2b6d2eb/attachment.html From kefentse at kefentse.com Sun Jul 16 21:55:36 2006 From: kefentse at kefentse.com (Kefentse Account) Date: Sun, 16 Jul 2006 21:55:36 -0400 Subject: [FLVTool2-users] ERROR: undefined method Message-ID: <44BAEE18.5020408@kefentse.com> Hi: I had FLV tool all set up and working on my last machine, and now I am getting the following error: flvtool2 -P flv_test.flv ERROR: undefined method `&' for "\005":String ERROR: /usr/local/lib/ruby/site_ruby/1.9/flv/stream.rb:399:in `read_header' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flv/stream.rb:57:in `initialize' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:272:in `open_stream' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:238:in `process_files' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:225:in `process_files' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:44:in `FLVTool2::Base#execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2.rb:168:in `FLVTool2#execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2.rb:228 ERROR: /usr/local/bin/flvtool2:2 Has anyone received this error? I have Any help is appreciated...thanks! From oszkar.nagy at gmail.com Mon Jul 17 04:38:16 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Mon, 17 Jul 2006 09:38:16 +0100 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> Message-ID: Hi! Well from what I discovered so far I think my issue is NOT due to a bug in flvtool2. Here is what I found: If I inject data from an XML using (flvtool2 -AUt myxml.xml input.flv output.flv) the data is actually in the FLV file and all the cue points invoke the onCuePoint event. Although you can't read them (I am no professional in AS2 so I might be wrong) from the cuePoints array as they all return undefined. This was a problem for me as I wanted to have access to all my data as soosn as the FLV has been loaded. So what I did in my particular case is I created a cue point at 0 timestamp and added all my data as parameters. This would fire up at the start of the FLV and parse all the data from the parameters to associative arrays, so that I have all my information before reaching any other cue points. Also sometimes if I put two cue points closer than 1000 msec I got an "Unsorted cue point" error using the Flash 7 media components (have to use those in this particular project) to play back the FLV. So I think this is a bug in Flash. Erixtekila: Tried both with the same result. Kefentse Account: Regarding your problem, most of the time I got an error message like this something is wrong syntactically so check how do you run flvtool2. Check escaped characters, and check how you put your parameters and your piping as well if you do that. If you are injecting from xml check the format of you xml and also the line endings and the file encoding. I had several problems which were due to my XML was not formatted properly (as I am generating them automatically). Cheers, Oszkar From erixtekila at gmail.com Mon Jul 17 05:00:23 2006 From: erixtekila at gmail.com (erixtekila) Date: Mon, 17 Jul 2006 11:00:23 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> Message-ID: <9edec375f9fa14e3f451e1e287888964@gmail.com> Normally, to catch the cuepoints infos, you should register an NetStream.onMetaData function. This will be called when the header of the flv as beend read. HTH ----------- erixtekila http://blog.v-i-a.net/ From oszkar.nagy at gmail.com Mon Jul 17 05:18:35 2006 From: oszkar.nagy at gmail.com (Oszkar Nagy) Date: Mon, 17 Jul 2006 10:18:35 +0100 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <9edec375f9fa14e3f451e1e287888964@gmail.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> <9edec375f9fa14e3f451e1e287888964@gmail.com> Message-ID: <9742EFF1-D291-4A5A-A922-89FA279728B0@gmail.com> Hi! True, but when you do that you there is a cuePoints property (an array actually) which contains all your cue points just as other meta tags such as keyframes or hasCuePoints etc. This is empty however when you inject with flvtool2, although the data is there as you can crete an event listener and read from that. Oszkar On 17 Jul 2006, at 10:00, erixtekila wrote: > Normally, to catch the cuepoints infos, you should register an > NetStream.onMetaData function. > This will be called when the header of the flv as beend read. > > HTH > ----------- > erixtekila > http://blog.v-i-a.net/ > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users From omar.speranza at argomedia.it Mon Jul 17 05:29:11 2006 From: omar.speranza at argomedia.it (Omar Speranza) Date: Mon, 17 Jul 2006 11:29:11 +0200 Subject: [FLVTool2-users] Apply meta to webcam FLV Message-ID: <44BB5867.2010700@argomedia.it> Hi, a friend of mine usually record video FLV from his webcam and put them on PC, but when I use flvtool2 -UP video_from_webcam.flv I got an EOF error I think that these type of records are not "closed"... is there a solution to apply meta on them? -- ~omar From kefentse at kefentse.com Tue Jul 18 00:08:58 2006 From: kefentse at kefentse.com (Kefentse Account) Date: Tue, 18 Jul 2006 00:08:58 -0400 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> Message-ID: <44BC5EDA.5090404@kefentse.com> Hi Oszkar, I get the error when I attempt to run this script from the shell : flvtool2 -P meta_test.flv Not sure what would create the error: ERROR: undefined method `&' for "\005":String How do you usually troubleshoot? Also, does anyone have FLVTool2 working with Ruby 1.9? Could that be causing a problem? Thanks again for any help you can provide. Oszkar Nagy wrote: > Hi! > > Well from what I discovered so far I think my issue is NOT due to a > bug in flvtool2. Here is what I found: > > If I inject data from an XML using (flvtool2 -AUt myxml.xml input.flv > output.flv) the data is actually in the FLV file and all the cue > points invoke the onCuePoint event. Although you can't read them (I > am no professional in AS2 so I might be wrong) from the cuePoints > array as they all return undefined. This was a problem for me as I > wanted to have access to all my data as soosn as the FLV has been > loaded. So what I did in my particular case is I created a cue point > at 0 timestamp and added all my data as parameters. This would fire > up at the start of the FLV and parse all the data from the parameters > to associative arrays, so that I have all my information before > reaching any other cue points. Also sometimes if I put two cue points > closer than 1000 msec I got an "Unsorted cue point" error using the > Flash 7 media components (have to use those in this particular > project) to play back the FLV. So I think this is a bug in Flash. > > Erixtekila: > Tried both with the same result. > > Kefentse Account: > Regarding your problem, most of the time I got an error message like > this something is wrong syntactically so check how do you run > flvtool2. Check escaped characters, and check how you put your > parameters and your piping as well if you do that. If you are > injecting from xml check the format of you xml and also the line > endings and the file encoding. I had several problems which were due > to my XML was not formatted properly (as I am generating them > automatically). > > Cheers, > > Oszkar > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > > > From kefentse at kefentse.com Tue Jul 18 00:51:47 2006 From: kefentse at kefentse.com (Kefentse Account) Date: Tue, 18 Jul 2006 00:51:47 -0400 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <44BC5EDA.5090404@kefentse.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> <44BC5EDA.5090404@kefentse.com> Message-ID: <44BC68E3.7080209@kefentse.com> FYI I figured out the problem. I was running Ruby 1.9. As soon as I replaced 1.9 with 1.8 FLV Tool2 works. Should that be submitted as a bug? Thanks! Kefentse Account wrote: > Hi Oszkar, > > I get the error when I attempt to run this script from the shell : > > flvtool2 -P meta_test.flv > > Not sure what would create the error: > > ERROR: undefined method `&' for "\005":String > > How do you usually troubleshoot? Also, does anyone have FLVTool2 working > with Ruby 1.9? Could that be causing a problem? > > Thanks again for any help you can provide. > > Oszkar Nagy wrote: > >> Hi! >> >> Well from what I discovered so far I think my issue is NOT due to a >> bug in flvtool2. Here is what I found: >> >> If I inject data from an XML using (flvtool2 -AUt myxml.xml input.flv >> output.flv) the data is actually in the FLV file and all the cue >> points invoke the onCuePoint event. Although you can't read them (I >> am no professional in AS2 so I might be wrong) from the cuePoints >> array as they all return undefined. This was a problem for me as I >> wanted to have access to all my data as soosn as the FLV has been >> loaded. So what I did in my particular case is I created a cue point >> at 0 timestamp and added all my data as parameters. This would fire >> up at the start of the FLV and parse all the data from the parameters >> to associative arrays, so that I have all my information before >> reaching any other cue points. Also sometimes if I put two cue points >> closer than 1000 msec I got an "Unsorted cue point" error using the >> Flash 7 media components (have to use those in this particular >> project) to play back the FLV. So I think this is a bug in Flash. >> >> Erixtekila: >> Tried both with the same result. >> >> Kefentse Account: >> Regarding your problem, most of the time I got an error message like >> this something is wrong syntactically so check how do you run >> flvtool2. Check escaped characters, and check how you put your >> parameters and your piping as well if you do that. If you are >> injecting from xml check the format of you xml and also the line >> endings and the file encoding. I had several problems which were due >> to my XML was not formatted properly (as I am generating them >> automatically). >> >> Cheers, >> >> Oszkar >> >> _______________________________________________ >> Flvtool2-users mailing list >> Flvtool2-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/flvtool2-users >> >> >> >> > > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > > > From lists at inlet-media.de Fri Jul 21 04:54:59 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 21 Jul 2006 10:54:59 +0200 Subject: [FLVTool2-users] Solution to cue points not appearing in Flash + 1000msec problem In-Reply-To: <44BC68E3.7080209@kefentse.com> References: <1F650B67-6173-494A-ABF3-54136E673EA1@gmail.com> <77aba97e0607060342w3e42eedal9fc769c049e8dce9@mail.gmail.com> <6283c292057e82a449733a241816996d@gmail.com> <44BC5EDA.5090404@kefentse.com> <44BC68E3.7080209@kefentse.com> Message-ID: <1153472099.5795.3.camel@localhost> Hi, sorry for my very late reply! Am Dienstag, den 18.07.2006, 00:51 -0400 schrieb Kefentse Account: > > How do you usually troubleshoot? Also, does anyone have FLVTool2 working > > with Ruby 1.9? Could that be causing a problem? FLVTool2 is actually not working with Ruby 1.9. It is recommended to use the stable 1.8.4 release. -- Norman Timmler http://blog.inlet-media.de From lists at inlet-media.de Fri Jul 21 04:56:50 2006 From: lists at inlet-media.de (Norman Timmler) Date: Fri, 21 Jul 2006 10:56:50 +0200 Subject: [FLVTool2-users] ERROR: undefined method In-Reply-To: <44BAEE18.5020408@kefentse.com> References: <44BAEE18.5020408@kefentse.com> Message-ID: <1153472211.5795.5.camel@localhost> FLVTool2 is only working with Ruby 1.8.4 at the moment. Am Sonntag, den 16.07.2006, 21:55 -0400 schrieb Kefentse Account: > Hi: > > I had FLV tool all set up and working on my last machine, and now I am > getting the following error: > > flvtool2 -P flv_test.flv > ERROR: undefined method `&' for "\005":String > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flv/stream.rb:399:in `read_header' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flv/stream.rb:57:in `initialize' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:272:in > `open_stream' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:238:in > `process_files' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:225:in > `process_files' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2/base.rb:44:in > `FLVTool2::Base#execute!' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2.rb:168:in > `FLVTool2#execute!' > ERROR: /usr/local/lib/ruby/site_ruby/1.9/flvtool2.rb:228 > ERROR: /usr/local/bin/flvtool2:2 > > Has anyone received this error? > > I have Any help is appreciated...thanks! > _______________________________________________ > Flvtool2-users mailing list > Flvtool2-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/flvtool2-users > -- Norman Timmler http://blog.inlet-media.de From walder at allink.ch Fri Jul 21 15:18:52 2006 From: walder at allink.ch (Mike Walder) Date: Fri, 21 Jul 2006 21:18:52 +0200 Subject: [FLVTool2-users] GUI FLV Converter for os x Message-ID: Hello Folks I added some new Features to my little application. It?s a FLV Converter based on ffmpeg and flvtool2. If I have the time I will add a GUI Interface to set timestamps. Feedback is welcomed. Cheers mike Link: http://kunden.allink.ch/flv/FLVConverter.app.zip ALLINK GmbH Mike Walder 076 580 70 91 walder at allink.ch www.allink.ch pub 1024D/6BA391C6 2005-10-31 Mike Walder Key fingerprint = A7B6 DDB1 55F2 2E9C 8D6C 245D F8FB B025 6BA3 91C6 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/flvtool2-users/attachments/20060721/66de16f1/attachment-0001.html From erixtekila at gmail.com Fri Jul 28 21:27:24 2006 From: erixtekila at gmail.com (erixtekila) Date: Sat, 29 Jul 2006 03:27:24 +0200 Subject: [FLVTool2-users] GUI FLV Converter for os x In-Reply-To: References: Message-ID: > Feedback is welcomed. > Link: > http://kunden.allink.ch/flv/FLVConverter.app.zip This new build don't launch on 10.3.9 PPC whereas the last did. hth ----------- erixtekila http://blog.v-i-a.net/