Looking for testers for ES Video Preview on Raspberry Pi
-
@pjft 50 minutes and counting on the 19xx video mentioned above (640x480, 59fps). No artifacts currently, but I also stepped away for a bit so haven't been watching every frame. Temps currently in the high 60s (67-69).
@Nismo I'd be happy to test your pack if you can link me to it and provide instructions for how to get it installed.
-
@MWGemini thanks. I believe there's no point in keeping them running for longer, though. The temperature send to have plateaued, and they're at decent enough ranges that I would not worry about overheating. Well done.
As for the pack, just download it, choose a video and then you can replace (rename) to one of the videos you're currently already using. Make a backup copy of the original though. It's probably easier than setting up the full video library.
-
@MWGemini I uploaded a megadrive-genesis pack of videos for testing a few posts ago... here is the link:
https://mega.nz/#!h9lEERaY!Kk6AdgQXSp2FKXJDBbujHGPFNRPtYnaZuir8HznWCrw
-
@pjft @fieldofcows I've let it go another 30 minutes with the screensaver active but the video still playing (so ~60 minutes with the screensaver off, and another 30 with the screensaver on). Temps are now hovering just around 60°C with fan off and case closed. No graphical glitches to report, other than the font issues I saw earlier.
@Nismo my apologies. Lots of text in this thread, and lots of active threads. It's getting harder for me to remember everything being said. I'm pulling down your pack now and will try to get it running and tested sometime in the next few hours.
-
@fieldofcows I've also noticed that when quitting EmulationStation now, text typed in the terminal does not show up, but commands are still executed. I did a little searching and found that executing the "reset" command fixes this. I'm guessing that omxplayer isn't releasing something that the terminal needs for text display.
@Nismo I downloaded your pack, but I'm still having trouble getting videos to play consistently. I did have a thought, though. All of my ROMs are grouped in folders by the game name. Perhaps that's causing problems? Here's a snip from my gamelist:
<game id="3371" source="theGamesDB.net"> <path>./3 Ninjas Kick Back/3 Ninjas Kick Back (U) [!].gen</path> <name>3 Ninjas Kick Back (U) [!]</name> <desc>3 Ninjas Kick Back follows 3 young ninja brothers.</desc> <video>/opt/retropie/configs/all/emulationstation/downloaded_images/megadrive/3 Ninjas Kick Back (USA).mp4</video> <image>~/.emulationstation/downloaded_images/megadrive/3 Ninjas Kick Back (U) [!]-image.jpg</image> <rating>0.4</rating> <releasedate>19940601T000000</releasedate> <developer>Malibu Interactive</developer> <publisher>Sony Imagesoft</publisher> <genre>Action</genre> <players>2</players> </game>
Also, strangely (still trying to figure out a pattern here), some of my Arcade games (the only system not grouped by folder, and where I was previously testing my videos) no longer play after moving the OldRoom's MAME theme into my Arcade theme. BUT, some videos that didn't play before now do. I've verified that all videos are still on the drive and are not corrupted, but I have no clue what's causing this strange behavior.
-
Do you really have your video in
/opt/retropie/configs/all/emulationstation/downloaded_images/megadrive/3 Ninjas Kick Back (USA).mp4
?
Why do you have it there, if you don't mind me asking? Deliberate?
That looks like a configuration template folder.
-
Thanks @MWGemini for all this testing your doing.
Just to be on the safe side, I'll reiterate that the build I have provided is just a proof of concept at the moment. Basically, I got the code to a state where I could prove that it would play videos in place of the current view and then built it for people to try. There are going to be bugs.
The ones I know about from my testing and now your results:
- The video is always on top. Nothing at present can be rendered over the video. This includes marquees in pixel video theme and the scanlines in oldroom
- The video is rendered on top of GUI menus
- Video continues to play when screensaver cuts in
- Terminal stops echoing output when ES is exited after playing a video (I get this too)
Work that I know needs to be done if we agree this is the way forward:
- Fix the issues above :)
- Add an option in es_settings.cfg to configure the player and arguments (this will allow tweaking of options without recompiling and also allow, for example, mplayer on linux)
- Add an option, maybe via the GUI to select software vs overlay rendering. The software rendering allows overlays on top of the video and fading in and out so gives a better visual performance. It also works on platforms other than the RPi
-
@MWGemini said in Looking for testers for ES Video Preview on Raspberry Pi:
<game id="3371" source="theGamesDB.net"> <path>./3 Ninjas Kick Back/3 Ninjas Kick Back (U) [!].gen</path> <name>3 Ninjas Kick Back (U) [!]</name> <desc>3 Ninjas Kick Back follows 3 young ninja brothers.</desc> <video>/opt/retropie/configs/all/emulationstation/downloaded_images/megadrive/3 Ninjas Kick Back (USA).mp4</video> <image>~/.emulationstation/downloaded_images/megadrive/3 Ninjas Kick Back (U) [!]-image.jpg</image> <rating>0.4</rating> <releasedate>19940601T000000</releasedate> <developer>Malibu Interactive</developer> <publisher>Sony Imagesoft</publisher> <genre>Action</genre> <players>2</players> </game>
Why do you have your videos in that folder?
no longer play after moving the OldRoom's MAME theme into my Arcade theme.
What?, explain this to me please, you moved a folder from one theme to another?
-
@fieldofcows Oups i don't see this thread before :p
i have made two test this evening :const char* args[] = { "--vout=omxil_vout", "--quiet"}; mVLC = libvlc_new(sizeof(args) / sizeof(args[0]), args); and with "--vout=xcb_x11"
But it don't works fine :p
My Raspberry Pi was always at 70° ... and i always have the green glitch :(I also try your new beta release :
https://github.com/fieldofcows/EmulationStation/releasesAnd it works like a dream :)
My proc was at 53°
And the green glitch have disappear :)
Yes the video is rendered on top of GUI menus ... but you will fix it later ;)Thanks a lot :)
-
For Raspberry Pi 3, if you want to see your proc temperature and trying ES :
SSH to "/usr/sbin/"
Make a file "tempcpu"#!/bin/bash # Script: tempcpu.sh # Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3 # ------------------------------------------------------- while true do tput reset cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$(date) @ $(hostname)" echo "-------------------------------------------" echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)" echo "CPU => $((cpu/1000))'C" sleep 2 done
SAVE
Launch it on your PC with SSH and use ES ;)
-
Why do you have your videos in that folder?
@Nismo Do you recommend placing them somewhere else? If so, where? That's the default location for @sselph 's scraper I believe, and the UXS scraper from @screech as well. I certainly don't mind moving them (and at some point will probably move them to the ROM folders so I can keep the operating system separate from the ROMs).
What?, explain this to me please, you moved a folder from one theme to another?
Yes. I am using a modified version of the tronkyfran theme. I've changed some of the background images, and yesterday I put the files from your MAME folder into my theme's Arcade folder. Basically I replaced the tronkyfran Arcade theme with your MAME theme. It displays fine (and looks great!), but some videos don't play (but some do, so I'm not sure what's causing it). I will spend more time investigating it tomorrow.
-
@MWGemini You can't do that, all the themes requires a main.xml file, and i'm sure tronkyfran theme main.xml it's not the same than mine, so the theme would not work at 100% because the lack of lot of data, or not the same positions for gamelist, textsize, etc. Also some values for videos are there. You break all the theme. And my theme use a folder named art that i'm realizing you didn't copy inside the tronkyfran's theme folder...
Anyway, there is no reason for some videos to play and others doesn't.
I don't recommend to use downloaed_images folder for videos. I use folders inside my rom folders, for example:
/roms/megadrive/videos/sonic.mp4
Then in your gamelist.xml only need this:
<video>./videos/sonic.mp4</video>
The same for marquees.
Also I don't understand why you have a subfolder for each game...
Regards.
-
@darknior said in Looking for testers for ES Video Preview on Raspberry Pi:
I'm glad the omxplayer PoC build works for you - it means we're on the right track@fieldofcows Oups i don't see this thread before :p
i have made two test this evening :
...
But it don't works fine :pIn order for VLC to use acceleration the VLC library needs to be rebuilt rather than installing it from the repository. That would be difficult to do as part of the ES build. I may look into this at some point but using omxplayer seems like a perfect workaround as long as the issues can be sorted. Ultimately the user will be able to choose through configuration which video player to use.
-
@fieldofcows hi! I'm back and I've just tried it out. It plateaued at 65 for me, playing the 640x480@60fps vídeo, and fixed any artifacts. Well done! @Nismo tried your videos and it was the same, so if this ends up moving to the main branch, your videos are good in the current format.
A question, if I may: the screen saver did not play a random video, do I need to do something for that to happen, or is it in a different branch?
Cheers!
-
@Nismo I did put in the other relevant files. I can send you my custom theme if you want to check and see if I missed something.
I'll also work on moving my images and videos, but for the moment, it's working.
@fieldofcows I did just discover that while re-testing your WSOD fix (v4), the videos that weren't playing with Nismo's theme and your latest omxplayer fix (v5), they play with v4 (the WSOD fix). Still seeing the temp and video glitch issues that were in that older version. I'm going to try to switch back to v5 and see what I can find out.
-
@MWGemini I'm curious how rpi can handle h265 videos, i'll upload some of them tomorrow for your testing.
-
Hi all, new here, just set this up tonight and I'm having a couple issues that I haven't seen anyone mention.. not sure if they're bugs or something wrong with my setup.
I installed the latest version of ES with video support - the one with the video that goes over top of the UI. On initial boot, it works as expected(except for the second bug below, but that's very minor), but after I launch a game and then return to ES, videos mostly stop working. As I navigate the game list, videos play infrequently and randomly. If I restart ES, it's back to normal. It's not a case of some specific videos working and some not - for example if i select and deselect a game over and over, the video will EVENTUALLY load, and then as soon as i move off and come back it's back to not loading.
Also, a lesser bug I'm experiencing is that if I hold my joystick down to roll over a bunch of games at once, the video for the game I stop on won't load until I move off of the game and come back back to it.
I'm using the oldroom theme, just modified it a little to fit my cabinet (biggest change I made was cropping the background image to better fit my vertical monitor..other than that just a few moved images and a few elements moved or removed). And I only have 2 systems enabled..
Anyone else experiencing this? Anything I can troubleshoot? Thanks!
edit: just noticed that if i quit ES, SSH into the machine and launch it that way, then it works as expected - I can launch games, come back, and all videos still play. any ideas what the functional difference is between launching it via ssh and the machine's startup script? on the surface the only difference that i see is that when i'm launched from ssh, instead of the game art splash as the game is loading, i just see whatever terminal output is behind ES for a moment, blown up into the space that the game art would usually take.
-
@esmoger I didn't see anybody in this forum with that problem.
@MWGemini Here you have a little pack of 3 videos encoded with h265 at 480p and the same videos at 360p for testing. The download is only 5mb.
http://www.mediafire.com/file/rf61nlgtdhq3blr/Video_snaps_for_testing.zip
Please try to test with and without hardware acceleration if it's possible.
Anyway i'm thinking in re-encode all the 480p videos again and downscale to 360p for better filesize, but it means that I need to loose all my re-enconding work and start from scratch. But the quality it's almost the same and filesize it's better, with the advantage of better performance on rpi.
Thanks in advance.
-
-
Following up on the bug I posted about last night, I just confirmed that it's not related to the theme - tried another one and didn't modify it at all, but had the same issues.
About to try out the previous version of ES that people were having temperature issues with.
EDIT: Installed the -4 version from before omxplayer support was added, and now ES behaves as expected .. watching now to see if i have the overheating issues that others had.. my pi is not in a case(it's mounted bare inside a bartop arcade cabinet) and has a heatsink, so fingers crossed that i won't have an issue
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.