Video Preview in EmulationStation
-
You got it working?!
And the theme didn't break?
The video is showing there where the md_image usually would be?The marquee should be on top of the video bottom-right. Similar to this image here.
-
Awesome! Getting all excited here. Why the hell do I have to be working today?!!
Please upload it to mega or paste the code in pastebin or similar. -
@FlyingTomahawk Yes, it's working, I placed marquees out of screen to let you place it wherever you like. And yes, the video is the same size than md_image, but for my liking I prefer more width and less high.
-
@FlyingTomahawk Ok here is the link: http://www.mediafire.com/file/1m2r65injc2gjmm/es-theme-futura-10px-with_video_support.zip
For every system you need to edit theme.xml and replace:
<view name="system, basic, detailed">
with:
<view name="system, basic, detailed, video">
And also replace in theme.xml:
<view name="detailed">
with:
<view name="detailed, video">
For Futura.xml changes I recommend to you to compare your old file with the new one, just because a lot of changes...
Enjoy.
P.D: I'll stay here a few minutes so you can test and tell my how it works for you.
-
Thank you very much for taking the time to look into this and getting it done. I will adjust the size and position later.
So how does this video stuff work? What would happen if a video would be not available?
-
I am at work, can't test anything right now. But I'll let you know how it goes.
-
@FlyingTomahawk Ok no problem, here it's time to go to bed (1:10 AM), just try it when you can and comment, for me it's working.
Regards.
-
Sounds like @FlyingTomahawk will be getting home from work just as @Nismo is waking up, so it kinda works out anyway :D
-
I had a quick look at your changes and now I see what went wrong on my attempt. I did not add the video view inside the main xml file (futura.xml)
I think I can improve the code a bit more and evtl. update the theme with this new feature.
I am at the vet right now but will test it asap.
Thanks again for the quick help. -
@FlyingTomahawk No problem.
-
Just tested it and it works like a charm! Fantastic work!
Now I have to fine tune it and add a nice marquee over the video (bottom-right). -
@FlyingTomahawk I'm glad to help, maybe you can use the f_basic_10px.png instead of f_detailed_10px.png for detailed and video view and place the marquees on top left, and place the logo on top center... you are the theme developer so you decide, it's just an idea...
-
I am sure it has been answered somewhere already but going through 400+ pages....
Is there a ES version for windows that supports that video stuff so that I'll be able to test it on my PC?
I moved some code pieces yesterday and things started to break and testing on a Pi is a bit of a pain. -
-
Thank you! "thumbup"
-
@FlyingTomahawk Here you have the windows version I use: https://github.com/fieldofcows/EmulationStation/releases/tag/v0.1-beta.7
Ups too late...
-
@FlyingTomahawk said in Video Preview in EmulationStation:
I am sure it has been answered somewhere already but going through 400+ pages....
@herb_fargus offtopic: Might it be an idea to restructure the Ideas and Development Forum a bit? That would make it much easier to find relevant threads for specific topics.
- Ideas / Requests
- Development
- EmulationStation
- Third Party Tools
- Themes
- etc.
-
I was finally able to setup the whole video ES stuff on my Windows PC. Lot more comfortable to work now.
Is there a way to keep the videos original aspect ration?
For example; I have videos of vertical shoot em up games and regular fighting game videos. If I adjust the video code to match the fighting games the vertical shooter videos get stretched.
Is there a way to avoid that? -
@FlyingTomahawk currently there is not. I am working on adding maxSize support to videos and hopefully will be submitting it soon.
-
@FlyingTomahawk Like @jdrassa said, there is no way to keep the AR at this moment.
Once maxSize has been implemented, you will only have to change "size" with "maxSize".
Of course this will not work on the experimental windows version we are using, I hope it's not too difficult to compile a new windows version with all the new commits coming...
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.