Video Preview in EmulationStation
-
segmentation fault, going thru the gamelist, went 1 by one, then was comparing the differences in the play between these 2 and it gave a segmentation fault.
media info: http://pastebin.com/RHjQFC6b and http://pastebin.com/CvFDhLNP
segmentation fault going from image to a videosnap, video info: http://pastebin.com/xfBPbFLz
segmentation fault watching video: http://pastebin.com/J355jj5b
ES crashed (100% cpu usage) after midview this video: http://pastebin.com/Gr4xN8SQ
crashed when changing from one game to another: ES crash log: http://pastebin.com/5KGNJwHm
video1: http://pastebin.com/Tk1JvTiw VIDEO2: http://pastebin.com/hqbfjiwPTried after that to change between the two again, no problems.
segmentation fault going from game to game when i watch a few seconds.
*** stack smashing detected ***: /opt/retropie/supplementary/emulationstation/emulationstation terminated
Abortedthis just happened when going thru gamelist, when changed from games that were in the gamelist.xml and ones that were not.
i'm not finding a pattern, but give me ways to give more info and i will
-
Tried to implement this into my theme (Futura) and every time I add any video code it breaks the theme and it shows the system the way it would when the theme.xml is missing, white background with default layout. The video does show though and play just fine just the theme gets shot.
I have the latest ES on my RPi 3 (v2.1.4RP), video and marquee tags are inside the gamelist files.
Is there anything besides the theme.xml files that I have to amend to make this work? Do I have to add something inside the main xml file (futura.xml)? -
@FlyingTomahawk if you upload your theme to mediafire, mega or something like that, I can download it and take a look at it and fix what's wrong...
-
Thx!
You can find my theme on github.
https://github.com/FlyingTomahawk/es-theme-futura-10px
If that doesn't work for you let me know and I'll upload it to mega. -
@FlyingTomahawk it doesn't look like the video changes are on GitHub.
-
@FlyingTomahawk Video changes aren't implemented on that github fork, but don't worry, I'll do for you. Give me 30 min.
-
Ah I see, you guys wanted my edited theme files? Ha, silly me, sorry about that.
I didn't upload them on github. Github shows only a 100% working theme not experimental stuff.
If nismo doesn't beat me to it I'll upload my modified files to mega after I get back from work. (8:26am here) -
@FlyingTomahawk I got it working right now, the problem is where to place marquees because they are on top of system logo.
-
@FlyingTomahawk Ok it's done, I placed the marquees out of the screen, then you can place it wherever you want.
I'm uploading the new theme and i'll post the changes in a few minutes.
-
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).
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.