 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lars Blumberg Guest
|
Posted: Thu May 11, 2006 9:14 pm Post subject: How to create a wmf video file from a TBitmap sequence |
|
|
Hello my dear newsgroup,
I have a sequence of bitmaps (TBitmap instances). My aim is to create a wmv
file out of this sequence to have a wmv video. Which framework should I use.
I thougt to use DSPack / DirectShow to create a wmv file. How do I do that?
I did not find any example with google. I also want to decode sound samples
to the wmv video file!
Thanks for any help!
With best regards
Lars Blumberg |
|
| Back to top |
|
 |
Steven Thomson Guest
|
Posted: Fri May 12, 2006 8:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Hi,
We use Tvideograbber from Datastead, it is very simple to yse (you have to
set the "videosource" property = "vs_jpegsorbitmaps", there is a demo
project in the evaluation download).
Rgds
Steven.
"Lars Blumberg" <Lars.Blumberg (AT) aquasoft (DOT) de> a écrit dans le message de news:
44639eb2 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello my dear newsgroup,
I have a sequence of bitmaps (TBitmap instances). My aim is to create a
wmv file out of this sequence to have a wmv video. Which framework should
I use. I thougt to use DSPack / DirectShow to create a wmv file. How do I
do that? I did not find any example with google. I also want to decode
sound samples to the wmv video file!
Thanks for any help!
With best regards
Lars Blumberg
|
|
|
| Back to top |
|
 |
Lars Blumberg Guest
|
Posted: Fri May 12, 2006 9:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
| Quote: | At USD $2950 (with sources), it might be a somewhat expensive way of
making a WMF file from a sequence of bitmaps, though?
|
Yes, it's too expensive. I really would like to use DSPack for creating wmf
video files from a sequence of TBitmaps. Is there anyone who can give me a
short code snippet or any URL where I can find some hints? I guess, I am not
the first one who creates wmv videos from a TBitmap sequence using DSPack.
Thanks for any idea!
Lars Blumberg |
|
| Back to top |
|
 |
Lars Blumberg Guest
|
Posted: Fri May 12, 2006 9:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
| Quote: | We use Tvideograbber from Datastead, it is very simple to yse (you have to
set the "videosource" property = "vs_jpegsorbitmaps", there is a demo
project in the evaluation download).
|
Hi Steven. Thanks for your hint! How can I add sound samples to the video
file? I have some sound raw data and want to encode it to the wmv file.
Thanks for replying!
Lars Blumberg |
|
| Back to top |
|
 |
David J Taylor Guest
|
Posted: Fri May 12, 2006 9:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Steven Thomson wrote:
| Quote: | Hi,
We use Tvideograbber from Datastead, it is very simple to yse (you
have to set the "videosource" property = "vs_jpegsorbitmaps", there
is a demo project in the evaluation download).
Rgds
Steven.
|
At USD $2950 (with sources), it might be a somewhat expensive way of
making a WMF file from a sequence of bitmaps, though?
David |
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Fri May 12, 2006 10:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Hi Lars,
You can also try VideoLab at www.mitov.com . It is free for non
commercial purposes, and it included a TVLASFLogger. Specify an WMF
Profile file, and take a look at the RecordBitmapsDemo demo project to
see how you can provide your own bitmaps.
With bets regards,
Boian Mitov
Lars Blumberg wrote:
| Quote: | Hello my dear newsgroup,
I have a sequence of bitmaps (TBitmap instances). My aim is to create a wmv
file out of this sequence to have a wmv video. Which framework should I use.
I thougt to use DSPack / DirectShow to create a wmv file. How do I do that?
I did not find any example with google. I also want to decode sound samples
to the wmv video file!
Thanks for any help!
With best regards
Lars Blumberg
|
|
|
| Back to top |
|
 |
Steven Thomson Guest
|
Posted: Fri May 12, 2006 10:14 am Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Hi Lars
Not sure how this can be exactly achieved, I suggest you to contact their
support at support (AT) datastead (DOT) com
Steven.
"Lars Blumberg" <Lars.Blumberg (AT) aquasoft (DOT) de> a écrit dans le message de news:
44644dd8 (AT) newsgroups (DOT) borland.com...
| Quote: | We use Tvideograbber from Datastead, it is very simple to yse (you have
to set the "videosource" property = "vs_jpegsorbitmaps", there is a demo
project in the evaluation download).
Hi Steven. Thanks for your hint! How can I add sound samples to the video
file? I have some sound raw data and want to encode it to the wmv file.
Thanks for replying!
Lars Blumberg
|
|
|
| Back to top |
|
 |
Lars Blumberg Guest
|
Posted: Fri May 12, 2006 1:14 pm Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
| Quote: | You can also try VideoLab at www.mitov.com . It is free for non commercial
purposes, and it included a TVLASFLogger. Specify an WMF Profile file, and
take a look at the RecordBitmapsDemo demo project to see how you can
provide your own bitmaps.
|
Thank you Boian, I will have a look at your tool and test it. Is the source
code of VideoLab available? I would be glad if I could use DSPack directly.
I suppose you also use DSPack/DirectShow code to create wmv files?
With best regards
Lars Blumberg |
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Fri May 12, 2006 9:14 pm Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Hi Larus,
The source code of VideoLab is available but for a price. DSPack the
last time I worked with it, is a direct Delphi translation of some the
DirectShow SDK VC++ foundation clases provided by Microsoft. It did not
include all of them, and the original SDK lacks some necesary clases.
There ware also a lot of bugs in the DSPack version at the time. I ended
up using parts of the DSPack translation, and translating some of the
original C++ clases my self. VideoLab has now its own translation, very
similar to DSPack.
You can't use the DSPack directly unless they have added a pusher
filter. The last time I checked it was not there. I had to write my own
push filter, as one was not even available in the M$ C++ foundation
classes .
With best regards,
Boian Mitov
Lars Blumberg wrote:
| Quote: | Thank you Boian, I will have a look at your tool and test it. Is the source
code of VideoLab available? I would be glad if I could use DSPack directly.
I suppose you also use DSPack/DirectShow code to create wmv files?
With best regards
Lars Blumberg
|
|
|
| Back to top |
|
 |
KimB Guest
|
Posted: Mon May 15, 2006 5:15 pm Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Compile and register the pushsource demo in DSPack. then test using graphedit. That will take a
bitmap source file and render it to video. You will however need to do some coding to get it running
the way you want, basically the pushsource demo filter only renders from a bmp file on disk, this is
slow.
If you want to do this in memory you need to add a com interface to the filter to pass the image
data and also add some way to start and stop the playback until each frame's image buffer is full.
I'd check the DSPack forum for more info on this.
kimB
Lars Blumberg wrote:
| Quote: | Hello my dear newsgroup,
I have a sequence of bitmaps (TBitmap instances). My aim is to create a wmv
file out of this sequence to have a wmv video. Which framework should I use.
I thougt to use DSPack / DirectShow to create a wmv file. How do I do that?
I did not find any example with google. I also want to decode sound samples
to the wmv video file!
Thanks for any help!
With best regards
Lars Blumberg
|
|
|
| Back to top |
|
 |
Lars Blumberg Guest
|
Posted: Thu May 18, 2006 12:14 pm Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
| Quote: | The source code of VideoLab is available but for a price. DSPack the last
time I worked with it, is a direct Delphi translation of some the
DirectShow SDK VC++ foundation clases provided by Microsoft. It did not
include all of them, and the original SDK lacks some necesary clases.
There ware also a lot of bugs in the DSPack version at the time. I ended
up using parts of the DSPack translation, and translating some of the
original C++ clases my self. VideoLab has now its own translation, very
similar to DSPack.
You can't use the DSPack directly unless they have added a pusher filter.
The last time I checked it was not there. I had to write my own push
filter, as one was not even available in the M$ C++ foundation classes
.
With best regards,
Boian Mitov
|
Hello Boian,
First I installed the trial version before byuing the full version. After
the installation Delphi could not find the SignalLab*.bpl files, because
they were installed to the wrong directory. I use a german version of
Delphi. My bpl files are located in
C:\Dokumente und Einstellungen\Lars Blumberg\Eigene Dateien\Borland
Studio-Projekte\Bpl
but your bpl files are installed to
C:\Dokumente und Einstellungen\Lars Blumberg\Eigene Dateien\Borland Studio
Projects\Bpl
When starting Delphi it is looking for your bpl files in the first one, but
they are located in the second one. When I copy the files to the first
directory, everything works fine.
With best regards
Lars |
|
| Back to top |
|
 |
Lars Blumberg Guest
|
Posted: Thu May 18, 2006 1:14 pm Post subject: How to create a wmv video file using VideoLab? |
|
|
| Quote: | The source code of VideoLab is available but for a price. DSPack the last
time I worked with it, is a direct Delphi translation of some the
DirectShow SDK VC++ foundation clases provided by Microsoft. It did not
include all of them, and the original SDK lacks some necesary clases.
There ware also a lot of bugs in the DSPack version at the time. I ended
up using parts of the DSPack translation, and translating some of the
original C++ clases my self. VideoLab has now its own translation, very
similar to DSPack.
You can't use the DSPack directly unless they have added a pusher filter.
The last time I checked it was not there. I had to write my own push
filter, as one was not even available in the M$ C++ foundation classes
.
With best regards,
Boian Mitov
|
I tried the demo project "RecordBitmapsDemo". It works fine for creating avi
video files. I am also able to use WMV3 video compression. But I cannot
change the file extension of the TVLAVILogger from .avi to .wmv, because it
creates avi files.
Now my question is, Boian, how can I create a wmv video file? I suppose I
cannot use the TVLAVILogger component for this. How do I do that?
Thanks for help!
Lars |
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Thu May 18, 2006 2:15 pm Post subject: Re: How to create a wmv video file using VideoLab? |
|
|
Hi Lars,
To write into WMV you need to use the dedicated TVLASFLogger component.
You will have to create compression profile first. Please check the
online help for that.
With best regards,
Boian Mitov
Lars Blumberg wrote:
| Quote: | I tried the demo project "RecordBitmapsDemo". It works fine for creating avi
video files. I am also able to use WMV3 video compression. But I cannot
change the file extension of the TVLAVILogger from .avi to .wmv, because it
creates avi files.
Now my question is, Boian, how can I create a wmv video file? I suppose I
cannot use the TVLAVILogger component for this. How do I do that?
Thanks for help!
Lars
|
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Thu May 18, 2006 2:15 pm Post subject: Re: How to create a wmv video file using VideoLab? |
|
|
Lars Blumberg wrote:
| Quote: | Now my question is, Boian, how can I create a wmv video file? I suppose I
cannot use the TVLAVILogger component for this. How do I do that?
|
Use the TVLASFLogger.
HTH
Jonathan |
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Thu May 18, 2006 2:15 pm Post subject: Re: How to create a wmf video file from a TBitmap sequence |
|
|
Hi Lars,
Thank you! I will test with German version of BDS 2006 .
With best regards,
Boian Mitov
Lars Blumberg wrote:
| Quote: |
Hello Boian,
First I installed the trial version before byuing the full version. After
the installation Delphi could not find the SignalLab*.bpl files, because
they were installed to the wrong directory. I use a german version of
Delphi. My bpl files are located in
C:\Dokumente und Einstellungen\Lars Blumberg\Eigene Dateien\Borland
Studio-Projekte\Bpl
but your bpl files are installed to
C:\Dokumente und Einstellungen\Lars Blumberg\Eigene Dateien\Borland Studio
Projects\Bpl
When starting Delphi it is looking for your bpl files in the first one, but
they are located in the second one. When I copy the files to the first
directory, everything works fine.
With best regards
Lars
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|