Page 1 of 1

Play mpeg? firewire camera stream? native rendered canvas?

Posted: Mon Sep 04, 2006 7:21 am
by whome
Three separate questions, all are rather technical and challenging(?).

1) Play mpeg files directly wihtout .flv batch conversion
Flash can play .flv flash video files only. If I have a bunch of mpeg files I must use some batch converter beforehand. No good.

Is it possible to use Delphi side and encode mpeg file to .flv stream at runtime. Flash movie would only see .flv stream. Anyone created or knows if its even possible to create?

2) Play firewire camera stream in Flash movie?
How about using firewire camere stream in flash movie. I have delphi-side parsing a firewire camera and can display frames in delphi canvas fine.

If I have RGB framebuffer available, it it possible to convert to .flv stream at runtime.

Anyone done or know .flv format if its even possible?

3) Delphi updates Flash "sprite" canvas?
Is it possible to create flash sprite component, that gives backbuffer to the delphi side. Delphi code would update rgb screen pixels as it please. But it still would be Flash sprite running within movie as a first-class citizen.

Flash externalAPI, if I have understood, is only string based protocol really. It sends xml documents (yak performance) back and fort.

Native rendered flash sprite canvas would be cool, possible?

Re: Play mpeg? firewire camera stream? native rendered canva

Posted: Mon Sep 04, 2006 11:40 am
by Softanics
Thank you for your questions.

whome wrote:Three separate questions, all are rather technical and challenging(?).

1) Play mpeg files directly wihtout .flv batch conversion
[...]
If I have RGB framebuffer available, it it possible to convert to .flv stream at runtime.


We haven't solution to encode FLV video. May be project http://www.delphiflash.com has FLV encoder component?

whome wrote:3) Delphi updates Flash "sprite" canvas?
[...]
Native rendered flash sprite canvas would be cool, possible?


Flash External API is not very fast... I'm not sure that the speed would be enough for that. I have one idea. You can periodically load image via some URL in Flash. In Delphi, you provide new "frame". But how fast it will work, I don't know.