Wiretap (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

create a high definition video clip

3 REPLIES 3
Reply
Message 1 of 4
gerrylyan
789 Views, 3 Replies

create a high definition video clip

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?
3 REPLIES 3
Message 2 of 4
Anonymous
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
Message 3 of 4
gerrylyan
in reply to: gerrylyan

I can sucessfully write frame, but can't watch the video on the server end. the frame is black.
Message 4 of 4
Anonymous
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 ... 🙂

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report