Record multiple videos from a live web cam stream

hello again

so recording and path are ok now, but i still have 2 issues:

i canno’t add custom metadata. i do like that:

metaData[“nom”] = _pseudo;

recordStream.send(“@setDataFrame”, “onMetaData”, metaData);

but this metadata is not available then in the flv. is the synthax ok ?

also, i have a problem with sound: when played from flash, the recordings are ok. but i cannot play them anywhere else (have only video). when trying to convert to avi in ffmpeg i have this:

Input #0, flv, from ‘686812914.flv’:

Metadata:

duration : 576

creationdate : ven. janv. 13 14:54:29

Duration: 00:09:35.78, start: 0.000000, bitrate: N/A

Stream #0.0: Video: flv, yuv420p, 176x106, 1k tbr, 1k tbn, 1k tbc

Stream #0.1: Audio: [0][0][0][0] / 0x0000, 16000 Hz, 1 channels

[buffer @ 0x118f1d0] w:176 h:106 pixfmt:yuv420p

Output #0, avi, to ‘test.avi’:

Stream #0.0: Video: mpeg4, yuv420p, 176x106, q=2-31, 200 kb/s, 90k tbn, 1k tbc

Stream #0.1: Audio: mp2, 16000 Hz, 1 channels, s16, 64 kb/s

Stream mapping:

Stream #0.0 → #0.0

Stream #0.1 → #0.1

Decoder (codec id 86054) not found for input stream #0.1

i’m using speex as audio codec to grab audio from microphone in flash

thanks for your help !

Gabriel