Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 26th Jul 2016 08:48
Hi.

My game resolution is (1280 x 800) and I want add a video in it. so what resolution should I use? it should be (1280 x 800) ?
Also I used SetDisplayAspect (-1).

Thanks for Help.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Jul 2016 10:09
Better to use a much smaller video size for storage reasons, and to maintain compatibility with older devices with smaller screens.
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 26th Jul 2016 10:52
Quote: "Better to use a much smaller video size for storage reasons, and to maintain compatibility with older devices with smaller screens."


What is proposed resolution?
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Jul 2016 11:13
Anything you want. I'd probably go with 640x400, or even 320x200. It depends on how good your video compression and final file sizes are.
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 26th Jul 2016 19:35
Quote: "Anything you want. I'd probably go with 640x400, or even 320x200. It depends on how good your video compression and final file sizes are."


Ok, Thanks Mobiius.
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 15th Aug 2016 13:08
I forget ask a question about Video codec. if I want run my video on all devices, video codec what format should it be?

Thanks.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 15th Aug 2016 16:19
H.264 should be good across platforms.
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 16th Aug 2016 04:29
Quote: "H.264 should be good across platforms."


Thanks CJB
Behdadsoft
14
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 20th Aug 2016 18:08 Edited at: 20th Aug 2016 18:41
I used SetDisplayAspect in my game and wrote this code for show my video as full screen. please see it and tell me it's correct or not. I test this code on two phone and one tablem and show video correctly.



also I used 640 x 400 video size and with above code show it full screen. there is no any problem?

or there is better way?

Thanks for help.

Login to post a reply

Server time is: 2024-03-29 12:09:33
Your offset time is: 2024-03-29 12:09:33