Play mpeg? firewire camera stream? native rendered canvas?

F-IN-BOX for Delphi / Builder C++ / VCL
whome
Posts: 9
Joined: Mon Sep 04, 2006 7:13 am

Play mpeg? firewire camera stream? native rendered canvas?

Postby whome » Mon Sep 04, 2006 7:21 am

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?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

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

Postby Softanics » Mon Sep 04, 2006 11:40 am

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.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 17 guests

cron