Wiretap

Wiretap

Reply
New Member
gerrylyan
Posts: 2
Registered: ‎12-03-2007
Message 1 of 4 (511 Views)

create a high definition video clip

511 Views, 3 Replies
12-03-2007 06:06 PM
When I create a high definition video clip node which is 1920*1080 RGB uncompressed in WINDOWS, I can't write frames into it. I am wondering why?

and why the format.frameBufferSize() is 16 bytes more than
1920*1080*3. How can I fill the 16 bytes when I create clip node?
Distinguished Contributor
dlabute
Posts: 103
Registered: ‎05-11-2004
Message 2 of 4 (511 Views)

Re: create a high definition video clip

12-03-2007 08:57 PM in reply to: gerrylyan
Hi,

Can you elaborate on the error message you get when writing frames?

As for the 16 bytes, it's actually normal (but should be documented). It's used for internal storage purposes only, and you need not fill them.

All that is necesary is that you allocate a buffer of the size returned by the server and write the frame as shown in the sample code.

HTH,

Dan
New Member
gerrylyan
Posts: 2
Registered: ‎12-03-2007
Message 3 of 4 (511 Views)

Re: create a high definition video clip

12-03-2007 10:16 PM in reply to: gerrylyan
I can sucessfully write frame, but can't watch the video on the server end. the frame is black.
Distinguished Contributor
dlabute
Posts: 103
Registered: ‎05-11-2004
Message 4 of 4 (511 Views)

Re: create a high definition video clip

12-04-2007 05:13 AM in reply to: gerrylyan
The last time this happened, the WT developer didn't realize their source frame was black. You're out there and know who you are ... :smileyhappy:

Can you verify the content of the source frame? Are you displaying the contents of lastError() if the call fails?

Did you try the sample code? If not, I suggest you populate the frame buffer in the sample program with dummy code and run that. This should work, and then you can compare the sample code against yours.

What versions of the client and server are you running?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.