Jump to content

draw video


#BrosS

Recommended Posts

Posted

Hi there,

well there is 

guiCreateStaticImage

and 

dxDrawImage

and there sounds too

well what i want is , is there a client function with a i don't know maybe like dxDrawVideo or GIF

i want to use like in login panel a video on the back ground . i know there is html but i want with sounds 

and thank you

من أراد الفشل عليه بالنجاح

Posted

Using single frames would be very bad in terms of performance. The only performant way is to use CEF.

You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though).

Quote

i know there is html but i want with sounds


What's the problem? Sounds are supported out of the box.
 

  • Like 2
Posted
7 minutes ago, Jusonex said:

Using single frames would be very bad in terms of performance. The only performant way is to use CEF.

You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though).


What's the problem? Sounds are supported out of the box.
 

Ok thanks

من أراد الفشل عليه بالنجاح

Posted
On 10/18/2016 at 4:06 PM, Jusonex said:

Using single frames would be very bad in terms of performance. The only performant way is to use CEF.

You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though).


What's the problem? Sounds are supported out of the box.
 

Has CEF performance been improved any lately? I've been away for a while and only fiddled with the browser a bit shortly after release. As I recall it, trying to watch .gifs was unbearable, it stuttered a lot. I never did try video playback, though.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted
2 minutes ago, Jusonex said:

Yes, performance has been improved significantly in 1.5.3.

See: https://wiki.multitheftauto.com/wiki/Changes_in_1.5.3

Awesome! Will have to check it out later then, great job and thanks for the time and effort implementing this :)

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...