So i’ve been searching for hours now… figured someone here might have the answer. So what i’m doing is taking Bitmaps, feeding them into FFMpeg, and dumping out raw H263 (I’ll get to 264 in sec) data. I use my own FLV library and rtmp library to created in C# with headers/etc to stream the data directly out to wowza… bit by freeking bit, its been a battle. It does work though, worked with Red5 a long time ago too…anyways…
Now I’m trying to get the same result with 264. Firstly i’ve got it all working up to the point where it supposed to show up on the other side. Frames are being generated, sent to wowza, and sent to the client. No one is choking, or at least no one is complaining. I have even inspected the bits being generated and everything looks inline with VIDEODATA/AVCVIDEOPACKET from the adobe spec… but the client doesn’t see anything, the Flash Video player doesn’t even render anything, not even black or white screen.
From what i’ve been reading, it has to do with the fact that I am not sending any Metadata/Moov atom junk (basically a command that say time to play the stream). Everything online talks about moving these headers to the start of your file before streaming… I have no file, i have no start, and the end is unclear… so i need to generate them dynamically when a client connects. Fine, i’ve done this bit by bit before… but there is hardly anything on how these packets are formatted, let alone which ones i need.
Since i’m targeting wowza anyways, hopefully someone here might know what i need to send and how. Otherwise i’m stuck with 263 encoding, and that means more data == more $$…
So who’s the expert, cuz this one is a big one.
Thanks in advance!