| Author |
Message |
Naroin
Guest
|
Posted:
Fri Sep 24, 2004 2:27 pm Post subject:
image stream |
|
|
hi!
i'm trying to insert an image stream in a windows media stream
so i created a new stream
pProfile->CreateNewStream(WMMEDIATYPE_Image, &pConfigJpeg);
configured it (like in the documentation about image streams)
added it in the writer
the configuration works well, i can get the profile config without any
problem
THEN, i try to pass an image to encode
the image stream is configured for 384*288 pictures
so i create a INSSBuffer of size 331776
in the buffer, i tried - an image, - all zeros
and i do a writesample
it returns NS_E_INVALID_DATA
and i really dont know WHY!
please help!
thx
|
|
| Back to top |
|
 |
The March Hare [MVP]
Guest
|
Posted:
Fri Sep 24, 2004 4:16 pm Post subject:
Re: image stream |
|
|
On Fri, 24 Sep 2004 12:27:28 +0200, Naroin wrote:
Please do not multi-post. This has nothing to do with the WM Encoder or
its SDK. Your post in ../sdk is more appropriate (although the Subject
over there is odd). |
|
| Back to top |
|
 |
Naroin
Guest
|
Posted:
Fri Sep 24, 2004 4:37 pm Post subject:
Re: image stream |
|
|
yeah i'm sorry i make a mistake while writing in this post, so i post
in the sdk one, but i made another mistake with the topic name.
sorry ;)
| Quote: | On Fri, 24 Sep 2004 12:27:28 +0200, Naroin wrote:
CreateNewStream
Please do not multi-post. This has nothing to do with the WM Encoder or
its SDK. Your post in ../sdk is more appropriate (although the Subject
over there is odd). |
|
|
| Back to top |
|
 |
|
|
|
|