Hey, I don't do any metaData insertion, just record the stream with the microphone attached, but since there is no input of audio, the .flv turns out invalid...
BTW, what about negative timestamps? Sometimes, when I record, some timestamps get discarded (negative timestamp message on the serverside), and the playback starts only at the first timestamp, sometimes 5, 10 seconds after the start of recording. Can you give some direction on this? (is there a Jira ticket open for this?) Tnx, Gregor From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dominick Accattato Sent: Saturday, July 21, 2007 9:07 PM To: [email protected] Subject: Re: [Red5] onMetaData: Expected 1, got 14. Gregor: So if you publish a stream with no audio data, the flv produced is invalid? Is this only when your inserting metadata or does this occur anytime you publish just video? On 7/19/07, Gregor Rot <[EMAIL PROTECTED]> wrote: In the end I found out that when there was no input from the microphone, the flv was wrong. Making some noise solved the problem, funny :) (and setting setSilenceLevel(0) for example). Br, Greg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregor Rot Sent: Wednesday, July 18, 2007 3:46 PM To: [email protected] Subject: Re: [Red5] onMetaData: Expected 1, got 14. More info: the generated .flv (that has been recorder by red5) is not valid (the metaData is wrong, there is no info on the audio/video codec according to a flv analyzer) only after making a second recording. I think the problem is with the recording stream and cam/mic attachment. When i end the first recording, i do a: recordingStream.close(); then i redo recordingStream.publish("somename", "record"); but the second recording produces an invalid flv. I tryed to: 1) reattach the cam/mic, or 2) recreate the recordingStream object and reattach, or 3) use recordingStream.play(false) instead of recordingStream.close(); but with no success :| Gregor -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregor Rot Sent: Wednesday, July 18, 2007 10:37 AM To: [email protected] Subject: [Red5] onMetaData: Expected 1, got 14. Hi there, I record a stream then play it back...i have an onMetaData on my client with 1 parameter, and sometimes i get the error "Expected 1, got 14." The code looks like...: recordStream.publish ("somename", "record"); and then play: playStream.play("somename"); The cam and mic are attached to the recordStream. I noticed some similar topics with "Expected 1, got 6." - anybody figured it out? Tnx, Gregor Ps: I use trunk revision 2217 and Flex 3. _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org -- Dominick Accattato, CTO Infrared5 Inc. www.newviewnetworks.com _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
