image stream
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
image stream

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders
Author Message
Naroin
Guest





Posted: Fri Sep 24, 2004 2:27 pm    Post subject: image stream Reply with quote

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 Reply with quote

On Fri, 24 Sep 2004 12:27:28 +0200, Naroin wrote:

Quote:
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
Naroin
Guest





Posted: Fri Sep 24, 2004 4:37 pm    Post subject: Re: image stream Reply with quote

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
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders All times are GMT
Page 1 of 1

 
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



Microsoft Office Forum New Topics
Powered by phpBB