Webcam Media Player Format

Im currently displaying a webcam in game and the webcam supports multiple resolution 720p 1080p etc. How do i force it to be 720p60fps? Right now its defaulting to Format 0 and i want format 296.

Set Track Format isnt working as expected.

I was looking for same thing for long time and I figured it out today. Just had to add 0.2 delay before set track. Also can change framerates.

3 Likes

aaaa Thank you! You saved me.
I was converting a video feed from HDMI to USB 3, but the stream seems to don’t have formats. That delay is the solution! Thanks!

HERO!

Thank you so much!

One question, how can i retrieve the contents of the format? Resolution, framerate, etc?

I already have a loop going thru all the track formats, but I can’t find the node to get that info

EDIT: Got it, “Get Video Track Frame Rate”

Hi. I have done what you have suggested. But still the resolution is not changing in runtime or in editor!

But after setting the format when I get the format dimension and print it, it shows the desired value. However the image resolution is not changing.

Any thoughts on this?